aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2014-09-30 03:29:46 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2014-09-30 03:29:46 +0000
commit7093d16e92e2e682551d793c239f68d79796d9e0 (patch)
treebf6d0e7dbb174c1d521621d715c5d5ed1a06ae7f /sys/contrib
parent9389d5a95ea6c5e284ee3866a9044ba97482ec8d (diff)
downloadsrc-7093d16e92e2e682551d793c239f68d79796d9e0.tar.gz
src-7093d16e92e2e682551d793c239f68d79796d9e0.zip
Remove this stuff - it's no longer needed here.
Notes
Notes: svn path=/head/; revision=272293
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
index bcd0a26759e6..a6968c173484 100644
--- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
+++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
@@ -252,29 +252,6 @@ ar9300_attach_freebsd_ops(struct ath_hal *ah)
/* LNA diversity functions */
ah->ah_divLnaConfGet = ar9300_ant_div_comb_get_config;
ah->ah_divLnaConfSet = ar9300_ant_div_comb_set_config;
-
- /* Setup HAL configuration defaults */
- /* XXX cus198 defaults from ath9k */
- /* xlna_gpio = 9 */
- /* xatten_margin_cfg = true */
- /* alt_mingainidx = true */
- /* comm2g_switch_enable = 0x000bbb88 */
- /* ant_comb.low_rssi_thresh = 20 */
- /* ant_comb.fast_div_bias = 3 */
-
-#if 0
- /*
- * The HAL code treats this as a mask.
- * The ath9k code above treats it as a bit offset.
- * So it should be set to 0x200, not 0x9.
- */
- ah->ah_config.ath_hal_ext_lna_ctl_gpio = 0x200; /* bit 9 */
- ah->ah_config.ath_hal_ext_atten_margin_cfg = AH_TRUE;
- ah->ah_config.ath_hal_min_gainidx = AH_TRUE;
- ah->ah_config.ath_hal_ant_ctrl_comm2g_switch_enable = 0x000bbb88;
- /* XXX low_rssi_thresh */
- /* XXX fast_div_bias */
-#endif
}
HAL_BOOL