Re: /proc/pci deprecation?

Richard Henderson (rth@twiddle.net)
Sun, 8 Dec 2002 12:56:42 -0800


On Sat, Dec 07, 2002 at 08:21:21PM -0800, Linus Torvalds wrote:
> > Flags: bus master, medium devsel, latency 16, IRQ 19
>
> Just out of interest, where _does_ it get the information? Does it try to
> do its own irq routing (bad!) or does it do it from /proc/bus/pci/devices?

It just reports what's in the PCI_INTERRUPT_LINE register.

At least on Alpha, we wrote into this register during pci
configuration, so the value matches what's in /proc/interrupts.
I guess I always assumed we did the same on x86, but I've
never checked.

r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/