mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 21:41:09 +03:00
[realtek] Dump all MII register contents when link status changes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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, "
|
||||
|
||||
Reference in New Issue
Block a user