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>
This commit is contained in:
committed by
David S. Miller
parent
c5cacb3bf9
commit
150899d293
@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx)
|
|||||||
goto out;
|
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;
|
reg = -EIO;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
Reference in New Issue
Block a user