From 219403c52d4b8282fd5240475a2a2972cbbe6563 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 5 Apr 2005 01:12:53 +0000 Subject: fix parenthesis for BGE_RCB_MAXLEN_FLAGS ok krw@ --- sys/dev/pci/if_bgereg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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 -- cgit v1.2.3