5 phy registers show function – DSS Networks C5468 User Manual
Page 33
GigMAC-CPCI-3U Network Interface Cards
Gig-CPCI-3U Gigabit Ethernet Switches
Board and Driver Users Manual
DSS NETWORKS, INC. DocVersion: 1.2
Page: 33
10.3.5 PHY REGISTERS SHOW FUNCTION
vxWorks usage:
inShowPhyRegs(unit)
# unit = device index starting from 0
Linux usage:
./dmUtil –p eth1
# eth1, eth2, etc.
Command output:
in: unit: 0, phy regs:
BMCR: (0x00): 0x4140
BMSR: (0x01): 0x7949
PHYIDR1: (0x02): 0x141
PHYIDR2: (0x03): 0xc25
ANAR: (0x04): 0xde1
ANLPAR: (0x05): 0x0
ANER: (0x06): 0x4
ANNPTR: (0x07): 0x2001
ANNPRR: (0x08): 0x0
1KTCR: (0x09): 0x200
1KSTSR: (0x0a): 0x0
1KSCR: (0x0f): 0x3000
STRAPREG: (0x10): 0x60
LINK_AN: (0x11): 0x8100
AUX_CTRL: (0x12): 0x0
LED_CTRL: (0x13): 0x40
INT_STATUS: (0x14): 0xd60
INT_MASK: (0x15): 0x0