summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-16 10:39:06 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-16 10:55:54 +0200
commit03eb0e5638b2b4f6cb1a57a3c9e77db990e07db0 (patch)
tree2039b51ec55b61e5e9a3789eca0522d146ca2a3e /Kernel/Devices
parent85aafe492d40a106b90238f2a231f540e8d00eba (diff)
downloadserenity-03eb0e5638b2b4f6cb1a57a3c9e77db990e07db0.zip
Kernel: Let's say that IO::delay(N) delays for N microseconds
Supposedly that's how much delay you get when doing I/O on port 0x80.
Diffstat (limited to 'Kernel/Devices')
-rw-r--r--Kernel/Devices/SB16.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/SB16.cpp b/Kernel/Devices/SB16.cpp
index e65d87605f..53964c4cc0 100644
--- a/Kernel/Devices/SB16.cpp
+++ b/Kernel/Devices/SB16.cpp
@@ -100,7 +100,7 @@ void SB16::initialize()
disable_irq();
IO::out8(0x226, 1);
- IO::delay();
+ IO::delay(32);
IO::out8(0x226, 0);
auto data = dsp_read();