lkml.org 
[lkml]   [2004]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PCI interrupt lost
From
Date
On Mon, 2004-12-13 at 07:59 -0700, Zwane Mwaikambo wrote:
> > So, to make things short, my device is generating interrupts, my code
> > has a functioning and registered interrupt routine (/proc/interrupts
> > agrees as well but interrupt count is 0 for the specific IRQ), but no
> > interrupt is ever received from the PCI card.
>
> What does the PCI device report as the interrupt line? What do you
> register with request_irq?

No there's no problem there. I always register the correct interrupt
line (the one that is seen with lspci for example), without explicitly
requesting the number, but by using dev->irq after I've called
pci_enable_device()

>
> Ps. Isn't there already a driver for that controller?

Yep, and not only one I might add... But none of them is showing the
correct behaviour that a good driver should (in my humble opinion), and
the best efforts are for kernels 2.4

Anyway, thanks

--
Dimitris Lampridis <labis@mhl.tuc.gr>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.095 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site