mirror of https://github.com/ipxe/ipxe.git
[realtek] Dump all MII register contents when link status changes
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/17/head
parent
9d615539f0
commit
145fc26ed5
|
@ -413,6 +413,7 @@ static void realtek_check_link ( struct net_device *netdev ) {
|
|||
|
||||
/* Determine link state */
|
||||
if ( rtl->have_phy_regs ) {
|
||||
mii_dump ( &rtl->mii );
|
||||
phystatus = readb ( rtl->regs + RTL_PHYSTATUS );
|
||||
link_up = ( phystatus & RTL_PHYSTATUS_LINKSTS );
|
||||
DBGC ( rtl, "REALTEK %p PHY status is %02x (%s%s%s%s%s%s, "
|
||||
|
|
Loading…
Reference in New Issue