PERFORCE change 149541 for review
Sam Leffler
sam at FreeBSD.org
Wed Sep 10 17:02:00 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=149541
Change 149541 by sam at sam_ebb on 2008/09/10 17:01:33
IFC
Affected files ...
.. //depot/projects/vap/sys/dev/ath/if_athvar.h#28 integrate
Differences ...
==== //depot/projects/vap/sys/dev/ath/if_athvar.h#28 (text+ko) ====
@@ -26,7 +26,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*
- * $FreeBSD: src/sys/dev/ath/if_athvar.h,v 1.65 2008/05/29 00:10:48 sam Exp $
+ * $FreeBSD: src/sys/dev/ath/if_athvar.h,v 1.66 2008/09/09 16:21:25 rpaulo Exp $
*/
/*
@@ -505,7 +505,7 @@
#define ath_hal_getregdomain(_ah, _prd) \
(ath_hal_getcapability(_ah, HAL_CAP_REG_DMN, 0, (_prd)) == HAL_OK)
#define ath_hal_setregdomain(_ah, _rd) \
- (*(uint16_t *)(((uint8_t *)(_ah)) + 520) = (_rd))
+ (*(uint16_t *)(((uint8_t *)&(_ah)[1]) + 128) = (_rd))
#define ath_hal_getcountrycode(_ah, _pcc) \
(*(_pcc) = (_ah)->ah_countryCode)
#define ath_hal_gettkipmic(_ah) \
More information about the p4-projects
mailing list