diff options
author | jmz <jmz@FreeBSD.org> | 1996-03-16 01:08:04 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1996-03-16 01:08:04 +0000 |
commit | 30f513a82be56871bcfeda567d68a083badc1a38 (patch) | |
tree | 7fb9ddb1ba95d3a4fd3dd75179f945f8374ce059 /sys/dev/joy | |
parent | 38b27e13992cb0b9ebfd863257fe7fa7dd606072 (diff) | |
download | FreeBSD-src-30f513a82be56871bcfeda567d68a083badc1a38.zip FreeBSD-src-30f513a82be56871bcfeda567d68a083badc1a38.tar.gz |
Fix the isa_device table (lkm): id_irq and id_maddr must be 0.
Pointed out by: bde
Diffstat (limited to 'sys/dev/joy')
-rw-r--r-- | sys/dev/joy/joy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index c4fdaee..ffb615d 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/joy.c @@ -260,7 +260,7 @@ SYSINIT(joydev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,joy_drvinit,NULL) MOD_DEV (joy, LM_DT_CHAR, CDEV_MAJOR, &joy_cdevsw); -static struct isa_device dev = {0, &joydriver, IO_GAME, -1, -1, (caddr_t) -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}; +static struct isa_device dev = {0, &joydriver, IO_GAME, 0, -1, (caddr_t) 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}; int joy_load (struct lkm_table *lkmtp, int cmd) |