Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111916
b: refs/heads/master
c: baac03d
h: refs/heads/master
v: v3
  • Loading branch information
Trent Piepho authored and Jeff Garzik committed Sep 25, 2008
1 parent ebe710a commit 7705a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e2e8d53c3f34684af7a7475098b7524a6b854c2
refs/heads/master: baac03d9bb7b8aa3c33a2dbf5f459ea6ce8abaf4
4 changes: 2 additions & 2 deletions trunk/drivers/net/gianfar_mii.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ static int gfar_mdio_reset(struct mii_bus *bus)

/* Wait until the bus is free */
while ((gfar_read(&regs->miimind) & MIIMIND_BUSY) &&
timeout--)
--timeout)
cpu_relax();

mutex_unlock(&bus->mdio_lock);

if(timeout <= 0) {
if(timeout == 0) {
printk(KERN_ERR "%s: The MII Bus is stuck!\n",
bus->name);
return -EBUSY;
Expand Down

0 comments on commit 7705a31

Please sign in to comment.