Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 11 Dec 1997 00:46:27 +0000 (GMT)
> paradigm:~/accton$ make
> cc -D__KERNEL__ -O2 -c accton.c -o accton.o
> accton.c: In function `ethpk_open':
> accton.c:1025: warning: passing arg 2 of `request_irq' from incompatible
> pointer
If you deleted those it wont work - you've disabled the IRQ handler 8)
1.2/early 1.3 to 2.0 changed the request_irq/free_irq irq handler to
also pass a dev_id field which is an arbitary device specific value. You
can look at the function prototypes for these and stick NULL in the dev_id
field in them. Then also stick the expected dev_id in the irq handler
function it registers and ignore the value for it and try again.
Alan
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:10 EST