summaryrefslogtreecommitdiffstats
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-05-22 07:31:50 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-05-22 07:31:50 +0000
commitf469c271acd98667665f2dfeaf17af45b18454e1 (patch)
treed445f172359d8076298779d2a9357cffcd486a03 /chipset_enable.c
parent33d7b6aa89c83dc02464b1b6e7e816a14743be48 (diff)
downloadast2050-flashrom-f469c271acd98667665f2dfeaf17af45b18454e1.zip
ast2050-flashrom-f469c271acd98667665f2dfeaf17af45b18454e1.tar.gz
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>
Diffstat (limited to 'chipset_enable.c')
-rw-r--r--chipset_enable.c3
1 files changed, 3 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud