summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-12-27 18:40:36 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-12-27 18:40:36 +0000
commit841a9973f2d1825203bdee79593a44767b515e26 (patch)
treeb4ba0971a1d5ff2f8e1693ae66b33e8c8cda1843 /spi.c
parent342bb7a0365d0faa8d451344900e4cfd91a63d09 (diff)
downloadflashrom-841a9973f2d1825203bdee79593a44767b515e26.zip
flashrom-841a9973f2d1825203bdee79593a44767b515e26.tar.gz
Unify usbdev_status and pcidev_status into dev_entry
Once upon a time usbdev_status was created for the ft2232 programmer. Its IDs are semantically different to pcidev_status because they indicate USB instead of PCI IDs, but apart from that both data structures are equal. This change makes life easier for everything involved in handling and printing the status of devices that is noted in those structures by combining them into dev_entry. It is still possible to distinguish between PCI and USB devices indirectly by using the struct programmer's type field. Also, add a programmer column to the PCI and USB devices lists. Corresponding to flashrom svn r1632. 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 'spi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud