diff options
author | Dirk Brandewie <dirk.j.brandewie@intel.com> | 2009-08-13 16:48:29 -0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-10-19 02:55:40 -0400 |
commit | c30836580b35ae5cab3de97a3df16878fe097868 (patch) | |
tree | f88a13e7b9455b9f92260d95f9d9d3854911deaa /drivers/net/wimax/i2400m/i2400m.h | |
parent | a134fd6b103b78378e3beb6af94d8d8c2abdd19d (diff) |
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>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m.h')
-rw-r--r-- | drivers/net/wimax/i2400m/i2400m.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h index a6e59f1c881d..73b4e6a15135 100644 --- a/drivers/net/wimax/i2400m/i2400m.h +++ b/drivers/net/wimax/i2400m/i2400m.h | |||
@@ -148,9 +148,6 @@ | |||
148 | 148 | ||
149 | /* Misc constants */ | 149 | /* Misc constants */ |
150 | enum { | 150 | enum { |
151 | /* Firmware uploading */ | ||
152 | I2400M_BOOT_RETRIES = 3, | ||
153 | I3200_BOOT_RETRIES = 3, | ||
154 | /* Size of the Boot Mode Command buffer */ | 151 | /* Size of the Boot Mode Command buffer */ |
155 | I2400M_BM_CMD_BUF_SIZE = 16 * 1024, | 152 | I2400M_BM_CMD_BUF_SIZE = 16 * 1024, |
156 | I2400M_BM_ACK_BUF_SIZE = 256, | 153 | I2400M_BM_ACK_BUF_SIZE = 256, |