Browse Source

[realtek] Dump all MII register contents when link status changes

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 years ago
parent
commit
145fc26ed5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/drivers/net/realtek.c

+ 1
- 0
src/drivers/net/realtek.c View File

@@ -413,6 +413,7 @@ static void realtek_check_link ( struct net_device *netdev ) {
413 413
 
414 414
 	/* Determine link state */
415 415
 	if ( rtl->have_phy_regs ) {
416
+		mii_dump ( &rtl->mii );
416 417
 		phystatus = readb ( rtl->regs + RTL_PHYSTATUS );
417 418
 		link_up = ( phystatus & RTL_PHYSTATUS_LINKSTS );
418 419
 		DBGC ( rtl, "REALTEK %p PHY status is %02x (%s%s%s%s%s%s, "

Loading…
Cancel
Save