Print found PCI IDs during chipset detection
Add debug output of the exact matched chipset PCI ID to keep track of
tested PCI IDs for chipsets with one name and multiple IDs. This will
help avoid problems similar to the Tyan S2915 OEM undetected flash in
the future.
Corresponding to flashrom svn r1008.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
diff --git a/chipset_enable.c b/chipset_enable.c
index bad0596..33ba2ba 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -1447,6 +1447,9 @@
msg_pinfo("Found chipset \"%s %s\", enabling flash write... ",
chipset_enables[i].vendor_name,
chipset_enables[i].device_name);
+ msg_pdbg("chipset PCI ID is %04x:%04x, ",
+ chipset_enables[i].vendor_id,
+ chipset_enables[i].device_id);
ret = chipset_enables[i].doit(dev,
chipset_enables[i].device_name);