Re: Doubt about Linux PCIe infraestructure

2010-09-28 Thread david . hagood
> Hi, > > I have a simple doubt about linux PCI/PCIe infraestructure. > > When I register a PCI driver using pci_register_driver() will the > probe function be automatically called or will it just be called if PCI > infraestructure match a Vendor and Device id on bus? When you register your driver,

Re: Doubt about Linux PCIe infraestructure

2010-09-28 Thread Micha Nelissen
Carlos Roberto Moratelli wrote: When I register a PCI driver using pci_register_driver() will the probe function be automatically called or will it just be called if PCI infraestructure match a Vendor and Device id on bus? Yes, vendor and device id must match. You can find those in lspci. Mic

Doubt about Linux PCIe infraestructure

2010-09-28 Thread Carlos Roberto Moratelli
Hi, I have a simple doubt about linux PCI/PCIe infraestructure. When I register a PCI driver using pci_register_driver() will the probe function be automatically called or will it just be called if PCI infraestructure match a Vendor and Device id on bus? I am loading a PCI driver that regist