Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2001 12:58:51 -0500
From:      "Bosko Milekic" <bmilekic@technokratis.com>
To:        "Alex" <d_f0rce@gmx.de>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Problems attaching an interrupt handler
Message-ID:  <009201c083d3$d0054bc0$1f90c918@jehovah>
References:  <NEBBIKIHMLCDHCFEOMAHOEKCCAAA.d_f0rce@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009201c083d3$d0054bc0$1f90c918>