SysTutorials

Linux Manual Pages › Section 9

pci_find_bus(9)

pci_find_bus – locate PCI bus from a given domain and bus number

Synopsis

struct pci_bus *pci_find_bus(int domain, int busnr);

Arguments

domain

number of PCI domain to search

busnr

number of desired PCI bus

Description

Given a PCI bus number and domain number, the desired PCI bus is located in the global list of PCI buses. If the bus is found, a pointer to its data structure is returned. If no bus is found, NULL is returned.

Copyright