|
enum | corkscrew_cmd {
TotalReset = 0 << 11,
SelectWindow = 1 << 11,
StartCoax = 2 << 11,
RxDisable = 3 << 11,
RxEnable = 4 << 11,
RxReset = 5 << 11,
UpStall = 6 << 11,
UpUnstall = (6 << 11) + 1,
DownStall = (6 << 11) + 2,
DownUnstall = (6 << 11) + 3,
RxDiscard = 8 << 11,
TxEnable = 9 << 11,
TxDisable = 10 << 11,
TxReset = 11 << 11,
FakeIntr = 12 << 11,
AckIntr = 13 << 11,
SetIntrEnb = 14 << 11,
SetStatusEnb = 15 << 11,
SetRxFilter = 16 << 11,
SetRxThreshold = 17 << 11,
SetTxThreshold = 18 << 11,
SetTxStart = 19 << 11,
StartDMAUp = 20 << 11,
StartDMADown = (20 << 11) + 1,
StatsEnable = 21 << 11,
StatsDisable = 22 << 11,
StopCoax = 23 << 11
} |
|
enum | RxFilter {
RxStation = 1,
RxMulticast = 2,
RxBroadcast = 4,
RxProm = 8,
RxStation = 1,
RxMulticast = 2,
RxBroadcast = 4,
RxProm = 8,
RxStation = 1,
RxMulticast = 2,
RxBroadcast = 4,
RxProm = 8,
RxStation = 1,
RxMulticast = 2,
RxBroadcast = 4,
RxProm = 8,
RxStation = 1,
RxMulticast = 2,
RxBroadcast = 4,
RxProm = 8
} |
|
enum | corkscrew_status {
IntLatch = 0x0001,
AdapterFailure = 0x0002,
TxComplete = 0x0004,
TxAvailable = 0x0008,
RxComplete = 0x0010,
RxEarly = 0x0020,
IntReq = 0x0040,
StatsFull = 0x0080,
DMADone = 1 << 8,
DownComplete = 1 << 9,
UpComplete = 1 << 10,
DMAInProgress = 1 << 11,
CmdInProgress = 1 << 12
} |
|
enum | Window1 {
TX_FIFO = 0x10,
RX_FIFO = 0x10,
RxErrors = 0x14,
RxStatus = 0x18,
Timer = 0x1A,
TxStatus = 0x1B,
TxFree = 0x1C,
TX_FIFO = 0x10,
RX_FIFO = 0x10,
RxErrors = 0x14,
RxStatus = 0x18,
Timer =0x1A,
TxStatus = 0x1B,
TxFree = 0x0C,
RunnerRdCtrl = 0x16,
RunnerWrCtrl = 0x1c,
TX_FIFO = 0x10,
RX_FIFO = 0x10,
RxErrors = 0x14,
RxStatus = 0x18,
Timer =0x1A,
TxStatus = 0x1B,
TxFree = 0x1C
} |
|
enum | Window0 {
Wn0IRQ = 0x08,
Wn0EepromCmd = 0x200A,
Wn0EepromData = 0x200C,
Wn0EepromCmd = 10,
Wn0EepromData = 12,
IntrStatus =0x0E,
Wn0EepromCmd = 10,
Wn0EepromData = 12,
IntrStatus =0x0E
} |
|
enum | Win0_EEPROM_bits {
EEPROM_Read = 0x80,
EEPROM_WRITE = 0x40,
EEPROM_ERASE = 0xC0,
EEPROM_EWENB = 0x30,
EEPROM_EWDIS = 0x00,
EEPROM_Read = 0x80,
EEPROM_WRITE = 0x40,
EEPROM_ERASE = 0xC0,
EEPROM_EWENB = 0x30,
EEPROM_EWDIS = 0x00
} |
|
enum | eeprom_offset {
PhysAddr01 = 0,
PhysAddr23 = 1,
PhysAddr45 = 2,
ModelID = 3,
EtherLink3ID = 7,
PhysAddr01 =0,
PhysAddr23 =1,
PhysAddr45 =2,
ModelID =3,
EtherLink3ID =7,
IFXcvrIO =8,
IRQLine =9,
NodeAddr01 =10,
NodeAddr23 =11,
NodeAddr45 =12,
DriverTune =13,
Checksum =15
} |
|
enum | Window3 {
Wn3_Config = 0,
Wn3_MAC_Ctrl = 6,
Wn3_Options = 8,
Wn3_Config =0,
Wn3_MAC_Ctrl =6,
Wn3_Options =8,
Wn3_Config =0,
Wn3_MaxPktSize =4,
Wn3_MAC_Ctrl =6,
Wn3_Options =8
} |
|
enum | wn3_config {
Ram_size = 7,
Ram_width = 8,
Ram_speed = 0x30,
Rom_size = 0xc0,
Ram_split_shift = 16,
Ram_split = 3 << Ram_split_shift,
Xcvr_shift = 20,
Xcvr = 7 << Xcvr_shift,
Autoselect = 0x1000000,
Ram_size = 7,
Ram_width = 8,
Ram_speed = 0x30,
Rom_size = 0xc0,
Ram_split_shift = 16,
Ram_split = 3 << Ram_split_shift,
Xcvr_shift = 20,
Xcvr = 7 << Xcvr_shift,
Autoselect = 0x1000000
} |
|
enum | Window4 {
Wn4_NetDiag = 6,
Wn4_Media = 10,
Wn4_FIFODiag = 4,
Wn4_NetDiag = 6,
Wn4_PhysicalMgmt =8,
Wn4_Media = 10,
Wn4_FIFODiag = 4,
Wn4_NetDiag = 6,
Wn4_PhysicalMgmt =8,
Wn4_Media = 10
} |
|
enum | Win4_Media_bits {
Media_SQE = 0x0008,
Media_10TP = 0x00C0,
Media_Lnk = 0x0080,
Media_LnkBeat = 0x0800,
Media_SQE = 0x0008,
Media_10TP = 0x00C0,
Media_Lnk = 0x0080,
Media_LnkBeat = 0x0800
} |
|
enum | Window7 {
Wn7_MasterAddr = 0,
Wn7_MasterLen = 6,
Wn7_MasterStatus = 12,
Wn7_MasterAddr = 0,
Wn7_VlanEtherType =4,
Wn7_MasterLen = 6,
Wn7_MasterStatus = 12
} |
|
enum | MasterCtrl {
PktStatus = 0x400,
DownListPtr = 0x404,
FragAddr = 0x408,
FragLen,
TxFreeThreshold = 0x40f,
UpPktStatus = 0x410,
UpListPtr = 0x418,
PktStatus = 0x20,
DownListPtr = 0x24,
FragAddr = 0x28,
FragLen = 0x2c,
TxFreeThreshold = 0x2f,
UpPktStatus = 0x30,
UpListPtr = 0x38
} |
|
enum | rx_desc_status {
RxDComplete = 0x00008000,
RxDError = 0x4000,
RxDComplete =0x00008000,
RxDError =0x4000,
IPChksumErr =1<<25,
TCPChksumErr =1<<26,
UDPChksumErr =1<<27,
IPChksumValid =1<<29,
TCPChksumValid =1<<30,
UDPChksumValid =1<<31
} |
|
enum | xcvr_types {
XCVR_10baseT = 0,
XCVR_AUI,
XCVR_10baseTOnly,
XCVR_10base2,
XCVR_100baseTx,
XCVR_100baseFx,
XCVR_MII = 6,
XCVR_Default = 8,
XCVR_10baseT =0,
XCVR_AUI,
XCVR_10baseTOnly,
XCVR_10base2,
XCVR_100baseTx,
XCVR_100baseFx,
XCVR_MII =6,
XCVR_NWAY =8,
XCVR_ExtMII =9,
XCVR_Default =10
} |
|