Subject: CVS commit: [netbsd-2] src/sys/arch/macppc/pci
To: None <source-changes@NetBSD.org>
From: Soren Jacobsen <snj@netbsd.org>
List: source-changes
Date: 05/08/2005 17:49:42
Module Name:	src
Committed By:	snj
Date:		Sun May  8 17:49:42 UTC 2005

Modified Files:
	src/sys/arch/macppc/pci [netbsd-2]: pci_machdep.c

Log Message:
Pull up revision 1.26 (requested by briggs in ticket #1330):
OpenFirmware on machines with the "Grackle" bridge assign an 'AAPL,interrupts'
property instead of 'interrupt-map' and 'interrupt-map-mask' properties.
Adjust for this by checking for the latter, and if they're not present
(and the parent isn't 'pci-bridge'), then look for 'AAPL,interrupts'.
Problem analyzed and patched by Tim Kelly on port-macppc.  I modified the
patch to move the fallback into find_node_intr(), tweaking some previously-
disabled code.


To generate a diff of this commit:
cvs rdiff -r1.24.2.1 -r1.24.2.1.2.1 src/sys/arch/macppc/pci/pci_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.