[PATCH] powerpc: Fix irq routing on some PowerMac 32 bits

Wang Haiying-r54964 Haiying.Wang at freescale.com
Thu Jan 11 04:42:56 EST 2007


 
>While I agree that we should definitely test for NULL and properly fail
>instead of crashing, there is still the question of why do you fail at
>this point. Do you have PCI devices that don't have 
>corresponding device
>nodes ? That is not a problem per-se, I'm just wondering if you have a
>device that is supposed to have a node but it's not matching due to a
>problem with the "reg" property...

The reason that it failed at this point is that there is a PCI bridge
connected to the PCI controller of the silicon. We defined this PCI
bridge as a pci node, but all the devices behind the bridge are not
defined as PCI node individually, thus they don't have "reg" property
except the bridge itself. Also, they are not on the same bus as which
the pci bridge is on. Please refer the
arch/powerpc/boot/dts/mpc8641_hpcn.dts or mpc8548cds.dts.

So we should definitely test for NULL here. 

Haiying



More information about the Linuxppc-dev mailing list