[PATCH] General CHRP/MPC5K2 platform support patch

Nicolas DET nd at bplan-gmbh.de
Thu Oct 26 22:59:38 EST 2006


Benjamin Herrenschmidt wrote:
>> rent patch, I know do:
>> mpc52xx_irqhost = irq_alloc_host(IRQ_HOST_MAP_LINEAR, NR_IRQS, 
>> &mpc52xx_irqhost_ops, -1);
>>
>> Which should be ok.
> 
> NR_IRQ, it's a bit violent :) It's also the max number of virtual IRQs
> and thus has nothing to do with your HW numbers. Use the max number of
> HW IRQs here.
> 
> Ben.
> 
> 
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chrpmpc52xx_2.6.19-rc3.patch
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20061026/3ee86db0/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nd.vcf
Type: text/x-vcard
Size: 249 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20061026/3ee86db0/attachment.vcf 


More information about the Linuxppc-embedded mailing list