aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2009-02-10 18:19:03 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:46:06 -0500
commit24566f4a15e2626cfaf2854057b636ef40ee8481 (patch)
tree271128596edee872950ffbd9e983a047b5bebdaf
parent3fdb68de22c9881691c485b05ed3204bdc431a18 (diff)
iwlwifi: drop PCIe workaround applicable for development boards
This patch remove w/a used for development boards. These boards are not available thus no need to keep it inside driver 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>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index ead947b4d303..bd0140be774e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -381,21 +381,11 @@ out:
381static void iwl4965_nic_config(struct iwl_priv *priv) 381static void iwl4965_nic_config(struct iwl_priv *priv)
382{ 382{
383 unsigned long flags; 383 unsigned long flags;
384 u16 dctl;
385 u16 radio_cfg; 384 u16 radio_cfg;
386 u16 lctl; 385 u16 lctl;
387 386
388 spin_lock_irqsave(&priv->lock, flags); 387 spin_lock_irqsave(&priv->lock, flags);
389 388
390 if ((priv->rev_id & 0x80) == 0x80 && (priv->rev_id & 0x7f) < 8) {
391 int pos = pci_find_capability(priv->pci_dev, PCI_CAP_ID_EXP);
392 pci_read_config_word(priv->pci_dev, pos + PCI_EXP_DEVCTL, &dctl);
393
394 /* Enable No Snoop field */
395 pci_write_config_word(priv->pci_dev, pos + PCI_EXP_DEVCTL,
396 dctl & ~PCI_EXP_DEVCTL_NOSNOOP_EN);
397 }
398
399 lctl = iwl_pcie_link_ctl(priv); 389 lctl = iwl_pcie_link_ctl(priv);
400 390
401 /* HW bug W/A - negligible power consumption */ 391 /* HW bug W/A - negligible power consumption */