RE: request_irq() and setup_irq()

From: Tian, Kevin <kevin.tian_at_intel.com>
Date: 2004-10-22 11:22:48
>-----Original Message-----
>From: linux-ia64-owner@vger.kernel.org
[mailto:linux-ia64-owner@vger.kernel.org]
>On Behalf Of Christian Hildner
>Sent: Thursday, October 21, 2004 11:12 PM
>Hi,
>
>looking through the sources of 2.4.21 there come up one question. If a
>device wants to register its interrupt it may call request_irq() that
>then calls setup_irq(). Now since SA_PERCPU_IRQ is not set by the
device
>setup_irq() does not initialize desc->handler. Can that be fixed by
>adding SA_PERCPU_IRQ to irqflags in request_irq() or does that
introduce
>problems at another place?
>
>Christian

ACPI can provide MADT table for lsapic and iosapic info in local system.
>From that table, linux will configure interrupt controller info for each
interrupt line when bootup. You can look at iosapic_init(), which
constructs per-line info related to iosapic. Say, by trigger mode of
specific line, register_intr() will decide whether irq_type_iosapic_edge
or irq_type_iosapic_level should be used. 

Thanks,
Kevin
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Oct 21 22:07:05 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:31 EST