aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEsti Kummer <stkumer@localhost.localdomain>2008-07-10 23:53:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-14 14:52:58 -0400
commit474086396276a01190974797a69a95fb14ae7cc9 (patch)
tree9aee5d399597eb908701f8ee6f89ea18d8f85abc /drivers
parent4bd9b4f334c31a79bdfee4db5dbb6aa430090446 (diff)
iwlwifi: adding pci device ids to iwl_hw_card_ids
The patch adds PCI device IDs to iwl_hw_card_ids. Signed-off-by: Esti Kummer <stkumer@localhost.localdomain> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c18
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c10
3 files changed, 29 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 717db0d5ffb3..3697d0335103 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -1506,6 +1506,24 @@ struct iwl_cfg iwl5300_agn_cfg = {
1506 .mod_params = &iwl50_mod_params, 1506 .mod_params = &iwl50_mod_params,
1507}; 1507};
1508 1508
1509struct iwl_cfg iwl5100_bg_cfg = {
1510 .name = "5100BG",
1511 .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode",
1512 .sku = IWL_SKU_G,
1513 .ops = &iwl5000_ops,
1514 .eeprom_size = IWL_5000_EEPROM_IMG_SIZE,
1515 .mod_params = &iwl50_mod_params,
1516};
1517
1518struct iwl_cfg iwl5100_abg_cfg = {
1519 .name = "5100ABG",
1520 .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode",
1521 .sku = IWL_SKU_A|IWL_SKU_G,
1522 .ops = &iwl5000_ops,
1523 .eeprom_size = IWL_5000_EEPROM_IMG_SIZE,
1524 .mod_params = &iwl50_mod_params,
1525};
1526
1509struct iwl_cfg iwl5100_agn_cfg = { 1527struct iwl_cfg iwl5100_agn_cfg = {
1510 .name = "5100AGN", 1528 .name = "5100AGN",
1511 .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode", 1529 .fw_name = "iwlwifi-5000" IWL5000_UCODE_API ".ucode",
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 163502dabf6b..0177a1deabd2 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -51,6 +51,8 @@ extern struct iwl_cfg iwl4965_agn_cfg;
51extern struct iwl_cfg iwl5300_agn_cfg; 51extern struct iwl_cfg iwl5300_agn_cfg;
52extern struct iwl_cfg iwl5100_agn_cfg; 52extern struct iwl_cfg iwl5100_agn_cfg;
53extern struct iwl_cfg iwl5350_agn_cfg; 53extern struct iwl_cfg iwl5350_agn_cfg;
54extern struct iwl_cfg iwl5100_bg_cfg;
55extern struct iwl_cfg iwl5100_abg_cfg;
54 56
55/* Change firmware file name, using "-" and incrementing number, 57/* Change firmware file name, using "-" and incrementing number,
56 * *only* when uCode interface or architecture changes so that it 58 * *only* when uCode interface or architecture changes so that it
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index d6fe0ded59d7..aca67d4a305b 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -4421,8 +4421,16 @@ static struct pci_device_id iwl_hw_card_ids[] = {
4421 {IWL_PCI_DEVICE(0x4229, PCI_ANY_ID, iwl4965_agn_cfg)}, 4421 {IWL_PCI_DEVICE(0x4229, PCI_ANY_ID, iwl4965_agn_cfg)},
4422 {IWL_PCI_DEVICE(0x4230, PCI_ANY_ID, iwl4965_agn_cfg)}, 4422 {IWL_PCI_DEVICE(0x4230, PCI_ANY_ID, iwl4965_agn_cfg)},
4423#ifdef CONFIG_IWL5000 4423#ifdef CONFIG_IWL5000
4424 {IWL_PCI_DEVICE(0x4235, PCI_ANY_ID, iwl5300_agn_cfg)}, 4424 {IWL_PCI_DEVICE(0x4232, 0x1205, iwl5100_bg_cfg)},
4425 {IWL_PCI_DEVICE(0x4232, 0x1305, iwl5100_bg_cfg)},
4426 {IWL_PCI_DEVICE(0x4232, 0x1206, iwl5100_abg_cfg)},
4427 {IWL_PCI_DEVICE(0x4232, 0x1306, iwl5100_abg_cfg)},
4428 {IWL_PCI_DEVICE(0x4232, 0x1326, iwl5100_abg_cfg)},
4429 {IWL_PCI_DEVICE(0x4237, 0x1216, iwl5100_abg_cfg)},
4425 {IWL_PCI_DEVICE(0x4232, PCI_ANY_ID, iwl5100_agn_cfg)}, 4430 {IWL_PCI_DEVICE(0x4232, PCI_ANY_ID, iwl5100_agn_cfg)},
4431 {IWL_PCI_DEVICE(0x4235, PCI_ANY_ID, iwl5300_agn_cfg)},
4432 {IWL_PCI_DEVICE(0x4236, PCI_ANY_ID, iwl5300_agn_cfg)},
4433 {IWL_PCI_DEVICE(0x4237, PCI_ANY_ID, iwl5100_agn_cfg)},
4426 {IWL_PCI_DEVICE(0x423A, PCI_ANY_ID, iwl5350_agn_cfg)}, 4434 {IWL_PCI_DEVICE(0x423A, PCI_ANY_ID, iwl5350_agn_cfg)},
4427#endif /* CONFIG_IWL5000 */ 4435#endif /* CONFIG_IWL5000 */
4428 {0} 4436 {0}