projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MTD] partitioning utility predicates
[linux-2.6]
/
drivers
/
net
/
tsi108_eth.c
diff --git
a/drivers/net/tsi108_eth.c
b/drivers/net/tsi108_eth.c
index
75461db
..
a9fd2b2
100644
(file)
--- a/
drivers/net/tsi108_eth.c
+++ b/
drivers/net/tsi108_eth.c
@@
-1237,7
+1237,7
@@
static void tsi108_init_phy(struct net_device *dev)
spin_lock_irqsave(&phy_lock, flags);
tsi108_write_mii(data, MII_BMCR, BMCR_RESET);
- while (
i--)
{
+ while (
--i)
{
if(!(tsi108_read_mii(data, MII_BMCR) & BMCR_RESET))
break;
udelay(10);