diff options
author | Jing Liu <jing2.liu@linux.intel.com> | 2018-08-24 16:53:00 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-05 08:37:18 +0200 |
commit | 478bc3e99394601f28a9cbb9f61cb41628962ac7 (patch) | |
tree | fada748ac45be0eb158c780c616999f88bb194ee | |
parent | 2c455ccc0cd67412983b6ae575190d5036256817 (diff) | |
download | seabios-478bc3e99394601f28a9cbb9f61cb41628962ac7.tar.gz |
pci: clean up the debug message for pci capability found
Improve the debug message when QEMU resource reserve cap
is not found and when the vendor-id or device-id does't match
REDHAT special ones.
Signed-off-by: Jing Liu <jing2.liu@linux.intel.com>
Message-id: 1535100781-3910-3-git-send-email-jing2.liu@linux.intel.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | src/fw/pciinit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index d2cea2bb..62a32f1e 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c @@ -541,10 +541,12 @@ static u8 pci_find_resource_reserve_capability(u16 bdf) cap_len); return 0; } + } else { + dprintf(1, "PCI: QEMU resource reserve cap not found\n"); } return cap; } else { - dprintf(1, "PCI: QEMU resource reserve cap not found\n"); + dprintf(1, "PCI: QEMU resource reserve cap VID or DID doesn't match.\n"); return 0; } } |