diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-03 03:41:53 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-03-03 03:41:53 +0000 |
commit | 80f40a60f1172952b02018bf56257529f2c000e3 (patch) | |
tree | 04ada1e0a9897771472f1e43a529bcfd3d32c75a | |
parent | a028523d73105d6cc3769658431fefc55c87bfb9 (diff) |
Make last change actually compile
-rw-r--r-- | sys/arch/i386/isa/joy.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/joy.c b/sys/arch/i386/isa/joy.c index 3f6ebd6461c..00d89838155 100644 --- a/sys/arch/i386/isa/joy.c +++ b/sys/arch/i386/isa/joy.c @@ -93,11 +93,13 @@ joyprobe(parent, match, aux) void *match, *aux; { - dev->id_iosize = 1; + struct isa_attach_args *ia = aux; + + ia->ia_iosize = 1; #ifdef WANT_JOYSTICK_CONNECTED - outb(dev->id_iobase, 0xff); + outb(ia->ia_iobase, 0xff); DELAY(10000); /* 10 ms delay */ - return (inb(dev->id_iobase) & 0x0f) != 0x0f; + return (inb(ia->ia_iobase) & 0x0f) != 0x0f; #else return 1; #endif |