Tenmicrosec change backed out, because our DELAY is accurate
authorAndrey Chernov <ache@FreeBSD.org>
Mon, 11 Apr 1994 21:27:00 +0000 (21:27 +0000)
committerAndrey Chernov <ache@FreeBSD.org>
Mon, 11 Apr 1994 21:27:00 +0000 (21:27 +0000)
only about 40 microseconds.

sys/i386/isa/sound/soundcard.c

index c182188..c2b39d9 100644 (file)
@@ -262,7 +262,10 @@ sndattach (struct isa_device *dev)
 void
 tenmicrosec (void)
 {
 void
 tenmicrosec (void)
 {
-  DELAY(10);
+  int             i;
+
+  for (i = 0; i < 16; i++)
+    inb (0x80);
 }
 
 #ifdef EXCLUDE_GUS
 }
 
 #ifdef EXCLUDE_GUS