From: Michael Brown Date: Mon, 10 Mar 2014 12:22:23 +0000 (+0000) Subject: [realtek] Dump all MII register contents when link status changes X-Git-Tag: v1.20.1~1261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=145fc26ed549ede495ddfce67844c9ecd9f607fd;p=thirdparty%2Fipxe.git [realtek] Dump all MII register contents when link status changes Signed-off-by: Michael Brown --- diff --git a/src/drivers/net/realtek.c b/src/drivers/net/realtek.c index 1e2cbdf49..41f4ec23b 100644 --- a/src/drivers/net/realtek.c +++ b/src/drivers/net/realtek.c @@ -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, "