summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/soundcard.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-04-11 18:17:12 +0000
committerache <ache@FreeBSD.org>1994-04-11 18:17:12 +0000
commit69e77c870dea1208bc5cd93a2a56911e7d422a6c (patch)
tree43f119c4bf4d1b46da1570fc53a6e0fa63162d11 /sys/i386/isa/sound/soundcard.c
parent87e8efd84b284c3d7410951f6dd1e5eec9e28334 (diff)
downloadFreeBSD-src-69e77c870dea1208bc5cd93a2a56911e7d422a6c.zip
FreeBSD-src-69e77c870dea1208bc5cd93a2a56911e7d422a6c.tar.gz
We have a better way to wait ten microseconds then inbs:
tenmicrosec() now use DELAY(10)
Diffstat (limited to 'sys/i386/isa/sound/soundcard.c')
-rw-r--r--sys/i386/isa/sound/soundcard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c
index c2b39d9..c182188 100644
--- a/sys/i386/isa/sound/soundcard.c
+++ b/sys/i386/isa/sound/soundcard.c
@@ -262,10 +262,7 @@ sndattach (struct isa_device *dev)
void
tenmicrosec (void)
{
- int i;
-
- for (i = 0; i < 16; i++)
- inb (0x80);
+ DELAY(10);
}
#ifdef EXCLUDE_GUS
OpenPOWER on IntegriCloud