summaryrefslogtreecommitdiff
path: root/src/pc80/udelay_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80/udelay_io.c')
-rw-r--r--src/pc80/udelay_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pc80/udelay_io.c b/src/pc80/udelay_io.c
index 870af079cf..a67b5a1986 100644
--- a/src/pc80/udelay_io.c
+++ b/src/pc80/udelay_io.c
@@ -4,6 +4,6 @@ void udelay(int usecs)
{
int i;
for(i = 0; i < usecs; i++)
- outb(i&0xff, 0x80);
+ inb(0x80);
}