Remove firmware-IDs
authorMichael Buesch <m@bues.ch>
Sun, 21 Aug 2011 11:58:40 +0000 (13:58 +0200)
committerMichael Buesch <m@bues.ch>
Sun, 21 Aug 2011 11:58:40 +0000 (13:58 +0200)
They are unmaintained in the kernel driver.

Signed-off-by: Michael Buesch <m@bues.ch>
fwcutter/fwcutter.c
fwcutter/fwcutter.h
fwcutter/fwcutter_list.h

index 38d4c45c98da1f792d972939c3631490652586bd..20337589192761ae17b351f9bbd4d488d242f85e 100644 (file)
@@ -425,8 +425,6 @@ static void print_file(const struct file *file)
        printf("%s\t", file->ucode_version);
        if (strlen(file->ucode_version) < 8) printf("\t");
 
-       printf("%s\t", file->id);
-
        printf("%s\n", file->md5);
 }
 
@@ -437,15 +435,10 @@ static void print_supported_files(void)
        print_banner();
        printf("\nExtracting firmware is possible "
               "from these binary driver files.\n"
-              "The <ID> column shows the unique identifier string "
-              "for your firmware.\nYou must select the firmware with the "
-              "same ID as printed by the kernel driver on modprobe.\n"
-              "Note that only recent drivers print such a message on modprobe.\n"
               "Please read http://linuxwireless.org/en/users/Drivers/b43#devicefirmware\n\n");
        printf("<driver>\t"
               "<filename>\t\t"
               "<microcode>\t"
-              "<ID>\t"
               "<MD5 checksum>\n\n");
        /* print for legacy driver first */
        for (i = 0; i < ARRAY_SIZE(files); i++)
@@ -481,7 +474,6 @@ static const struct file *find_file(FILE *fd)
                if (file_ok(&files[i]) &&
                    strcasecmp(md5sig, files[i].md5) == 0) {
                        printf("This file is recognised as:\n");
-                       printf("  ID         :  %s\n", files[i].id);
                        printf("  filename   :  %s\n", files[i].name);
                        printf("  version    :  %s\n", files[i].ucode_version);
                        printf("  MD5        :  %s\n", files[i].md5);
index 783c6b4351dc32f71ad10cd46659c06646d66514..c6d3c3fc4a5ea3e2a0c336664f99a26f6b61ce92 100644 (file)
@@ -68,7 +68,6 @@ struct extract {
 
 struct file {
        const char *name;
-       const char *id;
        const char *ucode_version;
        const char *md5;
        const struct extract *extract;
index abeec80b61500953c92e4e312a3d7012a87cd2a2..f84607fb40220e866f7ad4390dd3fa34d6e3dd68 100644 (file)
@@ -779,7 +779,6 @@ static const struct file files[] =
 {
        {
                .name           = "wl_apsta.o",
-               .id             = "FW10",
                .ucode_version  = "295.14",
                .md5            = "e08665c5c5b66beb9c3b2dd54aa80cb3",
                .flags          = FW_FLAG_LE,
@@ -789,7 +788,6 @@ static const struct file files[] =
                /* http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2 */
                /* This firmware has the old TX header. */
                .name           = "wl_apsta.o",
-               .id             = "FW11",
                .ucode_version  = "351.126",
                .md5            = "9207bc565c2fc9fa1591f6c7911d3fc0",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -799,7 +797,6 @@ static const struct file files[] =
                /* http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2 */
                /* This firmware has the old TX header. */
                .name           = "wl_apsta_mimo.o",
-               .id             = "FW11",
                .ucode_version  = "351.126",
                .md5            = "722e2e0d8cc04b8f118bb5afe6829ff9",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -808,7 +805,6 @@ static const struct file files[] =
        {
                /* ftp://ftp.linksys.com/opensourcecode/wrt150nv11/1.51.3/ */
                .name           = "wl_ap.o",
-               .id             = "FW12",
                .ucode_version  = "410.2160",
                .md5            = "1e4763b4cb8cfbaae43e5c6d3d6b2ae7",
                .flags          = FW_FLAG_LE | FW_FLAG_V4 | FW_FLAG_UNSUPPORTED,
@@ -817,7 +813,6 @@ static const struct file files[] =
        {
                /* http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2 */
                .name           = "wl_apsta_mimo.o",
-               .id             = "FW13",
                .ucode_version  = "410.2160",
                .md5            = "cb8d70972b885b1f8883b943c0261a3c",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -826,7 +821,6 @@ static const struct file files[] =
        {
                /* http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2 */
                .name           = "wl_apsta.o",
-               .id             = "FW14",
                .ucode_version  = "478.104",
                .md5            = "bb8537e3204a1ea5903fe3e66b5e2763",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -835,7 +829,6 @@ static const struct file files[] =
        {
                /* http://mirror2.openwrt.org/sources/broadcom-wl-5.10.56.27.3_mipsel.tar.bz2 */
                .name           = "wl_prebuilt.o",
-               .id             = "FW15",
                .ucode_version  = "508.1084",
                .md5            = "490d4e149ecc45eb1a91f06aa75be071",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -844,7 +837,6 @@ static const struct file files[] =
        {
                /* http://www.lwfinger.com/b43-firmware/broadcom-wl-5.10.56.51.tar.bz2 */
                .name           = "wl_apsta.o",
-               .id             = "FW16",
                .ucode_version  = "508.1107",
                .md5            = "f06c8aa30ea549ce21872d10ee9a7d48",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -853,7 +845,6 @@ static const struct file files[] =
        {
                /* http://www.lwfinger.com/b43-firmware/broadcom-wl-5.10.56.2808.tar.bz2 */
                .name           = "wl_apsta.o",
-               .id             = "FW17",
                .ucode_version  = "508.10872",
                .md5            = "e413c0017b99195f3231201c53f314d1",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -862,7 +853,6 @@ static const struct file files[] =
        {
                /* http://www.lwfinger.com/b43-firmware/broadcom-wl-5.10.144.3.tar.bz2 */
                .name           = "wl_apsta.o",
-               .id             = "FW18",
                .ucode_version  = "508.154",
                .md5            = "023fafbe4918e384dd531a046dbc03e8",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -871,7 +861,6 @@ static const struct file files[] =
        {
                /* http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.104.2.tar.bz2 */
                .name           = "wl_apsta.o",
-               .id             = "FW19",
                .ucode_version  = "644.1001",
                .md5            = "68f38d139b1f69f3ea12393fb645c6f9",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,
@@ -880,7 +869,6 @@ static const struct file files[] =
        {
                /* http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 */
                .name           = "wl_apsta.o",
-               .id             = "FW20",
                .ucode_version  = "666.2",
                .md5            = "e1b05e268bcdbfef3560c28fc161f30e",
                .flags          = FW_FLAG_LE | FW_FLAG_V4,