Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 01:24:39 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234663 - head/sys/dev/ath
Message-ID:  <201204250124.q3P1OdZh073381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Apr 25 01:24:39 2012
New Revision: 234663
URL: http://svn.freebsd.org/changeset/base/234663

Log:
  Add a note that explains what the current state of the register byte order
  macros are.

Modified:
  head/sys/dev/ath/ah_osdep.h

Modified: head/sys/dev/ath/ah_osdep.h
==============================================================================
--- head/sys/dev/ath/ah_osdep.h	Tue Apr 24 21:38:41 2012	(r234662)
+++ head/sys/dev/ath/ah_osdep.h	Wed Apr 25 01:24:39 2012	(r234663)
@@ -75,6 +75,10 @@ struct ath_hal;
  * domain registers are not byte swapped!  Thus, on big-endian
  * platforms we have to explicitly byte-swap those registers.
  * OS_REG_UNSWAPPED identifies the registers that need special handling.
+ *
+ * This is not currently used by the FreeBSD HAL osdep code; the HAL
+ * currently does not configure hardware byteswapping for register space
+ * accesses and instead does it through the FreeBSD bus space code.
  */
 #if _BYTE_ORDER == _BIG_ENDIAN
 #define	OS_REG_UNSWAPPED(_reg) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204250124.q3P1OdZh073381>