summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniallo <niallo@openbsd.org>2005-04-25 14:17:55 +0000
committerniallo <niallo@openbsd.org>2005-04-25 14:17:55 +0000
commite55ef952cc17e52aa189a060d48315dfdd65442a (patch)
tree821811f89e96e0e90db6f7f1eaad0a4e2c3f0031
parentPass the complete keybuffer to wskbd_rawinput(); dnkbd now works under X11. (diff)
downloadwireguard-openbsd-e55ef952cc17e52aa189a060d48315dfdd65442a.tar.xz
wireguard-openbsd-e55ef952cc17e52aa189a060d48315dfdd65442a.zip
use delay() and not tsleep() in attach. makes driver work properly with
``Ensoniq CT5880''-based card. from netbsd rev 1.59 ok mickey@
-rw-r--r--sys/dev/pci/eap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/eap.c b/sys/dev/pci/eap.c
index 4eaa0baf567..4617df1b312 100644
--- a/sys/dev/pci/eap.c
+++ b/sys/dev/pci/eap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eap.c,v 1.25 2005/04/16 21:57:23 mickey Exp $ */
+/* $OpenBSD: eap.c,v 1.26 2005/04/25 14:17:55 niallo Exp $ */
/* $NetBSD: eap.c,v 1.46 2001/09/03 15:07:37 reinoud Exp $ */
/*
@@ -645,7 +645,7 @@ eap_attach(struct device *parent, struct device *self, void *aux)
if (ct5880) {
EWRITE4(sc, EAP_ICSS, EAP_CT5880_AC97_RESET);
/* Let codec wake up */
- tsleep(sc, PRIBIO, "eapcdc", hz / 20);
+ delay(20000);
}
/* Reset from es1371's perspective */