PCI_FIND_BUS

Section: Hardware Interfaces (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

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