summaryrefslogtreecommitdiff
path: root/sys
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
parent25cc08abf966595fad3f4e77d1e76e3ed3f4cc94 (diff)
who cares if joystick is attached
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/isa/joy_isa.c4
-rw-r--r--sys/arch/i386/isa/joy_isapnp.c4
2 files changed, 8 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
}
diff --git a/sys/arch/i386/isa/joy_isapnp.c b/sys/arch/i386/isa/joy_isapnp.c
index b343150e716..a3010aa8985 100644
--- a/sys/arch/i386/isa/joy_isapnp.c
+++ b/sys/arch/i386/isa/joy_isapnp.c
@@ -76,6 +76,10 @@ joy_isapnp_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
}