diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-04 00:08:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-04 00:11:53 -0800 |
commit | 4a8fd2cfdad4d043a1fadba2f3f340945d966825 (patch) | |
tree | b4cf4e6dd1f3a6878063a5ca96d0e99fd81cbd97 /drivers | |
parent | 948731115774c2e5ff7409360f35389459502211 (diff) |
sungem: another error printed one too early
Another error was printed one too early.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sungem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 8d64b1da046..0fcb7503363 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c @@ -1229,7 +1229,7 @@ static void gem_reset(struct gem *gp) break; } while (val & (GREG_SWRST_TXRST | GREG_SWRST_RXRST)); - if (limit <= 0) + if (limit < 0) printk(KERN_ERR "%s: SW reset is ghetto.\n", gp->dev->name); if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) |