morpheus_network::device::pci::diagnostics

Function read_host_bridge

Source
pub fn read_host_bridge() -> (u16, u16)
Expand description

Read the host bridge (bus 0, dev 0, func 0) vendor/device ID. This should ALWAYS return a valid device (the host bridge) if PCI works. Returns (vendor_id, device_id).