public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Could not deliver interrupts to the PCI board
@ 2005-03-07  2:50 Li, Feng (GE Healthcare)
       [not found] ` <D02325A0F0177A468FD385A98178C53E0C3DF60A-5f9O7Fn4wvickVo8Y7U6IZteJpo0ey06@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Li, Feng (GE Healthcare) @ 2005-03-07  2:50 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello guys,
     I am trying to port our old pci drivers from Linux 2.4 kernel to Linux 2.6 kernel.
Now i am working in Linux 2.6.11. I found a strange problem , after i installed the new driver(based on 2.6.11 kernel)
into kernel, our pci device is recognized as IO-APIC-edge,  and no interrupts can be catched by our driver.( The PCI device shuold be a 
IO-APIC-level type)
     So we disabled the ACPI service and restart the computer again, then the pci device can be recognized as
IO-APIC-level, the driver works well! I think,there are maybe some changes in 2.6.11 for ACPI sleep 
and hibernate that essentially puts ACPI in control of interrupts for many devices.Should i  need to add ACPI 
declaration data to the driver ?

Thanks very much!
Li Feng

 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Could not deliver interrupts to the PCI board
       [not found] ` <D02325A0F0177A468FD385A98178C53E0C3DF60A-5f9O7Fn4wvickVo8Y7U6IZteJpo0ey06@public.gmane.org>
@ 2005-03-07 17:12   ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2005-03-07 17:12 UTC (permalink / raw)
  To: Li, Feng (GE Healthcare); +Cc: ACPI List

On Mon, 2005-03-07 at 10:50 +0800, Li, Feng (GE Healthcare) wrote:
>      I am trying to port our old pci drivers from Linux 2.4 kernel to Linux 2.6 kernel.
> Now i am working in Linux 2.6.11. I found a strange problem , after i installed the new driver(based on 2.6.11 kernel)
> into kernel, our pci device is recognized as IO-APIC-edge,  and no interrupts can be catched by our driver.( The PCI device shuold be a 
> IO-APIC-level type)

Make sure that your driver calls pci_enable_device() before
looking at dev->irq.  We now use that hook to do interrupt
routing (enable link devices, set to level triggered mode,
etc).

>      So we disabled the ACPI service and restart the computer again, then the pci device can be recognized as
> IO-APIC-level, the driver works well! I think,there are maybe some changes in 2.6.11 for ACPI sleep 
> and hibernate that essentially puts ACPI in control of interrupts for many devices.Should i  need to add ACPI 
> declaration data to the driver ?

You should not need to add any ACPI smarts to your driver if
it does the pci_enable_device() correctly.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-07 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-07  2:50 Could not deliver interrupts to the PCI board Li, Feng (GE Healthcare)
     [not found] ` <D02325A0F0177A468FD385A98178C53E0C3DF60A-5f9O7Fn4wvickVo8Y7U6IZteJpo0ey06@public.gmane.org>
2005-03-07 17:12   ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox