diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-12-01 19:32:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 09:35:47 -0500 |
commit | 7100e924661cc23609de8e7ab9fc3a13e0173891 (patch) | |
tree | 4ee48938bc648e750adb310595454904c10cc904 /drivers | |
parent | d97809dbbf1b8a6df79c82be75fa0cababec783b (diff) |
iwlwifi: 5150 add support for 5150
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 1 |
3 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index c3dce81aecc8..8f92ab0fa378 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -45,8 +45,10 @@ | |||
45 | #include "iwl-5000-hw.h" | 45 | #include "iwl-5000-hw.h" |
46 | 46 | ||
47 | #define IWL5000_UCODE_API "-1" | 47 | #define IWL5000_UCODE_API "-1" |
48 | #define IWL5150_UCODE_API "-1" | ||
48 | 49 | ||
49 | #define IWL5000_MODULE_FIRMWARE "iwlwifi-5000" IWL5000_UCODE_API ".ucode" | 50 | #define IWL5000_MODULE_FIRMWARE "iwlwifi-5000" IWL5000_UCODE_API ".ucode" |
51 | #define IWL5150_MODULE_FIRMWARE "iwlwifi-5150" IWL5150_UCODE_API ".ucode" | ||
50 | 52 | ||
51 | static const u16 iwl5000_default_queue_to_tx_fifo[] = { | 53 | static const u16 iwl5000_default_queue_to_tx_fifo[] = { |
52 | IWL_TX_FIFO_AC3, | 54 | IWL_TX_FIFO_AC3, |
@@ -1563,7 +1565,17 @@ struct iwl_cfg iwl5350_agn_cfg = { | |||
1563 | .mod_params = &iwl50_mod_params, | 1565 | .mod_params = &iwl50_mod_params, |
1564 | }; | 1566 | }; |
1565 | 1567 | ||
1568 | struct iwl_cfg iwl5150_agn_cfg = { | ||
1569 | .name = "5150AGN", | ||
1570 | .fw_name = IWL5150_MODULE_FIRMWARE, | ||
1571 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | ||
1572 | .ops = &iwl5000_ops, | ||
1573 | .eeprom_size = IWL_5000_EEPROM_IMG_SIZE, | ||
1574 | .mod_params = &iwl50_mod_params, | ||
1575 | }; | ||
1576 | |||
1566 | MODULE_FIRMWARE(IWL5000_MODULE_FIRMWARE); | 1577 | MODULE_FIRMWARE(IWL5000_MODULE_FIRMWARE); |
1578 | MODULE_FIRMWARE(IWL5150_MODULE_FIRMWARE); | ||
1567 | 1579 | ||
1568 | module_param_named(disable50, iwl50_mod_params.disable, int, 0444); | 1580 | module_param_named(disable50, iwl50_mod_params.disable, int, 0444); |
1569 | MODULE_PARM_DESC(disable50, | 1581 | MODULE_PARM_DESC(disable50, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 7888250117dc..70149241e176 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -4210,7 +4210,11 @@ static struct pci_device_id iwl_hw_card_ids[] = { | |||
4210 | {IWL_PCI_DEVICE(0x423A, 0x1001, iwl5350_agn_cfg)}, | 4210 | {IWL_PCI_DEVICE(0x423A, 0x1001, iwl5350_agn_cfg)}, |
4211 | {IWL_PCI_DEVICE(0x423A, 0x1021, iwl5350_agn_cfg)}, | 4211 | {IWL_PCI_DEVICE(0x423A, 0x1021, iwl5350_agn_cfg)}, |
4212 | {IWL_PCI_DEVICE(0x423B, 0x1011, iwl5350_agn_cfg)}, | 4212 | {IWL_PCI_DEVICE(0x423B, 0x1011, iwl5350_agn_cfg)}, |
4213 | /* 5150 Wifi/WiMax */ | ||
4214 | {IWL_PCI_DEVICE(0x423C, PCI_ANY_ID, iwl5150_agn_cfg)}, | ||
4215 | {IWL_PCI_DEVICE(0x423D, PCI_ANY_ID, iwl5150_agn_cfg)}, | ||
4213 | #endif /* CONFIG_IWL5000 */ | 4216 | #endif /* CONFIG_IWL5000 */ |
4217 | |||
4214 | {0} | 4218 | {0} |
4215 | }; | 4219 | }; |
4216 | MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids); | 4220 | MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 4da988e0eae0..cb6edfd2b309 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -54,6 +54,7 @@ extern struct iwl_cfg iwl5100_agn_cfg; | |||
54 | extern struct iwl_cfg iwl5350_agn_cfg; | 54 | extern struct iwl_cfg iwl5350_agn_cfg; |
55 | extern struct iwl_cfg iwl5100_bg_cfg; | 55 | extern struct iwl_cfg iwl5100_bg_cfg; |
56 | extern struct iwl_cfg iwl5100_abg_cfg; | 56 | extern struct iwl_cfg iwl5100_abg_cfg; |
57 | extern struct iwl_cfg iwl5150_agn_cfg; | ||
57 | 58 | ||
58 | /* CT-KILL constants */ | 59 | /* CT-KILL constants */ |
59 | #define CT_KILL_THRESHOLD 110 /* in Celsius */ | 60 | #define CT_KILL_THRESHOLD 110 /* in Celsius */ |