mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
PCI: log PCI device as bus:device.function tuple
Refers to comment in #417.
This commit is contained in:
parent
7822c4e9a4
commit
502976dec1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user