[HELP]:How does PCI/PCIE devices init/register themselves in linux kernel?

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

 




When kernel startup, pci subsystem will create pci_bus for each physical PCI bus, then the pci_bus will be added to pci_root_buses(with PCI configuration). But pci device driver register driver bypci_register_driver, and it will add pci driver to pci_bus_type. My question :
• How does pci_bus_type know PCI configuration.
• What is the relationship between pci_bus_type and pci_root_buses.

Somebody help me?
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux