summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-05-25 21:01:18 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-05-25 21:01:18 +0000
commit96716667f92ebc98e6713d168685a87dcc3324b6 (patch)
tree5fa6b4ce583411c39afbfd90719d262e0574c0f6 /sys
parentcba32a4357c3de1a16bb839490d6ec43880bb1d8 (diff)
Fix instances of macros with improperly parenthasized arguments.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_nge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c
index 9c8e94feb36..6cd3f96b14d 100644
--- a/sys/dev/pci/if_nge.c
+++ b/sys/dev/pci/if_nge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nge.c,v 1.33 2005/05/25 20:59:04 brad Exp $ */
+/* $OpenBSD: if_nge.c,v 1.34 2005/05/25 21:01:17 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -205,10 +205,10 @@ int ngedebug = 0;
CSR_READ_4(sc, reg) & ~(x))
#define SIO_SET(x) \
- CSR_WRITE_4(sc, NGE_MEAR, CSR_READ_4(sc, NGE_MEAR) | x)
+ CSR_WRITE_4(sc, NGE_MEAR, CSR_READ_4(sc, NGE_MEAR) | (x))
#define SIO_CLR(x) \
- CSR_WRITE_4(sc, NGE_MEAR, CSR_READ_4(sc, NGE_MEAR) & ~x)
+ CSR_WRITE_4(sc, NGE_MEAR, CSR_READ_4(sc, NGE_MEAR) & ~(x))
void
nge_delay(sc)