svn commit: r192299 - head/sys/dev/nge
Pyun YongHyeon
yongari at FreeBSD.org
Mon May 18 07:13:43 UTC 2009
Author: yongari
Date: Mon May 18 07:13:42 2009
New Revision: 192299
URL: http://svn.freebsd.org/changeset/base/192299
Log:
Remove extra parenthesis used in macros. These macros are not used
in driver, though.
Modified:
head/sys/dev/nge/if_ngereg.h
Modified: head/sys/dev/nge/if_ngereg.h
==============================================================================
--- head/sys/dev/nge/if_ngereg.h Mon May 18 07:10:48 2009 (r192298)
+++ head/sys/dev/nge/if_ngereg.h Mon May 18 07:13:42 2009 (r192299)
@@ -525,8 +525,8 @@ struct nge_desc_32 {
#define NGE_CMDSTS_MORE 0x40000000
#define NGE_CMDSTS_OWN 0x80000000
-#define NGE_LASTDESC(x) (!((x)->nge_ctl & NGE_CMDSTS_MORE)))
-#define NGE_MORE(x) ((x)->nge_ctl & NGE_CMDSTS_MORE))
+#define NGE_LASTDESC(x) (!((x)->nge_ctl & NGE_CMDSTS_MORE))
+#define NGE_MORE(x) ((x)->nge_ctl & NGE_CMDSTS_MORE)
#define NGE_OWNDESC(x) ((x)->nge_ctl & NGE_CMDSTS_OWN)
#define NGE_INC(x, y) (x) = (x + 1) % y
#define NGE_RXBYTES(x) ((x)->nge_ctl & NGE_CMDSTS_BUFLEN)
More information about the svn-src-all
mailing list