summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-20 06:44:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-20 06:44:50 +0000
commit96eff2681adf0214d5de6ad9f25bfe184755b914 (patch)
tree2344c9036b324a063e8b9ff5a2b949a1acdf3c26 /sys/dev/isa
parent9ac611b2a61e730cf8af9f79266895224f02ad8c (diff)
for some systems we need to try harder; from Mikko Tolmunen
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/uguru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/uguru.c b/sys/dev/isa/uguru.c
index d6cfe0b0ca2..cdb82a4240b 100644
--- a/sys/dev/isa/uguru.c
+++ b/sys/dev/isa/uguru.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uguru.c,v 1.2 2010/03/28 17:07:09 deraadt Exp $ */
+/* $OpenBSD: uguru.c,v 1.3 2010/04/20 06:44:49 deraadt Exp $ */
/*
* Copyright (c) 2010 Mikko Tolmunen <oskari@sefirosu.org>
@@ -1020,7 +1020,7 @@ uguru_write_multi(bus_space_tag_t iot, bus_space_handle_t ioh,
*/
ntries = 0;
while (UGURU_READ(iot, ioh, UGURU_INDEX) >> 1 & 1) {
- if (++ntries > 20)
+ if (++ntries > 65)
goto timeout;
DELAY(5);
}