From: Johann D. <jo...@Do...> - 2001-11-13 21:01:52
|
Hi, From ruby/linux/drivers/input/ns558.c, line 172: #define NS558_DEVICE(a,b,c,d)\ card_vendor: ISAPNP_ANY_ID, card_device: ISAPNP_ANY_ID,\ vendor: ISAPNP_VENDOR(a,b,c), device: ISAPNP_DEVICE(d) static struct isapnp_device_id pnp_devids[] = { { NS558_DEVICE('@','P','@',0x0001) }, /* ALS 100 */ { NS558_DEVICE('@','P','@',0x0020) }, /* ALS 200 */ ... The problem is that the isapnp_device in my 2.4.12 kernel is defined as follows (from include/linux/isapnp.h line 159): struct isapnp_device_id { unsigned short card_vendor, card_device; unsigned short vendor, function; unsigned long driver_data; /* data private to the driver */ }; There is no device field. Any idea about the fix ? -- Johann Deneux |