diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-04-05 01:12:53 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-04-05 01:12:53 +0000 |
commit | 219403c52d4b8282fd5240475a2a2972cbbe6563 (patch) | |
tree | cf7315463c4c017a9b838bcdd84827ade05c264c /sys | |
parent | aadd71fdf22f22aa852919d042a91811b4574866 (diff) |
fix parenthesis for BGE_RCB_MAXLEN_FLAGS
ok krw@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_bgereg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h index 2e525283cc4..941da0988ce 100644 --- a/sys/dev/pci/if_bgereg.h +++ b/sys/dev/pci/if_bgereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bgereg.h,v 1.20 2005/03/07 13:31:40 krw Exp $ */ +/* $OpenBSD: if_bgereg.h,v 1.21 2005/04/05 01:12:52 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -1785,7 +1785,7 @@ struct bge_rcb { bus_space_write_2(sc->bge_btag, sc->bge_bhandle, \ rcb + offsetof(struct bge_rcb, offset), val) -#define BGE_RCB_MAXLEN_FLAGS(maxlen, flags) ((maxlen << 16) | (flags)) +#define BGE_RCB_MAXLEN_FLAGS(maxlen, flags) ((maxlen) << 16 | (flags)) #define BGE_RCB_FLAG_USE_EXT_RX_BD 0x0001 #define BGE_RCB_FLAG_RING_DISABLED 0x0002 |