* PCI Interrupt Problems Since Kernel-2.6.19
@ 2008-01-21 2:34 Lost Garden
0 siblings, 0 replies; 2+ messages in thread
From: Lost Garden @ 2008-01-21 2:34 UTC (permalink / raw)
To: linux-kernel
I'm writing a driver for DVB-C PCI receiving cards these days and
I found a tricky problem of interrupts. Since kernel-2.6.19 the
interrupt handlers get rid of "struct pt_regs*" argument and I think
it will be easy for me to modify the driver to fit for the recent
kernel.
I simply delete the "struct pt_regs *" argument of my interrupt
handler and compile the driver again. But then I met a rather tricky
problem. I cann't get the PCI intterrupt now! I found that the chip on
the card actually had generate an interrupt and it should not be the
hardware problem.
I'm get seriously confused. My driver works well under kernel-2.6.18
but not generates a single interrupt signal when works above
kernel-2.6.19.
Does anybody meet similar problems?
Sincerely
Yours, Lost Graden.
1,21. 2008
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PCI Interrupt Problems Since Kernel-2.6.19
[not found] <fa.ymyLoSJzoVBOIvut+kIrLt7x/M4@ifi.uio.no>
@ 2008-01-21 23:49 ` Robert Hancock
0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2008-01-21 23:49 UTC (permalink / raw)
To: Lost Garden; +Cc: linux-kernel
Lost Garden wrote:
> I'm writing a driver for DVB-C PCI receiving cards these days and
> I found a tricky problem of interrupts. Since kernel-2.6.19 the
> interrupt handlers get rid of "struct pt_regs*" argument and I think
> it will be easy for me to modify the driver to fit for the recent
> kernel.
> I simply delete the "struct pt_regs *" argument of my interrupt
> handler and compile the driver again. But then I met a rather tricky
> problem. I cann't get the PCI intterrupt now! I found that the chip on
> the card actually had generate an interrupt and it should not be the
> hardware problem.
> I'm get seriously confused. My driver works well under kernel-2.6.18
> but not generates a single interrupt signal when works above
> kernel-2.6.19.
> Does anybody meet similar problems?
> Sincerely
> Yours, Lost Graden.
> 1,21. 2008
Need more details, like dmesg output. The source code of your driver
would also be useful. One common problem is not calling
pci_enable_device before requesting the interrupt..
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-21 23:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <fa.ymyLoSJzoVBOIvut+kIrLt7x/M4@ifi.uio.no>
2008-01-21 23:49 ` PCI Interrupt Problems Since Kernel-2.6.19 Robert Hancock
2008-01-21 2:34 Lost Garden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox