Broadcom NetXtreme Ethernet Adapter • Diagnostic User’s Guide
page 128
Broadcom Confidential and Proprietary
0:> mwrite 2 15
10.95 mread
Command:
mread
Description:
Read PHY registers via MII Management interface
Syntax
: mread <begin>[-<end> | <len>]
Address range: 0x00 – 0x1F
Example:
1. Read MII register 0
0:> mread 0
00: 1100
2 Read MII registers 0 to 10
0:> mread 0-10
00: 1100 7949 0020 6051 01e1 0000 0004 2001
08: 0000 0300 0000 0000 0000 0000 0000 3000
10: 0002
4.
Read 5 MII registers start from register 0
0:> mread 0 5
00: 1100 7949 0020 6051 01e1
10.96 mdev
Command:
mdev
Description:
Select current PHY to be accessed. The default device ID is 0x01. If no
parameter is entered, it displays the current PHY address setting. This controls the internal
phy_device2
setting in the diagnostic.
Syntax:
mdev [<phy_id>]
Example:
0:> mdev 1
Phy Address = 0x1
10.97 m2dev
Command:
m2dev
Description:
Select current PHY to be accessed. The default device ID is 0x01. If no
parameter is entered, it displays the current PHY address setting. This controls the internal
phy_device1
setting in the diagnostic.
Syntax:
m2dev [<phy_id>]