From 91e0f2ef74f3a9822a83887ad8a039454dec31a1 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 16 Aug 2009 17:24:05 +0000 Subject: start getting rid of some of these horrific bit macros, remove usage of BITS(). There is a binary change due to the way these macros are further used in the MASK_AND_RSHIFT specifically for ATW_SR_RFTYPE_MASK and ATW_SR_BBPTYPE_MASK. --- sys/dev/ic/atwvar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic/atwvar.h') diff --git a/sys/dev/ic/atwvar.h b/sys/dev/ic/atwvar.h index a8be9ed36a7..2b3b3cd29e7 100644 --- a/sys/dev/ic/atwvar.h +++ b/sys/dev/ic/atwvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atwvar.h,v 1.18 2009/08/10 20:29:54 deraadt Exp $ */ +/* $OpenBSD: atwvar.h,v 1.19 2009/08/16 17:24:04 jsg Exp $ */ /* $NetBSD: atwvar.h,v 1.13 2004/07/23 07:07:55 dyoung Exp $ */ /* @@ -338,8 +338,8 @@ struct atw_frame { #define ATW_HDRCTL_UNKNOWN1 BIT(15) /* MAC adds FCS? */ #define ATW_HDRCTL_UNKNOWN2 BIT(8) -#define ATW_FRAGTHR_FRAGTHR_MASK BITS(0, 11) -#define ATW_FRAGNUM_FRAGNUM_MASK BITS(4, 7) +#define ATW_FRAGTHR_FRAGTHR_MASK 0x0fff +#define ATW_FRAGNUM_FRAGNUM_MASK 0x00f0 /* Values for sc_flags. */ #define ATWF_MRL 0x00000010 /* memory read line okay */ -- cgit v1.2.3