mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
PCI: log PCI device as bus:device.function tuple
Refers to comment in #417.
This commit is contained in:
@@ -128,7 +128,8 @@ static bool handle_pci_port_write(unsigned short port, T val)
|
||||
unsigned devfn = (val >> 8) & 0xffff;
|
||||
if (devfn != pci_card()->devfn()) {
|
||||
if (verbose)
|
||||
PWRN("accessing unknown PCI device %x", devfn);
|
||||
PWRN("accessing unknown PCI device %02x:%02x.%x",
|
||||
devfn >> 8, (devfn >> 3) & 0x1f, devfn & 0x7);
|
||||
pci_cfg_addr_valid = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user