summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-10-23 21:22:42 +0000
committerderaadt <deraadt@openbsd.org>2000-10-23 21:22:42 +0000
commit5140ca8603fe434c5c54ae99963d86d6eb676c0d (patch)
treef195c39acf573234b418a1251d7e9ebed387cb8d
parentok, i think all i82802-using host bridges are in here now (diff)
downloadwireguard-openbsd-5140ca8603fe434c5c54ae99963d86d6eb676c0d.tar.xz
wireguard-openbsd-5140ca8603fe434c5c54ae99963d86d6eb676c0d.zip
unreset takes time too, and you notice this on a p3/933
-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