summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-10-23 21:22:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-10-23 21:22:43 +0000
commit026df4db2de60267e26f96ec783400f0fa791ad0 (patch)
tree8e6e0924f6cffccf040898fe457993c41fd870da /sys
parent22bfe48847cc294460ac623f417c5739fba6c079 (diff)
unreset takes time too, and you notice this on a p3/933
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/hifn7751.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index e2a7ac7d3b6..d97922263a6 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.48 2000/10/13 04:34:13 deraadt Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.49 2000/10/23 21:22:42 deraadt Exp $ */
/*
* Invertex AEON / Hi/fn 7751 driver
@@ -330,6 +330,11 @@ hifn_reset_board(sc)
*/
WRITE_REG_1(sc, HIFN_1_DMA_CNFG, HIFN_DMACNFG_MSTRESET |
HIFN_DMACNFG_DMARESET | HIFN_DMACNFG_MODE);
+
+ /*
+ * Wait another millisecond for the board to un-reset.
+ */
+ DELAY(1000);
}
u_int32_t