From owner-freebsd-current Tue Jan 7 18:09:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA05441 for current-outgoing; Tue, 7 Jan 1997 18:09:02 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA05436 for ; Tue, 7 Jan 1997 18:08:59 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id NAA13412; Wed, 8 Jan 1997 13:02:19 +1100 Date: Wed, 8 Jan 1997 13:02:19 +1100 From: Bruce Evans Message-Id: <199701080202.NAA13412@godzilla.zeta.org.au> To: current@freebsd.org, nate@mt.sri.com Subject: Re: Kernel driver advice Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Is there a better/different way of registering the need for an interrupt >and *NOT* being an ISA device? How do the PCI devices grab an >interrupt? No. The PCI devices just grab an interrupt. They are initialized before ISA devices, so this sort of works. However, the ISA conflict checking doesn't know about resources grabbed by PCI devices. If an ISA probe succeeds, then isa.c attempts to grab the interrupt. If the interrupt is already allocated, then the allocation isn't changed and the error code is ignored, leaving the ISA driver unattached from the interrupt. >Finally, is there a way to request the list of used/unused IRQ's in the >system at a point in time? I'd like to be able to check if a particular Attempt to allocate all IRQs and put back the ones that you get but don't want. Bruce