summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci_if.m
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-05-16 09:31:44 +0000
committerandrew <andrew@FreeBSD.org>2016-05-16 09:31:44 +0000
commitcb60d232484543011e4ff8ef6297e9bde00cd4b7 (patch)
treeea7ade04a96f7a75a4549743125c268538974c99 /sys/dev/pci/pci_if.m
parentc8b75fc824d9701ee119de24599a43d3212dd4ad (diff)
downloadFreeBSD-src-cb60d232484543011e4ff8ef6297e9bde00cd4b7.zip
FreeBSD-src-cb60d232484543011e4ff8ef6297e9bde00cd4b7.tar.gz
Add a pcib interface for use by interrupt controllers that need to
translate the pci rid to a controller ID. The translation could be based on the 'msi-map' OFW property, a similar ACPI option, or hard-coded for hardware lacking the above options. Reviewed by: wma Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev/pci/pci_if.m')
-rw-r--r--sys/dev/pci/pci_if.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/pci_if.m b/sys/dev/pci/pci_if.m
index 25dbce4..5f8415f 100644
--- a/sys/dev/pci/pci_if.m
+++ b/sys/dev/pci/pci_if.m
@@ -58,6 +58,7 @@ HEADER {
enum pci_id_type {
PCI_ID_RID,
+ PCI_ID_MSI,
};
}
OpenPOWER on IntegriCloud