]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the OFW interrupt map parser to use its own idea of the number of interrupt
authornwhitehorn <nwhitehorn@FreeBSD.org>
Sat, 3 Jan 2009 19:38:47 +0000 (19:38 +0000)
committernwhitehorn <nwhitehorn@FreeBSD.org>
Sat, 3 Jan 2009 19:38:47 +0000 (19:38 +0000)
commit4ca12119c31e0cd42b3cb4b28dd898b8218290dc
tree098db494b106fc2ba6859a08899f153876ecd41f
parent6299d1e736cea0af7a3dba4c67151b374fa64885
Fix the OFW interrupt map parser to use its own idea of the number of interrupt
cells in the map, instead of using a value passed to it and then panicing if it
disagrees. This fixes interrupt map parsing for PCI bridges on some Apple
Uninorth PCI controllers.

Reported by: marcel
Tested on: G4 iBook, Sun Ultra 5
sys/dev/ofw/ofw_bus_subr.c
sys/dev/ofw/openfirm.c
sys/dev/ofw/openfirm.h
sys/powerpc/powermac/grackle.c
sys/powerpc/powermac/gracklevar.h
sys/powerpc/powermac/macio.c
sys/powerpc/powermac/uninorth.c
sys/powerpc/powermac/uninorthvar.h