diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-05-22 07:31:50 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-05-22 07:31:50 +0000 |
commit | f469c271acd98667665f2dfeaf17af45b18454e1 (patch) | |
tree | d445f172359d8076298779d2a9357cffcd486a03 | |
parent | 33d7b6aa89c83dc02464b1b6e7e816a14743be48 (diff) | |
download | flashrom-f469c271acd98667665f2dfeaf17af45b18454e1.tar.gz flashrom-f469c271acd98667665f2dfeaf17af45b18454e1.tar.bz2 flashrom-f469c271acd98667665f2dfeaf17af45b18454e1.zip |
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>
-rw-r--r-- | chipset_enable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index bad0596b8..33ba2ba0c 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); |