From owner-freebsd-hackers Thu Nov 6 04:38:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA10875 for hackers-outgoing; Thu, 6 Nov 1997 04:38:06 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from reb2.ivev.bau.tu-bs.de (reb2.ivev.bau.tu-bs.de [134.169.17.82]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA10865 for ; Thu, 6 Nov 1997 04:37:44 -0800 (PST) (envelope-from jochen@reb2.ivev.bau.tu-bs.de) Received: (from jochen@localhost) by reb2.ivev.bau.tu-bs.de (8.8.5/8.8.5) id NAA01200 for freebsd-hackers@freebsd.org; Thu, 6 Nov 1997 13:39:11 +0100 (CET) Message-Id: <199711061239.NAA01200@reb2.ivev.bau.tu-bs.de> Subject: Again: LKM and interrupts To: freebsd-hackers@freebsd.org (freebsd-hackers) Date: Thu, 6 Nov 1997 13:39:11 +0100 (CET) Reply-To: J.Bredemeyer@tu-bs.de From: Jochen Bredemeyer X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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