]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
pci: clean up the debug message for pci capability found
authorJing Liu <jing2.liu@linux.intel.com>
Fri, 24 Aug 2018 08:53:00 +0000 (16:53 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Sep 2018 06:37:18 +0000 (08:37 +0200)
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>
src/fw/pciinit.c

index d2cea2bb0d708af60bab7ef4f9263347480a2f39..62a32f1ea12f4b8ef44a76a80313fd2fc48a4892 100644 (file)
@@ -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;
     }
 }