Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194371
b: refs/heads/master
c: 61accab
h: refs/heads/master
i:
  194369: 65f75cb
  194367: aab76b6
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Apr 16, 2010
1 parent decce65 commit ab75ad0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bab1f62e214f19d2edb1b5508ad5ba1b0a8a22ec
refs/heads/master: 61accab9b5cfc2a7f42c88f30656d9f1771400d3
15 changes: 15 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,17 @@ static bool ar9002_hw_macversion_supported(u32 macversion)
return false;
}

static bool ar9003_hw_macversion_supported(u32 macversion)
{
switch (macversion) {
case AR_SREV_VERSION_9300:
return true;
default:
break;
}
return false;
}

static void ar9002_hw_init_cal_settings(struct ath_hw *ah)
{
if (AR_SREV_9160_10_OR_LATER(ah)) {
Expand Down Expand Up @@ -3542,5 +3553,9 @@ static void ar9002_hw_attach_ops(struct ath_hw *ah)
/* Sets up the AR9003 hardware familiy callbacks */
static void ar9003_hw_attach_ops(struct ath_hw *ah)
{
struct ath_hw_private_ops *priv_ops = ath9k_hw_private_ops(ah);

priv_ops->macversion_supported = ar9003_hw_macversion_supported;

ar9003_hw_attach_phy_ops(ah);
}

0 comments on commit ab75ad0

Please sign in to comment.