svn commit: r272293 - head/sys/contrib/dev/ath/ath_hal/ar9300

Adrian Chadd adrian at FreeBSD.org
Tue Sep 30 03:29:47 UTC 2014


Author: adrian
Date: Tue Sep 30 03:29:46 2014
New Revision: 272293
URL: http://svnweb.freebsd.org/changeset/base/272293

Log:
  Remove this stuff - it's no longer needed here.

Modified:
  head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c

Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c	Tue Sep 30 03:19:29 2014	(r272292)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd.c	Tue Sep 30 03:29:46 2014	(r272293)
@@ -252,29 +252,6 @@ ar9300_attach_freebsd_ops(struct ath_hal
 	/* 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


More information about the svn-src-all mailing list