Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 1999 21:45:24 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        "David E. Cross" <crossd@cs.rpi.edu>
Cc:        freebsd-current@freebsd.org, new-bus@freebsd.org
Subject:   Re: PCI interrupt routing in -Current/newbus
Message-ID:  <Pine.BSF.4.10.9908232144240.72739-100000@salmon.nlsystems.com>
In-Reply-To: <199908231829.OAA57510@cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Aug 1999, David E. Cross wrote:

> How are PCI interrupts routed in CURRENT/NewBus?  For example almost all of
> my PCI devices are mapped to IRQ11.  I understand this is "normal" in the PCI 
> world, but how does the interrupt dispatch routine decide which ints to
> route where?  I recently put a panic() in a intr routine of mine just to
> see the call stack, but all it showed has Xintr11 (which upon grepping the
> source found no matches, but a nm /kernel did find it?!?.  

The bios informs the kernel what irq each device is mapped to and we build
a chain of interrupt handlers for each one. All the handlers registered
for a given irq are called when it fires.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-new-bus" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908232144240.72739-100000>