diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 1f5e7e6fa687..c837503c1e0a 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -7462,21 +7462,15 @@ static int iwl4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e | |||
7462 | printk(KERN_INFO DRV_NAME | 7462 | printk(KERN_INFO DRV_NAME |
7463 | ": Detected Intel Wireless WiFi Link %s\n", priv->cfg->name); | 7463 | ": Detected Intel Wireless WiFi Link %s\n", priv->cfg->name); |
7464 | 7464 | ||
7465 | /***************** | 7465 | /* amp init */ |
7466 | * 4. Read EEPROM | 7466 | err = priv->cfg->ops->lib->apm_ops.init(priv); |
7467 | *****************/ | ||
7468 | /* nic init */ | ||
7469 | iwl_set_bit(priv, CSR_GIO_CHICKEN_BITS, | ||
7470 | CSR_GIO_CHICKEN_BITS_REG_BIT_DIS_L0S_EXIT_TIMER); | ||
7471 | |||
7472 | iwl_set_bit(priv, CSR_GP_CNTRL, CSR_GP_CNTRL_REG_FLAG_INIT_DONE); | ||
7473 | err = iwl_poll_bit(priv, CSR_GP_CNTRL, | ||
7474 | CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY, | ||
7475 | CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY, 25000); | ||
7476 | if (err < 0) { | 7467 | if (err < 0) { |
7477 | IWL_DEBUG_INFO("Failed to init the card\n"); | 7468 | IWL_DEBUG_INFO("Failed to init APMG\n"); |
7478 | goto out_iounmap; | 7469 | goto out_iounmap; |
7479 | } | 7470 | } |
7471 | /***************** | ||
7472 | * 4. Read EEPROM | ||
7473 | *****************/ | ||
7480 | /* Read the EEPROM */ | 7474 | /* Read the EEPROM */ |
7481 | err = iwl_eeprom_init(priv); | 7475 | err = iwl_eeprom_init(priv); |
7482 | if (err) { | 7476 | if (err) { |