summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2004-12-05 17:13:53 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2004-12-05 17:13:53 +0000
commitc7eb0b27ebd6d284e51c151a8446e619144d7db5 (patch)
tree5cd56b0d9b7ca1d258dc948f774b0d30c2f8d907 /sys/dev/pci
parent3c32f306e1ebe488302d2595c65cced3f52f20a9 (diff)
wait longer for master initialization
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_ipw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c
index f64f48e8d73..e3dbebf2a7a 100644
--- a/sys/dev/pci/if_ipw.c
+++ b/sys/dev/pci/if_ipw.c
@@ -1,4 +1,4 @@
-/* $Id: if_ipw.c,v 1.28 2004/11/24 21:27:50 damien Exp $ */
+/* $Id: if_ipw.c,v 1.29 2004/12/05 17:13:52 damien Exp $ */
/*-
* Copyright (c) 2004
@@ -1571,12 +1571,12 @@ ipw_stop_master(struct ipw_softc *sc)
CSR_WRITE_4(sc, IPW_CSR_INTR_MASK, 0);
CSR_WRITE_4(sc, IPW_CSR_RST, IPW_RST_STOP_MASTER);
- for (ntries = 0; ntries < 5; ntries++) {
+ for (ntries = 0; ntries < 50; ntries++) {
if (CSR_READ_4(sc, IPW_CSR_RST) & IPW_RST_MASTER_DISABLED)
break;
DELAY(10);
}
- if (ntries == 5)
+ if (ntries == 50)
printf("%s: timeout waiting for master\n",
sc->sc_dev.dv_xname);