From f469c271acd98667665f2dfeaf17af45b18454e1 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 22 May 2010 07:31:50 +0000 Subject: 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 Acked-by: Michael Karcher --- chipset_enable.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chipset_enable.c') 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 @@ int chipset_flash_enable(void) 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); -- cgit v1.1