lkml.org 
[lkml]   [2006]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [-mm patch 1/4] GPIO framework for AVR32
    On Tue, 07 Nov 2006 13:36:04 -0800
    David Brownell <david-b@pacbell.net> wrote:

    > > +#define EXTERNAL_IRQ_BASE NR_INTERNAL_IRQS
    > > +#define NR_EXTERNAL_IRQS 32
    > > +#define GPIO_IRQ_BASE (EXTERNAL_IRQ_BASE +
    > > NR_EXTERNAL_IRQS) +#define NR_GPIO_IRQS (4 * 32)
    > > +
    > > +#define NR_IRQS (GPIO_IRQ_BASE +
    > > NR_GPIO_IRQS)
    >
    > Did I miss something, or are the IRQs starting at GPIO_IRQ_BASE
    > not actually implemented? There's no irq_chip with name "GPIO"
    > or anything. The AT91 code should be almost a drop-in there...

    No, you didn't miss anything, but I do want to implement a "GPIO"
    irq_chip like at91 does. I suppose I can reduce NR_IRQS a bit until
    it happens, but then again it's perhaps better to just implement the
    irq_chip thing...

    Haavard
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-11-08 11:33    [W:0.022 / U:61.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site