Subject: Re: Drivers with interrupts as LKMs
To: None <>
From: Matt Thomas <>
List: tech-kern
Date: 01/19/2005 17:19:32
At 05:09 PM 1/19/2005, you wrote:
>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.

Or if it's PCI, the information is accessible by the driver.

Matt Thomas                     email:
3am Software Foundry              www:
Cupertino, CA              disclaimer: I avow all knowledge of this message.