diff options
| author | skrll <skrll@NetBSD.org> | 2022-07-02 07:22:41 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2022-07-02 07:22:41 +0000 |
| commit | f7630c1e2f0165491a93aaa0d0100dd620dba806 (patch) | |
| tree | 67be19b5568199619a608c540cb67e646db87572 /sys/dev | |
| parent | a0aed32c579b4fe9a5cc52e1763ecaedfbfa724d (diff) | |
Sprinkle some BITS(3). Same code before and after.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_bgevar.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/if_bgevar.h b/sys/dev/pci/if_bgevar.h index 44418ce5ed0..45b191933c7 100644 --- a/sys/dev/pci/if_bgevar.h +++ b/sys/dev/pci/if_bgevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_bgevar.h,v 1.27 2022/07/02 07:19:36 skrll Exp $ */ +/* $NetBSD: if_bgevar.h,v 1.28 2022/07/02 07:22:41 skrll Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -286,11 +286,11 @@ struct bge_softc { uint16_t bge_mps; int bge_expmrq; uint32_t bge_lasttag; - u_int32_t bge_mfw_flags; /* Management F/W flags */ -#define BGE_MFW_ON_RXCPU 0x00000001 -#define BGE_MFW_ON_APE 0x00000002 -#define BGE_MFW_TYPE_NCSI 0x00000004 -#define BGE_MFW_TYPE_DASH 0x00000008 + uint32_t bge_mfw_flags; /* Management F/W flags */ +#define BGE_MFW_ON_RXCPU __BIT(0) +#define BGE_MFW_ON_APE __BIT(1) +#define BGE_MFW_TYPE_NCSI __BIT(2) +#define BGE_MFW_TYPE_DASH __BIT(3) int bge_phy_ape_lock; int bge_phy_addr; uint32_t bge_chipid; |
