From e1bd49a1e1823eab71c293efd1bd0c9b83c350c9 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 7 Apr 2007 12:52:27 +0000 Subject: 20070407-1350 more updates from plan 9 pc kernel, and a few unreachable fixes(!) --- os/port/ethermii.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/port/ethermii.c') 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; } -- cgit v1.2.3