[RFC PATCH 16/19] powerpc: wii: hollywood interrupt controller support
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Nov 27 08:13:44 EST 2009
On Thu, 2009-11-26 at 16:42 +0100, Albert Herranz wrote:
> Benjamin Herrenschmidt wrote:
> > On Sun, 2009-11-22 at 23:01 +0100, Albert Herranz wrote:
> >
> >> +static void hlwd_pic_mask_and_ack(unsigned int virq)
> >> +{
> >> + int irq = virq_to_hw(virq);
> >> + void __iomem *io_base = get_irq_chip_data(virq);
> >> +
> >> + clear_bit(irq, io_base + HW_BROADWAY_IMR);
> >> + set_bit(irq, io_base + HW_BROADWAY_ICR);
> >> +}
> >
> > Same comment as with flipper. BTW. It looks really similar, can't you
> > use the same driver ?
> >
>
> I'll look at it. Surely, parts of it would be mergeable.
If it's too much work, we can do that later. No big deal.
Cheers,
Ben.
> > Cheers,
> > Ben.
> >
>
> Thanks,
> Albert
>
> >
> >
More information about the Linuxppc-dev
mailing list