cvs commit: src/sys/dev/pci pci.c
John Baldwin
jhb at FreeBSD.org
Thu Sep 29 08:04:42 PDT 2005
jhb 2005-09-29 15:04:41 UTC
FreeBSD src repository
Modified files:
sys/dev/pci pci.c
Log:
- Consolidate duplicated code for assigning interrupts to PCI devices via
routing, etc. in a static pci_assign_interrupt() function.
- Add a sledgehammer that allows the user to override the interrupt
assignment of any PCI device via a tunable (e.g. "hw.pci0.7.INTB=5" would
force any functions on the pci device in slot 7 of bus 0 that use B# to
use IRQ 5). This should be used with great caution! Generally, if the
interrupt routing in use provides specific tunables (such as hard-wiring
the IRQ for a given $PIR or ACPI PCI link device), then those should be
used instead. One instance where this tunable might be useful is if a
box has an MPTable with duplicate entries for the same PCI device with
different IRQs.
MFC after: 1 week
Revision Changes Path
1.299 +55 -17 src/sys/dev/pci/pci.c
More information about the cvs-all
mailing list