Re: MPC5200 VIRQ question

2008-12-11 Thread Benjamin Herrenschmidt
On Thu, 2008-12-11 at 07:59 -0700, Gary Thomas wrote: > > Notice that of_irq_map_one() can fail for a myriad of reasons - all quiet > (without debugging on). This function simply masks those into "sorry..." Right, it's not verbose on failure for various reasons. Most failures because something w

Re: MPC5200 VIRQ question

2008-12-11 Thread Gary Thomas
Benjamin Herrenschmidt wrote: [EMAIL PROTECTED] { device_type = "board-control"; #address-cells = <1>; #size-cells = <1>; // Note: includes sub-devices like CAN, A/D, etc reg = <0xf800 0x10>;

Re: MPC5200 VIRQ question

2008-12-10 Thread Grant Likely
On Wed, Dec 10, 2008 at 6:04 PM, Gary Thomas <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt wrote: >> On Thu, 2008-12-04 at 06:51 -0700, Gary Thomas wrote: >>> I have a MPC5200 based board which has an FPGA for external >>> I/O, etc. This FPGA also funnels interrupts from the various >>> exte

Re: MPC5200 VIRQ question

2008-12-10 Thread Jon Smirl
On Wed, Dec 10, 2008 at 8:04 PM, Gary Thomas <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt wrote: >> On Thu, 2008-12-04 at 06:51 -0700, Gary Thomas wrote: >>> I have a MPC5200 based board which has an FPGA for external >>> I/O, etc. This FPGA also funnels interrupts from the various >>> exte

Re: MPC5200 VIRQ question

2008-12-10 Thread Jon Smirl
On Wed, Dec 10, 2008 at 8:04 PM, Gary Thomas <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt wrote: >> On Thu, 2008-12-04 at 06:51 -0700, Gary Thomas wrote: >>> I have a MPC5200 based board which has an FPGA for external >>> I/O, etc. This FPGA also funnels interrupts from the various >>> exte

Re: MPC5200 VIRQ question

2008-12-10 Thread Benjamin Herrenschmidt
> >>[EMAIL PROTECTED] { > >>device_type = "board-control"; > >>#address-cells = <1>; > >>#size-cells = <1>; > >>// Note: includes sub-devices like CAN, A/D, etc > >>reg = <0xf800 0x10>; > >> > >>fpga_ic: [EMAIL PRO

Re: MPC5200 VIRQ question

2008-12-10 Thread Gary Thomas
Benjamin Herrenschmidt wrote: > On Thu, 2008-12-04 at 06:51 -0700, Gary Thomas wrote: >> I have a MPC5200 based board which has an FPGA for external >> I/O, etc. This FPGA also funnels interrupts from the various >> external devices through to the CPU. >> >> I've defined this structure in my DTS:

Re: MPC5200 VIRQ question

2008-12-08 Thread Benjamin Herrenschmidt
On Thu, 2008-12-04 at 06:51 -0700, Gary Thomas wrote: > I have a MPC5200 based board which has an FPGA for external > I/O, etc. This FPGA also funnels interrupts from the various > external devices through to the CPU. > > I've defined this structure in my DTS: > > [EMAIL PROTECTED] { >

MPC5200 VIRQ question

2008-12-04 Thread Gary Thomas
I have a MPC5200 based board which has an FPGA for external I/O, etc. This FPGA also funnels interrupts from the various external devices through to the CPU. I've defined this structure in my DTS: [EMAIL PROTECTED] { device_type = "board-control"; #address