[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCI Device Drivers



On Wed, 2006-01-04 at 11:15 -0700, Sonja Tideman wrote:
> Hello,
> 
>  I am trying to debug some problems with a device driver for a cPCI
> device.  For some reason, the authors of the driver do not call
> pci_register_driver or pci_enable_device.  Should this cause any
> problems?  The driver registers itself via register_chrdev and calls
> request_irq to get the interrupt line. 

that's not working; the irq number doesn't get finalized until you call
pci_enable_device

what driver is this? is there a link to the source?
(yes I have a craving for looking at evil drivers occasionally ;)



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/