artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13c4df
)
Make last change actually compile
author
tholo
<tholo@openbsd.org>
Sun, 3 Mar 1996 03:41:52 +0000
(
03:41
+0000)
committer
tholo
<tholo@openbsd.org>
Sun, 3 Mar 1996 03:41:52 +0000
(
03:41
+0000)
sys/arch/i386/isa/joy.c
patch
|
blob
|
history
diff --git
a/sys/arch/i386/isa/joy.c
b/sys/arch/i386/isa/joy.c
index
3f6ebd6
..
00d8983
100644
(file)
--- 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