diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-27 18:40:36 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-27 18:40:36 +0000 |
commit | 4b24a2d70b79f3288370fd5b4f472bdf218f16e8 (patch) | |
tree | b4ba0971a1d5ff2f8e1693ae66b33e8c8cda1843 /nicrealtek.c | |
parent | af358d6af23b21f93f6e27278e76eec21a3d148f (diff) | |
download | flashrom-4b24a2d70b79f3288370fd5b4f472bdf218f16e8.tar.gz flashrom-4b24a2d70b79f3288370fd5b4f472bdf218f16e8.tar.bz2 flashrom-4b24a2d70b79f3288370fd5b4f472bdf218f16e8.zip |
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 'nicrealtek.c')
-rw-r--r-- | nicrealtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nicrealtek.c b/nicrealtek.c index 92f48a8c4..3c3b26111 100644 --- a/nicrealtek.c +++ b/nicrealtek.c @@ -30,7 +30,7 @@ static int bios_rom_addr, bios_rom_data; -const struct pcidev_status nics_realtek[] = { +const struct dev_entry nics_realtek[] = { {0x10ec, 0x8139, OK, "Realtek", "RTL8139/8139C/8139C+"}, {0x10ec, 0x8169, NT, "Realtek", "RTL8169"}, {0x1113, 0x1211, OK, "SMC", "1211TX"}, /* RTL8139 clone */ |