summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-04-13 16:30:30 +0000
committerWarner Losh <imp@FreeBSD.org>2005-04-13 16:30:30 +0000
commit491bfec7073c08f0670d59411ef16bf4701aaaab (patch)
tree5d9f33c4f9870d81614b22c0455f52b7333f5adc /sys/dev/pci
parentf5c4c316eba5a6c3f70cf457a3bce636b13eaf21 (diff)
Notes
Diffstat (limited to 'sys/dev/pci')
-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;