summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-02-26 00:03:08 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-02-26 00:03:08 +0000
commit30a020d9554ee12663e547de721a9ea433f0e374 (patch)
treeb5c3bb0054b3bdc874dc20cc2bc9bb97ef685cf3
parent915abd18d665696c222321f6c34870ebed9a5457 (diff)
Specify the size used in the I/O map (1 entry) during probe
-rw-r--r--sys/arch/i386/isa/joy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/joy.c b/sys/arch/i386/isa/joy.c
index e2e73dc238d..3f6ebd6461c 100644
--- a/sys/arch/i386/isa/joy.c
+++ b/sys/arch/i386/isa/joy.c
@@ -93,6 +93,7 @@ joyprobe(parent, match, aux)
void *match, *aux;
{
+ dev->id_iosize = 1;
#ifdef WANT_JOYSTICK_CONNECTED
outb(dev->id_iobase, 0xff);
DELAY(10000); /* 10 ms delay */