[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d6898730811080353q6cae6620qbf203735d592a40e@mail.gmail.com>
Date: Sat, 8 Nov 2008 17:23:25 +0530
From: "Nobin Mathew" <nobin.mathew@...il.com>
To: "Jiri Slaby" <jirislaby@...il.com>
Cc: "Grant Grundler" <grundler@...isc-linux.org>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
"Robert Hancock" <hancockr@...w.ca>
Subject: Re: sharing interrupt between PCI device
This is what happens when we insert and remove the hp-ilo driver (dmesg logs).
for remove
ACPI: PCI interrupt for device 0000:01:04.2 disabled
when inserted
PCI: Enabling device 0000:01:04.2 (0114 -> 0117)
ACPI: PCI Interrupt 0000:01:04.2[B] -> GSI 23 (level, low) -> IRQ 225
Thanks
On Sat, Nov 8, 2008 at 3:19 PM, Jiri Slaby <jirislaby@...il.com> wrote:
> On 11/08/2008 08:57 AM, Grant Grundler wrote:
>> On Wed, Nov 05, 2008 at 02:50:01PM +0530, Nobin Mathew wrote:
>>> Hi
>>>
>>>
>>> Code is here
>>> first one USB Virual input devices
>>>
>>> http://lxr.linux.no/linux+v2.6.27.4/drivers/usb/core/hcd-pci.c
>>>
>>> Second one is hp-ilo driver
>>>
>>> http://lxr.linux.no/linux+v2.6.27.4/drivers/misc/hpilo.c
>>
>> I looked for usage of request_irq() and didn't see it in either driver.
>
> The second one doesn't use interrupts at all. How can this be listed in
> /proc/interrupts on any line?
>
> The first one obviously uses irq by registering it in common *hci layer.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists