From ca5edf0fbf82952a5abaa900be8d00c8562ca803 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 20 Nov 2009 17:59:50 +0000 Subject: Always allocate PCI/ISA interrupts as shareable so that shared interrupts don't cause driver attach failures. --- sys/powerpc/mpc85xx/pci_ocp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') 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: -- cgit v1.1