diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-04-25 14:17:56 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-04-25 14:17:56 +0000 |
commit | ebf2aff49d480a1788e1445a8f894a830b5a786d (patch) | |
tree | f2772e27288822c413a061250590fb4ea28c00e7 /sys/dev/pci/eap.c | |
parent | dfb1f7acb0936de8cea028dc483c518f616c50ff (diff) |
use delay() and not tsleep() in attach. makes driver work properly with
``Ensoniq CT5880''-based card.
from netbsd rev 1.59
ok mickey@
Diffstat (limited to 'sys/dev/pci/eap.c')
-rw-r--r-- | sys/dev/pci/eap.c | 4 |
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 */ |