]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wimax/i2400m/sdio.c
wimax/i2400m: add the ability to fallback to other firmware files if the default...
[~andy/linux] / drivers / net / wimax / i2400m / sdio.c
index 123a5f8db6adddbe27966e18dd194dcd3210270d..5ac5e76701cd8d3761764c1424d78f1b51a828e9 100644 (file)
 static int ioe_timeout = 2;
 module_param(ioe_timeout, int, 0);
 
-/* Our firmware file name */
-#define I2400MS_FW_FILE_NAME "i2400m-fw-sdio-" I2400M_FW_VERSION ".sbcf"
+/* Our firmware file name list */
+static const char *i2400ms_bus_fw_names[] = {
+#define I2400MS_FW_FILE_NAME "i2400m-fw-sdio-1.3.sbcf"
+       I2400MS_FW_FILE_NAME,
+       NULL
+};
+
 
 /*
  * Enable the SDIO function
@@ -401,7 +406,7 @@ int i2400ms_probe(struct sdio_func *func,
        i2400m->bus_reset = i2400ms_bus_reset;
        i2400m->bus_bm_cmd_send = i2400ms_bus_bm_cmd_send;
        i2400m->bus_bm_wait_for_ack = i2400ms_bus_bm_wait_for_ack;
-       i2400m->bus_fw_name = I2400MS_FW_FILE_NAME;
+       i2400m->bus_fw_names = i2400ms_bus_fw_names;
        i2400m->bus_bm_mac_addr_impaired = 1;
 
        result = i2400ms_enable_function(i2400ms->func);