Subject: Re: Drivers with interrupts as LKMs
To: Jeremy Gale <>
From: Allen Briggs <>
List: tech-kern
Date: 01/19/2005 20:09:56
On Wed, Jan 19, 2005 at 04:59:00PM -0700, Jeremy Gale wrote:
> I'm wondering if it's possible to have a device driver that uses
> interrupts to be loadable as a kernel module. I need the address and
> irq number to be passed in to the LKM somehow.

If I were doing this and really wanted it in an LKM, I might define
a device control node in /dev and use a control program to send the
address and interrupt #.

Or, for development, I might just hard-code the address and irq in
compile-time -D switches or #defines in a header.


                  Use NetBSD!