diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-19 02:53:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-19 02:53:57 -0400 |
commit | 0702b30dd821ac8a4103ddbe545518713fdca9be (patch) | |
tree | 8ce0c9f5e58c5ccb99870505eecd139986caa05e /drivers/net/sun3lance.c | |
parent | 192d7a4667c6d11d1a174ec4cad9a3c5d5f9043c (diff) | |
parent | a1e4ee22863d41a6fbb24310d7951836cb6dafe7 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Diffstat (limited to 'drivers/net/sun3lance.c')
-rw-r--r-- | drivers/net/sun3lance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sun3lance.c b/drivers/net/sun3lance.c index 4bb8f72c65cc..e5beb299cbd0 100644 --- a/drivers/net/sun3lance.c +++ b/drivers/net/sun3lance.c | |||
@@ -428,7 +428,7 @@ static int lance_open( struct net_device *dev ) | |||
428 | while (--i > 0) | 428 | while (--i > 0) |
429 | if (DREG & CSR0_IDON) | 429 | if (DREG & CSR0_IDON) |
430 | break; | 430 | break; |
431 | if (i < 0 || (DREG & CSR0_ERR)) { | 431 | if (i <= 0 || (DREG & CSR0_ERR)) { |
432 | DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", | 432 | DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", |
433 | dev->name, i, DREG )); | 433 | dev->name, i, DREG )); |
434 | DREG = CSR0_STOP; | 434 | DREG = CSR0_STOP; |