From 8755afc1400f5c9d073f6a81001259def9001d6c Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 11 Apr 1994 21:27:00 +0000 Subject: Tenmicrosec change backed out, because our DELAY is accurate only about 40 microseconds. --- sys/i386/isa/sound/soundcard.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/i386/isa/sound/soundcard.c') diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index c182188..c2b39d9 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -262,7 +262,10 @@ sndattach (struct isa_device *dev) void tenmicrosec (void) { - DELAY(10); + int i; + + for (i = 0; i < 16; i++) + inb (0x80); } #ifdef EXCLUDE_GUS -- cgit v1.1