summaryrefslogtreecommitdiff
path: root/drkaiser.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-12-27 18:40:36 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-12-27 18:40:36 +0000
commit6eed16849681bc1bcbb12c9f2920657216011681 (patch)
treeb4ba0971a1d5ff2f8e1693ae66b33e8c8cda1843 /drkaiser.c
parenta7072c894c25ca03b4b5962ef0be3cbc6eaa506a (diff)
downloadflashrom-6eed16849681bc1bcbb12c9f2920657216011681.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. Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1632 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'drkaiser.c')
-rw-r--r--drkaiser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drkaiser.c b/drkaiser.c
index 8c9f560..e461061 100644
--- a/drkaiser.c
+++ b/drkaiser.c
@@ -33,7 +33,7 @@
/* Mask to restrict flash accesses to the 128kB memory window. */
#define DRKAISER_MEMMAP_MASK ((1 << 17) - 1)
-const struct pcidev_status drkaiser_pcidev[] = {
+const struct dev_entry drkaiser_pcidev[] = {
{0x1803, 0x5057, OK, "Dr. Kaiser", "PC-Waechter (Actel FPGA)"},
{0},