Subject: CVS commit: src/sys/arch/macppc/pci
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 12/07/2004 13:22:52
Module Name:	src
Committed By:	briggs
Date:		Tue Dec  7 13:22:52 UTC 2004

Modified Files:
	src/sys/arch/macppc/pci: pci_machdep.c

Log Message:
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.25 -r1.26 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.