Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225251
b: refs/heads/master
c: 040b74f
h: refs/heads/master
i:
  225249: 070865b
  225247: 085410d
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Dec 13, 2010
1 parent e141804 commit e3e80b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 248a38d0ed754bf9f002e66f3d607e12ae6a673c
refs/heads/master: 040b74f741b20dbf07359716d5c540356a036ade
6 changes: 1 addition & 5 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,9 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah)

static void ath9k_hw_disablepcie(struct ath_hw *ah)
{
if (AR_SREV_9100(ah))
if (!AR_SREV_5416(ah))
return;

ENABLE_REGWRITE_BUFFER(ah);

REG_WRITE(ah, AR_PCIE_SERDES, 0x9248fc00);
REG_WRITE(ah, AR_PCIE_SERDES, 0x24924924);
REG_WRITE(ah, AR_PCIE_SERDES, 0x28000029);
Expand All @@ -300,8 +298,6 @@ static void ath9k_hw_disablepcie(struct ath_hw *ah)
REG_WRITE(ah, AR_PCIE_SERDES, 0x000e1007);

REG_WRITE(ah, AR_PCIE_SERDES2, 0x00000000);

REGWRITE_BUFFER_FLUSH(ah);
}

/* This should work for all families including legacy */
Expand Down

0 comments on commit e3e80b9

Please sign in to comment.