pub fn ecam_read_config(
ecam_base: u64,
bus: u8,
device: u8,
func: u8,
offset: u16,
) -> Option<u32>Expand description
Read a PCI config register using memory-mapped ECAM access (PCIe).
ecam_base is the physical base address of the ECAM region from ACPI MCFG.
Returns None if the physical-to-virtual translation is unavailable.