Skip to content

Commit

Permalink
iwlwifi: drop PCIe workaround applicable for development boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Feb 13, 2009
1 parent 3fdb68d commit 24566f4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/net/wireless/iwlwifi/iwl-4965.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,21 +381,11 @@ static int iwl4965_apm_init(struct iwl_priv *priv)
static void iwl4965_nic_config(struct iwl_priv *priv)
{
unsigned long flags;
u16 dctl;
u16 radio_cfg;
u16 lctl;

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);

/* HW bug W/A - negligible power consumption */
Expand Down

0 comments on commit 24566f4

Please sign in to comment.