summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2007-05-28 17:44:55 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2007-05-28 17:44:55 +0000
commitab700b4491b76b83aab5dcd3e5c583812878c3ef (patch)
tree1b91b4d1b1e971f03ef0ea550cbe77518570cd6e /sys
parent376edad0136ae0b0cbb4127ddad4a1070012cca7 (diff)
Bump timeout.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index 304463b364f..c9d163acff9 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.26 2007/05/28 17:18:35 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.27 2007/05/28 17:44:54 grange Exp $ */
/*
* Copyright (c) 2006, 2007 Alexander Yurchenko <grange@openbsd.org>
@@ -711,7 +711,7 @@ ips_poll(struct ips_softc *sc, struct ips_ccb *c)
int id, timeout;
while (ccb != c) {
- for (timeout = 10; timeout-- > 0; delay(100)) {
+ for (timeout = 100; timeout-- > 0; delay(100)) {
if ((status = ips_status(sc)) == 0xffffffff)
continue;
id = IPS_REG_STAT_ID(status);
@@ -840,7 +840,7 @@ ips_copperhead_exec(struct ips_softc *sc, struct ips_ccb *ccb)
u_int32_t reg;
int timeout;
- for (timeout = 10; timeout-- > 0; delay(100)) {
+ for (timeout = 100; timeout-- > 0; delay(100)) {
reg = bus_space_read_4(sc->sc_iot, sc->sc_ioh, IPS_REG_CCC);
if ((reg & IPS_REG_CCC_SEM) == 0)
break;