Date: Thu, 20 Jan 2011 04:57:26 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath if_ath.c src/sys/dev/ath/ath_hal ah_diagcodes.h ah_internal.h Message-ID: <201101200457.p0K4voWY099163@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101200457.p0K4voWY099163>
