diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-27 18:40:26 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-27 18:40:26 +0000 |
commit | af358d6af23b21f93f6e27278e76eec21a3d148f (patch) | |
tree | be7adedc94b5c55dec0e7e1f1dae88ef4e127fad /ogp_spi.c | |
parent | a6d96480176417478350e97338451554b5450cba (diff) | |
download | flashrom-af358d6af23b21f93f6e27278e76eec21a3d148f.tar.gz flashrom-af358d6af23b21f93f6e27278e76eec21a3d148f.tar.bz2 flashrom-af358d6af23b21f93f6e27278e76eec21a3d148f.zip |
Refactor PCI and USB device status printing
To be able to get rid of lots of #ifdefs and centralize programmer-specific
data more...
- introduce two new fields to struct programmer_entry, namely
enum type (OTHER, USB, PCI) and union devs (pcidev_status, usbdev_status
or char *note).
- use those fields to generate device listings in print.c and print_wiki.c.
Bonus: add printing of USB devices to print_wiki.c and count supported PCI
and USB devices.
Corresponding to flashrom svn r1631.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'ogp_spi.c')
0 files changed, 0 insertions, 0 deletions