[PATCH] Tweak re-routing of PCI interrupts

Bernd Walter ticso at cicely12.cicely.de
Fri Jun 6 12:07:55 PDT 2003


On Fri, Jun 06, 2003 at 02:13:31PM -0400, John Baldwin wrote:
> I have a small tweak to the PCI code that re-routes PCI interrupts.
> Basically, it does two things, 1) make the comment less ia64-specific
> and 2) if the interrupt route returns an invalid IRQ (i.e. 255), then
> we don't change the intline.  In other words, if we can't route the
> interrupt, we just assume that the firmware knows more than we do and
> go with the value it stuck in the register.  1) is a no-brainer, but
> I wonder what people think about 2).  Patch below:

I will test this, as my printserver tried all pci device with irq 255.
I already wondered how you could route interrupts without ACPI until I
booted my printserver with a recent kernel.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso at bwct.de                                  info at bwct.de



More information about the freebsd-current mailing list