Intel PCI-X Switch User Manual


 
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
DSS NETWORKS, INC. Version: 2.6 Page: 38
10.3.3 MAC REGISTERS SHOW FUNCTION
vxWorks usage:
inShowMacRegs(unit) # unit = device index starting from 0
Linux usage:
./dmUtil –m eth1 # eth1, eth2, etc.
Command output:
in: unit: 0, ioAddr: 40020000, mac regs:
CTRL: (0x0000): 0x18f01ae1 (PRST: 0, TFCE: 1, RFCE: 1, RST: 0, LRST: 0, FD: 1)
(FRCD: 1, FRCS: 1, SPD: 2, ILOS: 1, ASDE: 1)
STATUS: (0x0008): 0x0000db83 (PCIX: 0, BU64: 1, PC66: 1, TBI: 0, TXOF: 0)
( LU: 1, FD: 1)
EECD: (0x0010): 0x110
EERD: (0x0014): 0xd8953f10
EXT-CTRL: (0x0018): 0xc00
MDIC: (0x0020): 0x18350000
FCAL: (0x0028): 0xc28001
FCAH: (0x002c): 0x100
FCT: (0x0030): 0x8808
VET: (0x0038): 0x8100
ICR: (0x00c0): 0x81
ITR: (0x00c4): 0x0
ICS: (0x00c8): 0x0
IMS: (0x00d0): 0x0
IMC: (0x00d8): 0x0
RCTL: (0x0100): 0x643822a (EN: 1, BAM: 1, bsize: 3)
FCTTV: (0x0170): 0x200
TXCW: (0x0178): 0x1a0
RXCW: (0x0180): 0xc000000
TCTL: (0x0400): 0x204000a
TIPG: (0x0410): 0x802008
LEDCTL: (0x0e00): 0x7068e09
PBA: (0x1000): 0x100030
RDBAL: (0x2800): 0x81778760
RDBAH: (0x2804): 0x0
RDLEN: (0x2808): 0x1000
RDH: (0x2810): 0xe0
RDT: (0x2818): 0xd5
RDTR: (0x2820): 0x32
RADV: (0x282c): 0x32
TDBAL: (0x3800): 0x81777760
TDBAH: (0x3804): 0x0
TDLEN: (0x3808): 0x1000
TDH: (0x3810): 0xe2
TDT: (0x3818): 0x88
TIDV: (0x3820): 0x32
TXDCTL: (0x3828): 0x1040202
TADV: (0x382c): 0x32
RAL[0]: (0x5400): 0xcc25000
RAH[0]: (0x5404): 0x80001e99
RAL[1]: (0x5408): 0xcc25000
RAH[1]: (0x540c): 0x8000fe90
RAL[2]: (0x5410): 0xcc25000
RAH[2]: (0x5414): 0x8000ff90