From owner-svn-src-all@FreeBSD.ORG Tue Sep 30 03:29:47 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0E94793; Tue, 30 Sep 2014 03:29:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD281F43; Tue, 30 Sep 2014 03:29:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8U3Tk6p010077; Tue, 30 Sep 2014 03:29:46 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8U3TkaQ010076; Tue, 30 Sep 2014 03:29:46 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201409300329.s8U3TkaQ010076@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Tue, 30 Sep 2014 03:29:46 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 03:29:47 -0000 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