summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/mpc85xx
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-11-20 17:59:50 +0000
committermarcel <marcel@FreeBSD.org>2009-11-20 17:59:50 +0000
commitca5edf0fbf82952a5abaa900be8d00c8562ca803 (patch)
tree3e86bcbd4e77e842a07763a3630e03c66a76ed49 /sys/powerpc/mpc85xx
parenta74ed066d837994e27428f75e9df5cd7300f0b02 (diff)
downloadFreeBSD-src-ca5edf0fbf82952a5abaa900be8d00c8562ca803.zip
FreeBSD-src-ca5edf0fbf82952a5abaa900be8d00c8562ca803.tar.gz
Always allocate PCI/ISA interrupts as shareable so that shared
interrupts don't cause driver attach failures.
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r--sys/powerpc/mpc85xx/pci_ocp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/mpc85xx/pci_ocp.c b/sys/powerpc/mpc85xx/pci_ocp.c
index b98f62c..4fe4fbc 100644
--- a/sys/powerpc/mpc85xx/pci_ocp.c
+++ b/sys/powerpc/mpc85xx/pci_ocp.c
@@ -783,6 +783,7 @@ pci_ocp_alloc_resource(device_t dev, device_t child, int type, int *rid,
device_printf(dev, "%s requested ISA interrupt %lu\n",
device_get_nameunit(child), start);
}
+ flags |= RF_SHAREABLE;
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
type, rid, start, end, count, flags));
default:
OpenPOWER on IntegriCloud