From: Sam Ravnborg <sam@xxxxxxxxxxxx> Date: Thu, 17 Feb 2011 21:57:48 +0100 > I'm trying to understand how we deal with floppy irq on sparc64. > > In arch/sparc/include/asm/floppy_64.h we have: > > error = request_irq(FLOPPY_IRQ, sparc_floppy_irq, > IRQF_DISABLED, "floppy", NULL); > > FLOPPY_IRQ is set equal op->archdata.irqs[0] in sun_floppy_init(). > So FLOPPY_IRQ is the platform irq - and not a virtual irq. The archdata IRQ is actually the computed virtual IRQ. This is the same as how we fetch the IRQ to use in other "OF" platform drivers. Look at drivers/net/sunhme.c's OF platform driver probing, it uses of->archdata.irqs[0] as the IRQ. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html