Function pci::get_pci_device_bsf
source · pub fn get_pci_device_bsf(
bus: u8,
slot: u8,
func: u8
) -> Result<Option<&'static PciDevice>, &'static str>
Expand description
Returns a reference to the PciDevice
with the given bus, slot, func identifier.
If the PCI bus hasn’t been initialized, this initializes the PCI bus & scans it to enumerates devices.