From owner-cvs-src-old@FreeBSD.ORG Wed May 25 07:35:00 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A90021065755 for ; Wed, 25 May 2011 07:35:00 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 917668FC08 for ; Wed, 25 May 2011 07:35:00 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4P7Z0qq071369 for ; Wed, 25 May 2011 07:35:00 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4P7Z09S071368 for cvs-src-old@freebsd.org; Wed, 25 May 2011 07:35:00 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201105250735.p4P7Z09S071368@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 25 May 2011 07:34:49 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_athvar.h src/sys/dev/ath/ath_hal ah.h ah_internal.h src/sys/dev/ath/ath_hal/ar5212 ar5212_misc.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 07:35:00 -0000 adrian 2011-05-25 07:34:49 UTC FreeBSD src repository Modified files: sys/dev/ath if_athvar.h sys/dev/ath/ath_hal ah.h ah_internal.h sys/dev/ath/ath_hal/ar5212 ar5212_misc.c Log: SVN rev 222277 on 2011-05-25 07:34:49Z by adrian The current ANI capability information uses a different set of values for the commands, compared to the internal command values (HAL_ANI_CMD.) My eventual aim is to make the HAL_ANI_CMD internal enum match the public API and then remove all this messiness. This now allows HAL_CAP_INTMIT users to use a public HAL_CAP_INTMIT_ enum rather than magic constants. The only magic constants currently used by if_ath are "enable" and "present". Some local tools of mine allow for direct, manual fiddling of the ANI variables and I'll convert these to use the public enum API before I commit them. Revision Changes Path 1.35 +35 -0 src/sys/dev/ath/ath_hal/ah.h 1.39 +0 -17 src/sys/dev/ath/ath_hal/ah_internal.h 1.13 +9 -7 src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c 1.103 +3 -3 src/sys/dev/ath/if_athvar.h