Date: Tue, 30 Sep 2014 03:29:46 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272293 - head/sys/contrib/dev/ath/ath_hal/ar9300 Message-ID: <201409300329.s8U3TkaQ010076@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409300329.s8U3TkaQ010076>