wimax/i2400m: Make boot retries a BUS-specific parameter
In i2400m-based devices, the driver's bootloader will retry to load the firmware when things go wrong. The driver currently has a constant (I2400M_BOOT_RETRIES) which governs the max number of tries. However, different SKUs of the same hardware may admit or require different numbers of retries due to it's particulars, so it is made a BUS specific parameter and different values are assigned for 5x50 devices versus the 3200 ones. Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com> Signed-off-by: Cindy H Kao <cindy.h.kao@intel.com> Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Inaky Perez-Gonzalez

vecāks
a134fd6b10
revīzija
c30836580b
@@ -602,7 +602,7 @@ int i2400m_bootrom_init(struct i2400m *i2400m, enum i2400m_bri flags)
|
||||
struct device *dev = i2400m_dev(i2400m);
|
||||
struct i2400m_bootrom_header *cmd;
|
||||
struct i2400m_bootrom_header ack;
|
||||
int count = I2400M_BOOT_RETRIES;
|
||||
int count = i2400m->bus_bm_retries;
|
||||
int ack_timeout_cnt = 1;
|
||||
|
||||
BUILD_BUG_ON(sizeof(*cmd) != sizeof(i2400m_NBOOT_BARKER));
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user