summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2009-04-08 15:42:15 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-08 15:42:15 -0700
commit150899d29367eb60302bcb710e779617d04aceea (patch)
tree1158a81a90647aaf1752e2d1e43e36540f254d9f /drivers
parentc5cacb3bf91b0841e5a721ca303658a407d5c34f (diff)
downloadlinux-3.10-150899d29367eb60302bcb710e779617d04aceea.tar.gz
linux-3.10-150899d29367eb60302bcb710e779617d04aceea.tar.bz2
linux-3.10-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')
-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 6da67812982..eb7db032a78 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: