david/ipxe
Archived
1
0

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2014-03-10 12:22:23 +00:00
parent 9d615539f0
commit 145fc26ed5

View File

@ -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, "