smsc911x: correct debugging message on mii read timeout
authorSteve Glendinning <steve.glendinning@smsc.com>
Wed, 8 Apr 2009 22:42:15 +0000 (15:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2009 22:42:15 +0000 (15:42 -0700)
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>
drivers/net/smsc911x.c

index 6da678129828c1bd764a6b49a1dc77f038090e13..eb7db032a780eac55990782c69fc25dfac0cf8ee 100644 (file)
@@ -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: