diff options
Diffstat (limited to 'os/port/ethermii.c')
| -rw-r--r-- | os/port/ethermii.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/port/ethermii.c b/os/port/ethermii.c index 584cdf08..3a1e2368 100644 --- a/os/port/ethermii.c +++ b/os/port/ethermii.c @@ -177,13 +177,13 @@ miistatus(Mii* mii) bmsr = mii->mir(mii, phyno, Bmsr); if(!(bmsr & (BmsrAnc|BmsrAna))) { -print("miistatus 1\n"); +print("miistatus: auto-neg incomplete\n"); return -1; } bmsr = mii->mir(mii, phyno, Bmsr); if(!(bmsr & BmsrLs)){ -print("miistatus 2\n"); +print("miistatus: link down\n"); phy->link = 0; return -1; } @@ -217,7 +217,7 @@ print("miistatus 2\n"); } if(phy->speed == 0) { -print("miistatus 3\n"); +print("miistatus: phy speed 0\n"); return -1; } |
