[coreboot] [patch] add required info to not-matched vendor/device id

Elia Yehuda z4ziggy at gmail.com
Fri Nov 7 03:47:26 CET 2008


Signed-off-by: Elia Yehuda <z4ziggy at gmail.com>

Index: src/devices/pci_rom.c
===================================================================
--- src/devices/pci_rom.c    (revision 3698)
+++ src/devices/pci_rom.c    (working copy)
@@ -67,8 +67,10 @@
     printk_spew("PCI ROM Image, Vendor %04x, Device %04x,\n",
             rom_data->vendor, rom_data->device);
     if (dev->vendor != rom_data->vendor || dev->device != rom_data->device)
{
-        printk_err("Device or Vendor ID mismatch Vendor %04x, Device
%04x\n",
-               rom_data->vendor, rom_data->device);
+        printk_err("Device or Vendor ID mismatch Vendor %04x, Device %04x "
+               "(Vendor %04x, Device %04x)\n",
+               rom_data->vendor, rom_data->device,
+               dev->vendor, dev->device);
         return NULL;
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081107/a3df0389/attachment.html>


More information about the coreboot mailing list