diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2009-04-08 18:42:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-08 18:42:15 -0400 |
commit | 150899d29367eb60302bcb710e779617d04aceea (patch) | |
tree | 1158a81a90647aaf1752e2d1e43e36540f254d9f | |
parent | c5cacb3bf91b0841e5a721ca303658a407d5c34f (diff) |
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>
-rw-r--r-- | drivers/net/smsc911x.c | 2 |
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) | |||
317 | goto out; | 317 | goto out; |
318 | } | 318 | } |
319 | 319 | ||
320 | SMSC_WARNING(HW, "Timed out waiting for MII write to finish"); | 320 | SMSC_WARNING(HW, "Timed out waiting for MII read to finish"); |
321 | reg = -EIO; | 321 | reg = -EIO; |
322 | 322 | ||
323 | out: | 323 | out: |