You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Massive net driver const-ification.
This commit is contained in:
committed by
Jeff Garzik
parent
c499ec24c3
commit
f71e130966
@@ -89,21 +89,21 @@ static const u_short my_sagp = 0xffff ; /* short group address (n.u.) */
|
||||
/*
|
||||
* useful interrupt bits
|
||||
*/
|
||||
static int mac_imsk1u = FM_STXABRS | FM_STXABRA0 | FM_SXMTABT ;
|
||||
static int mac_imsk1l = FM_SQLCKS | FM_SQLCKA0 | FM_SPCEPDS | FM_SPCEPDA0|
|
||||
static const int mac_imsk1u = FM_STXABRS | FM_STXABRA0 | FM_SXMTABT ;
|
||||
static const int mac_imsk1l = FM_SQLCKS | FM_SQLCKA0 | FM_SPCEPDS | FM_SPCEPDA0|
|
||||
FM_STBURS | FM_STBURA0 ;
|
||||
|
||||
/* delete FM_SRBFL after tests */
|
||||
static int mac_imsk2u = FM_SERRSF | FM_SNFSLD | FM_SRCVOVR | FM_SRBFL |
|
||||
static const int mac_imsk2u = FM_SERRSF | FM_SNFSLD | FM_SRCVOVR | FM_SRBFL |
|
||||
FM_SMYCLM ;
|
||||
static int mac_imsk2l = FM_STRTEXR | FM_SDUPCLM | FM_SFRMCTR |
|
||||
static const int mac_imsk2l = FM_STRTEXR | FM_SDUPCLM | FM_SFRMCTR |
|
||||
FM_SERRCTR | FM_SLSTCTR |
|
||||
FM_STRTEXP | FM_SMULTDA | FM_SRNGOP ;
|
||||
|
||||
static int mac_imsk3u = FM_SRCVOVR2 | FM_SRBFL2 ;
|
||||
static int mac_imsk3l = FM_SRPERRQ2 | FM_SRPERRQ1 ;
|
||||
static const int mac_imsk3u = FM_SRCVOVR2 | FM_SRBFL2 ;
|
||||
static const int mac_imsk3l = FM_SRPERRQ2 | FM_SRPERRQ1 ;
|
||||
|
||||
static int mac_beacon_imsk2u = FM_SOTRBEC | FM_SMYBEC | FM_SBEC |
|
||||
static const int mac_beacon_imsk2u = FM_SOTRBEC | FM_SMYBEC | FM_SBEC |
|
||||
FM_SLOCLM | FM_SHICLM | FM_SMYCLM | FM_SCLM ;
|
||||
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ static const struct plt {
|
||||
* Do we need the EBUF error during signaling, too, to detect SUPERNET_3
|
||||
* PLL bug?
|
||||
*/
|
||||
static int plc_imsk_na = PL_PCM_CODE | PL_TRACE_PROP | PL_PCM_BREAK |
|
||||
static const int plc_imsk_na = PL_PCM_CODE | PL_TRACE_PROP | PL_PCM_BREAK |
|
||||
PL_PCM_ENABLED | PL_SELF_TEST | PL_EBUF_ERR;
|
||||
#else /* SUPERNET_3 */
|
||||
/*
|
||||
@@ -195,7 +195,7 @@ static int plc_imsk_na = PL_PCM_CODE | PL_TRACE_PROP | PL_PCM_BREAK |
|
||||
static int plc_imsk_na = PL_PCM_CODE | PL_TRACE_PROP | PL_PCM_BREAK |
|
||||
PL_PCM_ENABLED | PL_SELF_TEST ;
|
||||
#endif /* SUPERNET_3 */
|
||||
static int plc_imsk_act = PL_PCM_CODE | PL_TRACE_PROP | PL_PCM_BREAK |
|
||||
static const int plc_imsk_act = PL_PCM_CODE | PL_TRACE_PROP | PL_PCM_BREAK |
|
||||
PL_PCM_ENABLED | PL_SELF_TEST | PL_EBUF_ERR;
|
||||
|
||||
/* external functions */
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
/* each new release!!! */
|
||||
#define VERSION "2.07"
|
||||
|
||||
static const char *boot_msg =
|
||||
static const char * const boot_msg =
|
||||
"SysKonnect FDDI PCI Adapter driver v" VERSION " for\n"
|
||||
" SK-55xx/SK-58xx adapters (SK-NET FDDI-FP/UP/LP)";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user