This: bus_teardown_intr(dev, sc->irq, sc->ih) != 0 ); looks pretty odd. See
your ir_detach().

Alex wrote:

> Hi,
>
> I started experimenting with kernel hacking to write an
> infrared device driver. Therfore I read Alexander Langer's
> article on DaemonNews and started modifying the led.c
> example code.
>
> Unfortunately I can't get my interrupt handler working.
>
> Could anyone please have a short look on my code.
>
> On loading the module the first time everything stays
> stable and vmstat -i shows 1 INT on my device. After
> unloading the module and reloading it the kernel
> crashes on the next incoming interrupt.
>
> Any ideas?
>
> Alex
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to