summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-01-06 08:18:18 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-01-06 08:18:18 +0000
commit6989b15c5b536ce1dd494a5435a7c25985e88f16 (patch)
tree816c2ce19fbff08fa43b3bc046e53a27133acf42 /sys/arch
parent183fe77055c38835fe620343046f70395734159b (diff)
set correct delay() value after executing the `read version' command;
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/dev/asms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/asms.c b/sys/arch/macppc/dev/asms.c
index 0c37f6b268f..157f0a0bdb3 100644
--- a/sys/arch/macppc/dev/asms.c
+++ b/sys/arch/macppc/dev/asms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asms.c,v 1.1 2006/01/03 17:23:19 xsa Exp $ */
+/* $OpenBSD: asms.c,v 1.2 2006/01/06 08:18:17 xsa Exp $ */
/*
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
*
@@ -166,7 +166,7 @@ asms_attach(struct device *parent, struct device *self, void *aux)
printf(": cannot write command register\n");
return;
}
- delay(1000);
+ delay(10000);
cmd = ASMS_REG_RDATA1;
if (iic_exec(sc->sc_tag, I2C_OP_READ_WITH_STOP,