summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/pcib_if.m10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/pcib_if.m b/sys/dev/pci/pcib_if.m
index c9f480e701a3..92d7cd6cc76f 100644
--- a/sys/dev/pci/pcib_if.m
+++ b/sys/dev/pci/pcib_if.m
@@ -30,6 +30,14 @@
INTERFACE pcib;
+CODE {
+ static int
+ null_route_interrupt(device_t pcib, device_t dev, int pin)
+ {
+ return (PCI_INVALID_IRQ);
+ }
+};
+
#
# Return the number of slots on the attached PCI bus.
#
@@ -78,4 +86,4 @@ METHOD int route_interrupt {
device_t pcib;
device_t dev;
int pin;
-};
+} default null_route_interrupt;