aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2004-09-23 22:58:43 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2004-09-23 22:58:43 +0000
commitb19d97eb9c7abf9c27c2bf91e81efefe1340bedd (patch)
tree1d97c66cc0857d825df7c4af4008adcbf00664f2 /sys/dev/pci
parent2ae0fcd2209430a4d9d8f1378f72fd71e13ac53c (diff)
downloadsrc-b19d97eb9c7abf9c27c2bf91e81efefe1340bedd.tar.gz
src-b19d97eb9c7abf9c27c2bf91e81efefe1340bedd.zip
Re-route interrupts on arm as well.
Notes
Notes: svn path=/head/; revision=135677
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index d9a5e626a11b..053cf58da2d7 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -919,7 +919,8 @@ pci_add_resources(device_t pcib, device_t bus, device_t dev)
}
if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
-#if defined(__ia64__) || defined(__i386__) || defined(__amd64__)
+#if defined(__ia64__) || defined(__i386__) || defined(__amd64__) || \
+ defined(__arm__)
/*
* Try to re-route interrupts. Sometimes the BIOS or
* firmware may leave bogus values in these registers.