Re: [PATCH] General CHRP/MPC5K2 platform support patch
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-10-26 12:49:24
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-10-26 12:49:24
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.