diff options
-rw-r--r-- | sys/arch/i386/isa/joy_isa.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/isa/joy_isapnp.c | 4 |
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 } |