summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/joy_isa.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-03 08:21:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-03 08:21:47 +0000
commita6364b20541dbcf91256feea36f42489e376663b (patch)
tree4e989a4be5580de710c43dde0f4084983fb2c741 /sys/arch/i386/isa/joy_isa.c
parent25cc08abf966595fad3f4e77d1e76e3ed3f4cc94 (diff)
who cares if joystick is attached
Diffstat (limited to 'sys/arch/i386/isa/joy_isa.c')
-rw-r--r--sys/arch/i386/isa/joy_isa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/joy_isa.c b/sys/arch/i386/isa/joy_isa.c
index 773ed7404a2..14c1a095e67 100644
--- a/sys/arch/i386/isa/joy_isa.c
+++ b/sys/arch/i386/isa/joy_isa.c
@@ -87,6 +87,10 @@ joy_isa_attach(parent, self, aux)
sc->timeout[0] = sc->timeout[1] = 0;
outb(iobase, 0xff);
DELAY(10000); /* 10 ms delay */
+#if 0
printf(": joystick%sconnected\n",
(inb(iobase) & 0x0f) == 0x0f ? " not " : " ");
+#else
+ printf("\n");
+#endif
}