|
enum | tbl_flag {
HAS_MII = 0x00001,
HAS_MEDIA_TABLE = 0x00002,
CSR12_IN_SROM = 0x00004,
ALWAYS_CHECK_MII = 0x00008,
HAS_ACPI = 0x00010,
MC_HASH_ONLY = 0x00020,
HAS_PNICNWAY = 0x00080,
HAS_NWAY = 0x00040,
HAS_INTR_MITIGATION = 0x00100,
IS_ASIX = 0x00200,
HAS_8023X = 0x00400,
COMET_MAC_ADDR = 0x00800,
HAS_PCI_MWI = 0x01000,
HAS_PHY_IRQ = 0x02000,
HAS_SWAPPED_SEEPROM = 0x04000,
NEEDS_FAKE_MEDIA_TABLE = 0x08000,
COMET_PM = 0x10000
} |
|
enum | chips {
ad7416,
ad7417,
ad7418,
adm1021,
adm1023,
max1617,
max1617a,
thmc10,
lm84,
gl523sm,
mc1066,
adm1025,
ne1619,
adm1030,
adm1031,
adm9240,
ds1780,
lm81,
adt7473,
adt7475,
adt7476,
adt7490,
amc6821,
dme1737,
sch5027,
sch311x,
sch5127,
f71808e,
f71808a,
f71858fg,
f71862fg,
f71869,
f71869a,
f71882fg,
f71889fg,
f71889ed,
f71889a,
f8000,
f81865f,
f75373,
f75375,
f75387,
fscpos,
fscher,
fscscy,
fschrc,
fschmd,
fschds,
fscsyl,
gl518sm_r00,
gl518sm_r80,
it87,
it8712,
it8716,
it8718,
it8720,
it8721,
it8728,
it8782,
it8783,
lm63,
lm64,
lm96163,
lm78,
lm79,
lm83,
lm82,
any_chip,
lm85b,
lm85c,
adm1027,
adt7463,
adt7468,
emc6d100,
emc6d102,
emc6d103,
emc6d103s,
lm87,
adm1024,
lm90,
adm1032,
lm99,
lm86,
max6657,
max6659,
adt7461,
max6680,
max6646,
w83l771,
max6696,
sa56004,
g781,
max1110,
max1111,
max1112,
max1113,
max16065,
max16066,
max16067,
max16068,
max16070,
max16071,
max1668,
max1805,
max1989,
mcp3021,
mcp3221,
adm1075,
adm1275,
adm1276,
lm25066,
lm5064,
lm5066,
ltc2978,
ltc3880,
max34440,
max34441,
max34446,
ucd9000,
ucd90120,
ucd90124,
ucd9090,
ucd90910,
ucd9200,
ucd9220,
ucd9222,
ucd9224,
ucd9240,
ucd9244,
ucd9246,
ucd9248,
zl2004,
zl2005,
zl2006,
zl2008,
zl2105,
zl2106,
zl6100,
zl6105,
zl9101,
zl9117,
smm465,
smm665,
smm665c,
smm764,
smm766,
smsc47m1,
smsc47m2,
thmc50,
adm1022,
tmp401,
tmp411,
tmp421,
tmp422,
tmp423,
w83627hf,
w83627thf,
w83697hf,
w83637hf,
w83687thf,
w83781d,
w83782d,
w83783s,
as99127f,
DC21040 = 0,
DC21041 = 1,
DC21140 = 2,
DC21142 = 3,
DC21143 = 3,
LC82C168,
MX98713,
MX98715,
MX98725,
AX88140,
PNIC2,
COMET,
COMPEX9881,
I21145,
DM910X,
CONEXANT,
TPS62360,
TPS62361,
TPS62362,
TPS62363,
sc18is602,
sc18is602b,
sc18is603,
f71808fg,
f71858fg,
f71862fg,
f71869,
f71882fg,
f71889fg
} |
|
enum | MediaIs {
MediaIsFD = 1,
MediaAlwaysFD = 2,
MediaIsMII = 4,
MediaIsFx = 8,
MediaIs100 = 16
} |
|
enum | tulip_offsets {
CSR0 = 0,
CSR1 = 0x08,
CSR2 = 0x10,
CSR3 = 0x18,
CSR4 = 0x20,
CSR5 = 0x28,
CSR6 = 0x30,
CSR7 = 0x38,
CSR8 = 0x40,
CSR9 = 0x48,
CSR10 = 0x50,
CSR11 = 0x58,
CSR12 = 0x60,
CSR13 = 0x68,
CSR14 = 0x70,
CSR15 = 0x78,
CSR18 = 0x88,
CSR19 = 0x8c,
CSR20 = 0x90,
CSR27 = 0xAC,
CSR28 = 0xB0
} |
|
enum | pci_cfg_driver_reg { CFDD = 0x40,
CFDD_Sleep = (1 << 31),
CFDD_Snooze = (1 << 30)
} |
|
enum | status_bits {
TimerInt = 0x800,
SystemError = 0x2000,
TPLnkFail = 0x1000,
TPLnkPass = 0x10,
NormalIntr = 0x10000,
AbnormalIntr = 0x8000,
RxJabber = 0x200,
RxDied = 0x100,
RxNoBuf = 0x80,
RxIntr = 0x40,
TxFIFOUnderflow = 0x20,
RxErrIntr = 0x10,
TxJabber = 0x08,
TxNoBuf = 0x04,
TxDied = 0x02,
TxIntr = 0x01
} |
|
enum | tulip_mode_bits {
TxThreshold = (1 << 22),
FullDuplex = (1 << 9),
TxOn = 0x2000,
AcceptBroadcast = 0x0100,
AcceptAllMulticast = 0x0080,
AcceptAllPhys = 0x0040,
AcceptRunt = 0x0008,
RxOn = 0x0002,
RxTx = (TxOn | RxOn)
} |
|
enum | tulip_busconfig_bits {
MWI = (1 << 24),
MRL = (1 << 23),
MRM = (1 << 21),
CALShift = 14,
BurstLenShift = 8
} |
|
enum | desc_status_bits {
DescOwned = 0x80000000,
DescWholePkt = 0x60000000,
DescEndPkt = 0x40000000,
DescStartPkt = 0x20000000,
DescEndRing = 0x02000000,
DescUseLink = 0x01000000,
RxDescErrorSummary = 0x8000,
RxDescCRCError = 0x0002,
RxDescCollisionSeen = 0x0040,
RxDescFrameTooLong = 0x0080,
RxDescRunt = 0x0800,
RxDescDescErr = 0x4000,
RxWholePkt = 0x00000300,
RxLengthOver2047 = 0x38000010,
DescOwn =0x8000,
DescEndPacket =0x4000,
DescEndRing =0x2000,
LastFrag =0x80000000,
DescIntrOnTx =0x8000,
DescIntrOnDMADone =0x80000000,
DisableAlign = 0x00000001,
DescOwn =0x80000000,
DescMore =0x40000000,
DescIntr =0x20000000,
DescNoCRC =0x10000000,
DescPktOK =0x08000000,
DescSizeMask =0xfff,
DescTxAbort =0x04000000,
DescTxFIFO =0x02000000,
DescTxCarrier =0x01000000,
DescTxDefer =0x00800000,
DescTxExcDefer =0x00400000,
DescTxOOWCol =0x00200000,
DescTxExcColl =0x00100000,
DescTxCollCount =0x000f0000,
DescRxAbort =0x04000000,
DescRxOver =0x02000000,
DescRxDest =0x01800000,
DescRxLong =0x00400000,
DescRxRunt =0x00200000,
DescRxInvalid =0x00100000,
DescRxCRC =0x00080000,
DescRxAlign =0x00040000,
DescRxLoop =0x00020000,
DesRxColl =0x00010000,
DescOwn =0x80000000,
DescEndPacket =0x40000000,
DescEndRing =0x20000000,
DescIntr =0x10000000,
RX_EOP =0x0040,
DescOwn =0x8000,
DescOwn =0x80000000
} |
|
enum | t21143_csr6_bits {
csr6_sc = (1<<31),
csr6_ra = (1<<30),
csr6_ign_dest_msb = (1<<26),
csr6_mbo = (1<<25),
csr6_scr = (1<<24),
csr6_pcs = (1<<23),
csr6_ttm = (1<<22),
csr6_sf = (1<<21),
csr6_hbd = (1<<19),
csr6_ps = (1<<18),
csr6_ca = (1<<17),
csr6_trh = (1<<15),
csr6_trl = (1<<14),
csr6_fc = (1<<12),
csr6_om_int_loop = (1<<10),
csr6_om_ext_loop = (1<<11),
csr6_fd = (1<<9),
csr6_pm = (1<<7),
csr6_pr = (1<<6),
csr6_sb = (1<<5),
csr6_if = (1<<4),
csr6_pb = (1<<3),
csr6_ho = (1<<2),
csr6_hp = (1<<0),
csr6_mask_capture = (csr6_sc | csr6_ca),
csr6_mask_defstate = (csr6_mask_capture | csr6_mbo),
csr6_mask_hdcap = (csr6_mask_defstate | csr6_hbd | csr6_ps),
csr6_mask_hdcaptt = (csr6_mask_hdcap | csr6_trh | csr6_trl),
csr6_mask_fullcap = (csr6_mask_hdcaptt | csr6_fd),
csr6_mask_fullpromisc = (csr6_pr | csr6_pm),
csr6_mask_filters = (csr6_hp | csr6_ho | csr6_if),
csr6_mask_100bt = (csr6_scr | csr6_pcs | csr6_hbd)
} |
|
enum | tulip_comet_csr13_bits {
comet_csr13_linkoffe = (1 << 17),
comet_csr13_linkone = (1 << 16),
comet_csr13_wfre = (1 << 10),
comet_csr13_mpre = (1 << 9),
comet_csr13_lsce = (1 << 8),
comet_csr13_wfr = (1 << 2),
comet_csr13_mpr = (1 << 1),
comet_csr13_lsc = (1 << 0)
} |
|
enum | tulip_comet_csr18_bits { comet_csr18_pmes_sticky = (1 << 24),
comet_csr18_pm_mode = (1 << 19),
comet_csr18_apm_mode = (1 << 18),
comet_csr18_d3a = (1 << 7)
} |
|
enum | tulip_comet_csr20_bits { comet_csr20_pmes = (1 << 15)
} |
|