Commit 24566f4a authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville

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: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3fdb68de
...@@ -381,21 +381,11 @@ out: ...@@ -381,21 +381,11 @@ out:
static void iwl4965_nic_config(struct iwl_priv *priv) static void iwl4965_nic_config(struct iwl_priv *priv)
{ {
unsigned long flags; unsigned long flags;
u16 dctl;
u16 radio_cfg; u16 radio_cfg;
u16 lctl; u16 lctl;
spin_lock_irqsave(&priv->lock, flags); spin_lock_irqsave(&priv->lock, flags);
if ((priv->rev_id & 0x80) == 0x80 && (priv->rev_id & 0x7f) < 8) {
int pos = pci_find_capability(priv->pci_dev, PCI_CAP_ID_EXP);
pci_read_config_word(priv->pci_dev, pos + PCI_EXP_DEVCTL, &dctl);
/* Enable No Snoop field */
pci_write_config_word(priv->pci_dev, pos + PCI_EXP_DEVCTL,
dctl & ~PCI_EXP_DEVCTL_NOSNOOP_EN);
}
lctl = iwl_pcie_link_ctl(priv); lctl = iwl_pcie_link_ctl(priv);
/* HW bug W/A - negligible power consumption */ /* HW bug W/A - negligible power consumption */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment