[PATCH 12/16] powerpc: add ps3 platform interrupt support
Geert Uytterhoeven
Geert.Uytterhoeven at sonycom.com
Mon Nov 13 17:23:16 EST 2006
Hi Geoff,
On Fri, 10 Nov 2006, Geoff Levand wrote:
> +static struct irq_chip irq_chip = {
> + .name = "ps3pf",
> + .mask = chip_mask,
> + .unmask = chip_unmask,
> + .eoi = chip_eoi,
> +};
For 2.6.19, you have to set .typename, not .name, else /proc/interrupts prints
`<NULL>'.
Signed-Off-By: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
Index: linux-ps3-geert/arch/powerpc/platforms/ps3pf/interrupt.c
===================================================================
--- linux-ps3-geert.orig/arch/powerpc/platforms/ps3pf/interrupt.c 2006-11-10 16:56:32.000000000 +0900
+++ linux-ps3-geert/arch/powerpc/platforms/ps3pf/interrupt.c 2006-11-13 14:52:31.000000000 +0900
@@ -423,7 +423,7 @@ chip_eoi (unsigned int virq)
static struct irq_chip irq_chip =
{
- .name = "ps3pf",
+ .typename = "ps3pf",
.mask = chip_mask,
.unmask = chip_unmask,
.eoi = chip_eoi,
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven at sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium
More information about the Linuxppc-dev
mailing list