diff options
author | Dirk Brandewie <dirk.j.brandewie@intel.com> | 2009-05-21 14:56:35 -0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-06-11 06:30:24 -0400 |
commit | 1c0b2dd75772cbce0aef8886b7f38313542216de (patch) | |
tree | 26fb06d78672a64cfc2c51968c0cac7051c6f18c /drivers | |
parent | 7308a0c23901f2a295265bb71d8521ef7d47bf4c (diff) |
wimax/i2400m/sdio: Add device specific poke table.
Add a poke table for the SDIO device (as it is different than USB).
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wimax/i2400m/sdio.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/sdio.c b/drivers/net/wimax/i2400m/sdio.c index afde89770044..74de174a4c44 100644 --- a/drivers/net/wimax/i2400m/sdio.c +++ b/drivers/net/wimax/i2400m/sdio.c | |||
@@ -78,6 +78,14 @@ static const char *i2400ms_bus_fw_names[] = { | |||
78 | }; | 78 | }; |
79 | 79 | ||
80 | 80 | ||
81 | static const struct i2400m_poke_table i2400ms_pokes[] = { | ||
82 | I2400M_FW_POKE(0x6BE260, 0x00000088), | ||
83 | I2400M_FW_POKE(0x080550, 0x00000005), | ||
84 | I2400M_FW_POKE(0xAE0000, 0x00000000), | ||
85 | I2400M_FW_POKE(0x000000, 0x00000000), /* MUST be 0 terminated or bad | ||
86 | * things will happen */ | ||
87 | }; | ||
88 | |||
81 | /* | 89 | /* |
82 | * Enable the SDIO function | 90 | * Enable the SDIO function |
83 | * | 91 | * |
@@ -425,6 +433,7 @@ int i2400ms_probe(struct sdio_func *func, | |||
425 | i2400m->bus_bm_wait_for_ack = i2400ms_bus_bm_wait_for_ack; | 433 | i2400m->bus_bm_wait_for_ack = i2400ms_bus_bm_wait_for_ack; |
426 | i2400m->bus_fw_names = i2400ms_bus_fw_names; | 434 | i2400m->bus_fw_names = i2400ms_bus_fw_names; |
427 | i2400m->bus_bm_mac_addr_impaired = 1; | 435 | i2400m->bus_bm_mac_addr_impaired = 1; |
436 | i2400m->bus_bm_pokes_table = &i2400ms_pokes[0]; | ||
428 | 437 | ||
429 | sdio_claim_host(func); | 438 | sdio_claim_host(func); |
430 | result = sdio_set_block_size(func, I2400MS_BLK_SIZE); | 439 | result = sdio_set_block_size(func, I2400MS_BLK_SIZE); |