diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-06-29 01:43:35 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-06-29 01:43:35 +0000 |
commit | fcf4be31a933cbcf2402bd65d62c7b55e24a8984 (patch) | |
tree | 60c95aeb62c81f55f2f26fc6a8d8257a6799c14b /sys/dev/pci | |
parent | 653b08ffa85a622af0d040374dd6ff5ce428fa96 (diff) |
do not return from the reset function if there was a timeout
with the firmware.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bge.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index e166600386a..91e7fa64db8 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.164 2006/06/27 16:46:24 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.165 2006/06/29 01:43:34 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2037,11 +2037,9 @@ bge_reset(struct bge_softc *sc) DELAY(10); } - if (i >= BGE_TIMEOUT) { + if (i >= BGE_TIMEOUT) printf("%s: firmware handshake timed out\n", sc->bge_dev.dv_xname); - return; - } /* * XXX Wait for the value of the PCISTATE register to |