git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rndis_host: Poll status channel before control channel
[safe/jmp/linux-2.6]
/
drivers
/
net
/
sungem_phy.c
diff --git
a/drivers/net/sungem_phy.c
b/drivers/net/sungem_phy.c
index
61843fd
..
78f8cee
100644
(file)
--- a/
drivers/net/sungem_phy.c
+++ b/
drivers/net/sungem_phy.c
@@
-79,7
+79,7
@@
static int reset_one_mii_phy(struct mii_phy* phy, int phy_id)
udelay(100);
- while (
limit--
) {
+ while (
--limit
) {
val = __phy_read(phy, phy_id, MII_BMCR);
if ((val & BMCR_RESET) == 0)
break;