enum | register_offsets {
PCIDeviceConfig =0x50040,
GenCtrl =0x50070,
IntrTimerCtrl =0x50074,
IntrClear =0x50080,
IntrStatus =0x50084,
IntrEnable =0x50088,
MIICtrl =0x52000,
TxStationAddr =0x50120,
EEPROMCtrl =0x51000,
GPIOCtrl =0x5008C,
TxDescCtrl =0x50090,
TxRingPtr =0x50098,
HiPriTxRingPtr =0x50094,
TxRingHiAddr =0x5009C,
TxProducerIdx =0x500A0,
TxConsumerIdx =0x500A4,
TxThreshold =0x500B0,
CompletionHiAddr =0x500B4,
TxCompletionAddr =0x500B8,
RxCompletionAddr =0x500BC,
RxCompletionQ2Addr =0x500C0,
CompletionQConsumerIdx =0x500C4,
RxDMACtrl =0x500D0,
RxDescQCtrl =0x500D4,
RxDescQHiAddr =0x500DC,
RxDescQAddr =0x500E0,
RxDescQIdx =0x500E8,
RxDMAStatus =0x500F0,
RxFilterMode =0x500F4,
TxMode =0x55000,
VlanType =0x55064,
PerfFilterTable =0x56000,
HashTable =0x56100,
TxGfpMem =0x58000,
RxGfpMem =0x5a000,
ChipCmd = 0x00,
ChipConfig = 0x04,
EECtrl = 0x08,
PCIBusCfg = 0x0C,
IntrStatus = 0x10,
IntrMask = 0x14,
IntrEnable = 0x18,
IntrHoldoff = 0x1C,
TxRingPtr = 0x20,
TxConfig = 0x24,
RxRingPtr = 0x30,
RxConfig = 0x34,
ClkRun = 0x3C,
WOLCmd = 0x40,
PauseCmd = 0x44,
RxFilterAddr = 0x48,
RxFilterData = 0x4C,
BootRomAddr = 0x50,
BootRomData = 0x54,
SiliconRev = 0x58,
StatsCtrl = 0x5C,
StatsData = 0x60,
RxPktErrs = 0x60,
RxMissed = 0x68,
RxCRCErrs = 0x64,
BasicControl = 0x80,
BasicStatus = 0x84,
AnegAdv = 0x90,
AnegPeer = 0x94,
PhyStatus = 0xC0,
MIntrCtrl = 0xC4,
MIntrStatus = 0xC8,
PhyCtrl = 0xE4,
PGSEL = 0xCC,
PMDCSR = 0xE4,
TSTDAT = 0xFC,
DSPCFG = 0xF4,
SDCFG = 0xF8,
StationAddr =0x00,
RxConfig =0x06,
TxConfig =0x07,
ChipCmd =0x08,
ChipCmd1 =0x09,
TQWake =0x0A,
IntrStatus =0x0C,
IntrEnable =0x0E,
MulticastFilter0 =0x10,
MulticastFilter1 =0x14,
RxRingPtr =0x18,
TxRingPtr =0x1C,
GFIFOTest =0x54,
MIIPhyAddr =0x6C,
MIIStatus =0x6D,
PCIBusConfig =0x6E,
PCIBusConfig1 =0x6F,
MIICmd =0x70,
MIIRegAddr =0x71,
MIIData =0x72,
MACRegEEcsr =0x74,
ConfigA =0x78,
ConfigB =0x79,
ConfigC =0x7A,
ConfigD =0x7B,
RxMissed =0x7C,
RxCRCErrs =0x7E,
MiscCmd =0x81,
StickyHW =0x83,
IntrStatus2 =0x84,
CamMask =0x88,
CamCon =0x92,
CamAddr =0x93,
WOLcrSet =0xA0,
PwcfgSet =0xA1,
WOLcgSet =0xA3,
WOLcrClr =0xA4,
WOLcrClr1 =0xA6,
WOLcgClr =0xA7,
PwrcsrSet =0xA8,
PwrcsrSet1 =0xA9,
PwrcsrClr =0xAC,
PwrcsrClr1 =0xAD,
TxBufCount = 0x20,
RxBufCount = 0x21,
OpModes = 0x22,
TxQed = 0x23,
RxQed = 0x24,
MaxBurst = 0x25,
RxUnit = 0x60,
EthStatus = 0x61,
StationAddr0 = 0x67,
EthStats = 0x69,
LEDCtrl = 0x81
} |