RE: Question: GPIO driver how to get irq_base

From: Tomoya MORINAGA
Date: Thu Apr 21 2011 - 20:33:15 EST


Hi Grant, Lars-Peter Clausen

Thank you for your information.

It seems nothing driver uses irq_alloc_descs.
Thus, let me clarify my using.

int irq_base = irq_alloc_descs(-1, 0, 12, GFP_KERNEL)
(Intel-ET20T-PCH has GPIO~GPIO11)

Using the above, I can see "irq_base = 18d".
Is the above TRUE ?

Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.

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