diff options
author | mav <mav@FreeBSD.org> | 2010-06-14 07:10:37 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-06-14 07:10:37 +0000 |
commit | ea954fa396b041bd7926fa93cc6d5dc99f8e181a (patch) | |
tree | 423ab29863b618eb95213b9452c47472bc992ceb /sys/x86 | |
parent | e63e5eff064b854e57039ef919e33a4c0813018d (diff) | |
download | FreeBSD-src-ea954fa396b041bd7926fa93cc6d5dc99f8e181a.zip FreeBSD-src-ea954fa396b041bd7926fa93cc6d5dc99f8e181a.tar.gz |
Virtualize pci_remap_msi_irq() call from general MSI code. It allows MSI
(FSB interrupts) to be used by non-PCI devices, such as HPET.
Diffstat (limited to 'sys/x86')
-rw-r--r-- | sys/x86/x86/msi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/x86/x86/msi.c b/sys/x86/x86/msi.c index 6745ce2..428894e 100644 --- a/sys/x86/x86/msi.c +++ b/sys/x86/x86/msi.c @@ -247,7 +247,8 @@ msi_assign_cpu(struct intsrc *isrc, u_int apic_id) "msi: Assigning MSI IRQ %d to local APIC %u vector %u\n", sib->msi_irq, sib->msi_cpu, sib->msi_vector); } - pci_remap_msi_irq(msi->msi_dev, msi->msi_irq); + BUS_REMAP_INTR(device_get_parent(msi->msi_dev), msi->msi_dev, + msi->msi_irq); /* * Free the old vector after the new one is established. This is done |