summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-08 00:27:55 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-08 00:27:55 +0000
commitc6ee4401fc5332bc693592a596b39d45a63ee2b0 (patch)
treeea0936a6c677be22cfd4159a3939376bb6ce40a8 /sys/arch
parent2262fe1621918db276660ff9e57d1473b30d5dda (diff)
hardcode keyboard probe to 1 for now
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/stand/libsa/bioskbd.S13
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/arch/i386/stand/libsa/bioskbd.S b/sys/arch/i386/stand/libsa/bioskbd.S
index 92373208c2c..815284c9cee 100644
--- a/sys/arch/i386/stand/libsa/bioskbd.S
+++ b/sys/arch/i386/stand/libsa/bioskbd.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioskbd.S,v 1.9 1997/08/07 11:38:39 niklas Exp $ */
+/* $OpenBSD: bioskbd.S,v 1.10 1997/08/08 00:27:54 niklas Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -46,15 +46,8 @@
*
*/
ENTRY(kbd_probe)
- movb $NVRAM_EQUIPMENT, %al
- outb %al, $IO_RTC
- inb $(IO_RTC+1), %al
- xorl %edx, %edx
- andb $(NVRAM_EQUIPMENT_KBD|NVRAM_EQUIPMENT_DISPLAY), %al
- cmpb $(NVRAM_EQUIPMENT_KBD|NVRAM_EQUIPMENT_DISPLAY), %al
- jne 1f
- incl %edx
-1: movl %edx, %eax
+ xorl %eax, %eax
+ incl %eax
ret
/*