summaryrefslogtreecommitdiff
path: root/os/port/ethermii.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-04-07 12:52:27 +0000
committerCharles.Forsyth <devnull@localhost>2007-04-07 12:52:27 +0000
commite1bd49a1e1823eab71c293efd1bd0c9b83c350c9 (patch)
treea9424cde16004cb9e591045225bc61beed339dd5 /os/port/ethermii.c
parent15345f9c75c069d3e2e362af5d6f931eef7772ef (diff)
20070407-1350 more updates from plan 9 pc kernel, and a few unreachable fixes(!)
Diffstat (limited to 'os/port/ethermii.c')
-rw-r--r--os/port/ethermii.c6
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;
}