From owner-freebsd-current Wed Jan 8 08:57:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA16957 for current-outgoing; Wed, 8 Jan 1997 08:57:52 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id IAA16941 for ; Wed, 8 Jan 1997 08:57:47 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id JAA16480; Wed, 8 Jan 1997 09:47:21 -0700 From: Terry Lambert Message-Id: <199701081647.JAA16480@phaeton.artisoft.com> Subject: Re: Kernel driver advice To: nate@mt.sri.com (Nate Williams) Date: Wed, 8 Jan 1997 09:47:21 -0700 (MST) Cc: bde@zeta.org.au, current@freebsd.org, nate@mt.sri.com In-Reply-To: <199701080457.VAA29298@rocky.mt.sri.com> from "Nate Williams" at Jan 7, 97 09:57:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >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. > > *laugh* > > Who keeps track of allocated interrupts? Would it be possible/useful to > add a 'give me what has already been allocated' kind of function? > Instead of alloc_intr() something obvious like intr_alloced()? *grin* Yeah, this is a kludge... it would be nice to be able to get a bitmap or something... given EISA and PCI, it would have to be two longs or a quad for some systems (see the recent EISA and APIC discussions on IRQ assignment on the SMP list). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.