summaryrefslogtreecommitdiff
path: root/sys/dev/pci/nviic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/nviic.c')
-rw-r--r--sys/dev/pci/nviic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/nviic.c b/sys/dev/pci/nviic.c
index e957fe2790c..74c77044603 100644
--- a/sys/dev/pci/nviic.c
+++ b/sys/dev/pci/nviic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nviic.c,v 1.4 2006/01/11 14:41:08 jsg Exp $ */
+/* $OpenBSD: nviic.c,v 1.5 2006/01/30 00:18:06 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -247,8 +247,8 @@ nviic_i2c_exec(void *arg, i2c_op_t op, i2c_addr_t addr,
/* start transaction */
nviic_write(nc, NVI_SMB_PRTCL, protocol);
- for (i = 10000; i > 0; i--) {
- delay(500);
+ for (i = 1000; i > 0; i--) {
+ delay(100);
if (nviic_read(nc, NVI_SMB_PRTCL) == 0)
break;
}