Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 1997 13:39:11 +0100 (CET)
From:      Jochen Bredemeyer <J.Bredemeyer@tu-bs.de>
To:        freebsd-hackers@freebsd.org (freebsd-hackers)
Subject:   Again: LKM and interrupts
Message-ID:  <199711061239.NAA01200@reb2.ivev.bau.tu-bs.de>

next in thread | raw e-mail | index | archive | help
Hello,

is there a method to use an ISA interrupt in a loadable kernel module?

I have a working device driver for my transputer link adapter ISA card which
also handles hardware interrupts, but this feature is only available if
I compile my module into the kernel.

Is it possible to call one ore more functions from "isa.c" ( i.e.
config_isadev(), update_intr_masks(), register_intr) within the driver load
routine which are usually used when the systems starts up? Unfortunately I
don't know their correct parameters - especially those which 
concern the Interrupt mask that is frequently mentioned in "isa.c".

I found similiar questions in the "freebsd-hackers" mailing list archive
with the subjects

"LKM driver question / patch",
"Handling hardware interrupts in lkm device drivers",
"LKM: how to fiddle in interrupt routine ptrs ?",

but no real answers were given. Has anyone solved the problem yet?

Thanx in advance,

Jochen

DJ 5 BA

J.Bredemeyer@tu-bs.de 
dj5ba@amsat.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711061239.NAA01200>