From owner-cvs-src-old@FreeBSD.ORG Thu Jan 20 04:57:51 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 1A787106566C for ; Thu, 20 Jan 2011 04:57:51 +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 0760C8FC0C for ; Thu, 20 Jan 2011 04:57:51 +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 p0K4voGC099164 for ; Thu, 20 Jan 2011 04:57:50 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0K4voWY099163 for cvs-src-old@freebsd.org; Thu, 20 Jan 2011 04:57:50 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201101200457.p0K4voWY099163@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Thu, 20 Jan 2011 04:57:26 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ath/ath_hal ah_diagcodes.h ah_internal.h 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: Thu, 20 Jan 2011 04:57:51 -0000 adrian 2011-01-20 04:57:26 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c sys/dev/ath/ath_hal ah_internal.h Added files: sys/dev/ath/ath_hal ah_diagcodes.h Log: SVN rev 217618 on 2011-01-20 04:57:26Z by adrian Break out the diagnostic codes from ah_internal.h and place them in ah_diagcodes.h. Since we now have the source code, there's no reason to hide the diag codes from other areas. They live in the HAL as they form part of the HAL API and should still be treate as "potentially flexible; don't publish as a public API." But since they're already used as a public API (see follow-up commit), we may as well use them in place of magic constants. Revision Changes Path 1.1 +67 -0 src/sys/dev/ath/ath_hal/ah_diagcodes.h (new) 1.17 +2 -39 src/sys/dev/ath/ath_hal/ah_internal.h 1.281 +1 -0 src/sys/dev/ath/if_ath.c