lkml.org 
[lkml]   [2005]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI driver
Ralph Metzler wrote:

>Hi Manu,
>
>
>
Hello Ralph,

It's been a long time since heard your voice. I thought you had been
damn busy.
Nice to hear from you.

>Manu Abraham writes:
> > [ 102.261264] mantis_pci_probe: Got a device
> > [ 102.262852] mantis_pci_probe: We got an IRQ
> > [ 102.264392] mantis_pci_probe: We finally enabled the device
> > [ 102.266020] Mantis Rev 1, irq: 23, latency: 32
> > [ 102.266118] memory: 0xefeff000, mmio: f9218000
> > [ 102.269162] Trying to free free IRQ23
> > [ 110.297341] mantis_pci_remove: Removing -->Mantis irq: 23,
> > latency: 32
> > [ 110.297344] memory: 0xefeff000, mmio: 0xf9218000
> > [ 110.301326] Trying to free free IRQ23
> > [ 110.303445] Trying to free nonexistent resource <efeff000-efefffff>
>
>
>I think you should call pci_enable_device() before request_irq, etc.
>
>

Sure i will try that out..

>AFAIK, the pci_enable_device() can change resources like IRQ.
>That's probably what causes these errors. Just print out the irq
>number before and after pci_enable_device() to check if that's the
>problem.
>
>
>

I will check this out. I will come back on this soon.


Regards,
Manu


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-15 12:49    [W:0.135 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site