Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2009 17:59:50 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199602 - head/sys/powerpc/mpc85xx
Message-ID:  <200911201759.nAKHxo6I052048@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Fri Nov 20 17:59:50 2009
New Revision: 199602
URL: http://svn.freebsd.org/changeset/base/199602

Log:
  Always allocate PCI/ISA interrupts as shareable so that shared
  interrupts don't cause driver attach failures.

Modified:
  head/sys/powerpc/mpc85xx/pci_ocp.c

Modified: head/sys/powerpc/mpc85xx/pci_ocp.c
==============================================================================
--- head/sys/powerpc/mpc85xx/pci_ocp.c	Fri Nov 20 17:17:44 2009	(r199601)
+++ head/sys/powerpc/mpc85xx/pci_ocp.c	Fri Nov 20 17:59:50 2009	(r199602)
@@ -783,6 +783,7 @@ pci_ocp_alloc_resource(device_t dev, dev
 			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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911201759.nAKHxo6I052048>