summaryrefslogtreecommitdiffstats
path: root/drivers/net/smsc911x.c
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2009-04-09 00:42:15 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-09 00:42:15 +0200
commit150899d29367eb60302bcb710e779617d04aceea (patch)
tree1158a81a90647aaf1752e2d1e43e36540f254d9f /drivers/net/smsc911x.c
parentethoc: fix library build errors (diff)
downloadlinux-150899d29367eb60302bcb710e779617d04aceea.tar.xz
linux-150899d29367eb60302bcb710e779617d04aceea.zip
smsc911x: correct debugging message on mii read timeout
the warning printed when a mii READ times out currently says "Timed out waiting for MII write to finish". This patch corrects this. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
-rw-r--r--drivers/net/smsc911x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 6da678129828..eb7db032a780 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx)
goto out;
}
- SMSC_WARNING(HW, "Timed out waiting for MII write to finish");
+ SMSC_WARNING(HW, "Timed out waiting for MII read to finish");
reg = -EIO;
out: