From owner-svn-src-all@freebsd.org Tue Jan 24 22:52:10 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56C12CC0848; Tue, 24 Jan 2017 22:52:10 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 266E111EA; Tue, 24 Jan 2017 22:52:10 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0OMq97S067365; Tue, 24 Jan 2017 22:52:09 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0OMq9e7067364; Tue, 24 Jan 2017 22:52:09 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201701242252.v0OMq9e7067364@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Tue, 24 Jan 2017 22:52:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r312726 - head/sys/dev/ath/ath_hal 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.23 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, 24 Jan 2017 22:52:10 -0000 Author: adrian Date: Tue Jan 24 22:52:09 2017 New Revision: 312726 URL: https://svnweb.freebsd.org/changeset/base/312726 Log: [ath_hal] note that the CCA configuration setting may be chip-dependent. I bet it isn't, but who knows - this is making assumptions about the layout of AR_DIAG. Modified: head/sys/dev/ath/ath_hal/ah.c Modified: head/sys/dev/ath/ath_hal/ah.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah.c Tue Jan 24 22:46:43 2017 (r312725) +++ head/sys/dev/ath/ath_hal/ah.c Tue Jan 24 22:52:09 2017 (r312726) @@ -1415,6 +1415,9 @@ ath_hal_setcca(struct ath_hal *ah, int e /* * Get CCA setting. + * + * XXX TODO: turn this and the above function into methods + * in case there are chipset differences in handling CCA. */ int ath_hal_getcca(struct ath_hal *ah)