summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ciss.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-08-03 00:01:09 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-08-03 00:01:09 +0000
commit0082b2d7b3d8c1e5b0836f94f8a67a0d18dc4e43 (patch)
tree53b48c8b2068eb155ec63cf25ed24bb759c406e7 /sys/dev/ic/ciss.c
parent17891bfd7a4ee237964e72e6f65d64ce769ae73c (diff)
in config loop: make delay longer and less iterations to make it run in a better second
Diffstat (limited to 'sys/dev/ic/ciss.c')
-rw-r--r--sys/dev/ic/ciss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ciss.c b/sys/dev/ic/ciss.c
index bc0fc98d647..adb0ae21030 100644
--- a/sys/dev/ic/ciss.c
+++ b/sys/dev/ic/ciss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciss.c,v 1.3 2005/08/02 23:56:34 mickey Exp $ */
+/* $OpenBSD: ciss.c,v 1.4 2005/08/03 00:01:08 mickey Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -166,7 +166,7 @@ ciss_attach(struct ciss_softc *sc)
bus_space_write_4(sc->iot, sc->ioh, CISS_IDB, CISS_IDB_CFG);
bus_space_barrier(sc->iot, sc->ioh, CISS_IDB, 4,
BUS_SPACE_BARRIER_WRITE);
- for (i = 1000000; i--; DELAY(1)) {
+ for (i = 1000; i--; DELAY(1000)) {
/* XXX maybe IDB is really 64bit? - hp dl380 needs this */
(void)bus_space_read_4(sc->iot, sc->ioh, CISS_IDB + 4);
if (!(bus_space_read_4(sc->iot, sc->ioh, CISS_IDB) & CISS_IDB_CFG))