From c64e4a2b46d800c46063dde85715127c06356fc0 Mon Sep 17 00:00:00 2001 From: dyoung Date: Thu, 29 Dec 2005 21:53:02 +0000 Subject: [PATCH] Cosmetic: shift atw flags right by 4 bits. --- sys/dev/ic/atwvar.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/dev/ic/atwvar.h b/sys/dev/ic/atwvar.h index 1f02523d968f..bc5c7875ddb3 100644 --- a/sys/dev/ic/atwvar.h +++ b/sys/dev/ic/atwvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: atwvar.h,v 1.18 2005/12/29 21:08:26 dyoung Exp $ */ +/* $NetBSD: atwvar.h,v 1.19 2005/12/29 21:53:02 dyoung Exp $ */ /* * Copyright (c) 2003, 2004 The NetBSD Foundation, Inc. All rights reserved. @@ -357,14 +357,14 @@ struct atw_frame { #define ATW_FRAGNUM_FRAGNUM_MASK BITS(4, 7) /* Values for sc_flags. */ -#define ATWF_MRL 0x00000010 /* memory read line okay */ -#define ATWF_MRM 0x00000020 /* memory read multi okay */ -#define ATWF_MWI 0x00000040 /* memory write inval okay */ -#define ATWF_SHORT_PREAMBLE 0x00000080 /* short preamble enabled */ -#define ATWF_RTSCTS 0x00000100 /* RTS/CTS enabled */ -#define ATWF_ATTACHED 0x00000800 /* attach has succeeded */ -#define ATWF_ENABLED 0x00001000 /* chip is enabled */ -#define ATWF_WEP_SRAM_VALID 0x00002000 /* SRAM matches s/w state */ +#define ATWF_MRL 0x00000001 /* memory read line okay */ +#define ATWF_MRM 0x00000002 /* memory read multi okay */ +#define ATWF_MWI 0x00000004 /* memory write inval okay */ +#define ATWF_SHORT_PREAMBLE 0x00000008 /* short preamble enabled */ +#define ATWF_RTSCTS 0x00000010 /* RTS/CTS enabled */ +#define ATWF_ATTACHED 0x00000020 /* attach has succeeded */ +#define ATWF_ENABLED 0x00000040 /* chip is enabled */ +#define ATWF_WEP_SRAM_VALID 0x00000080 /* SRAM matches s/w state */ #define ATW_IS_ENABLED(sc) ((sc)->sc_flags & ATWF_ENABLED)