The bus, device, and function numbers are now printed next to the PCIe vendor and device IDs
1 files changed, 1 insertions(+), 1 deletions(-) M kernel/src/pcie.c
M kernel/src/pcie.c +1 -1
@@ 117,7 117,7 @@ void pcie_init(struct mcfg* mcfg) { if(hdr->vendor_id == 0xFFFF) { continue; } - kprintf("PCIe device: %X:%X\n", hdr->vendor_id, hdr->device_id); + kprintf("%X:%X.%X: PCIe device: %X:%X\n", bus, dev, func, hdr->vendor_id, hdr->device_id); } } }