Re: Does it need to implement irq_set_type method in the ioapic_chip?

2014-02-18 Thread carl peng
, 2014 at 4:13 AM, Thomas Gleixner wrote: > On Tue, 18 Feb 2014, carl peng wrote: > > Carl, sending the same mail twice within an hour does not speed up > things. It's quite likely that it gets ignored. > >> 1. Does it need to implement irq_set_type method in the ioapic

Re: Does it need to implement irq_set_type method in the ioapic_chip?

2014-02-18 Thread carl peng
On February 18, 2014 6:32:44 PM PST, carl peng wrote: >>Hi Thomas, >> >>Thanks a lot for your help! >> >>But I still have some confusion. Could you please help to give some >>suggestions to me? >> >>1) This device is a ACPI device, the hardware eng

Does it need to implement irq_set_type method in the ioapic_chip?

2014-02-17 Thread carl peng
Hi, I'm sorry to bother you! Does it need to implement irq_set_type method in the ioapic_chip(arch/x86/kernel/apic/io_apic.c) structure? Recently, I developed a device driver based on x86. The device uses a falling edge interrupt trigger mode, so I have to set the trigger mode in the request_irq