From fcf4be31a933cbcf2402bd65d62c7b55e24a8984 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 29 Jun 2006 01:43:35 +0000 Subject: do not return from the reset function if there was a timeout with the firmware. --- sys/dev/pci/if_bge.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/dev/pci') 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 -- cgit v1.2.3