remove extra parenthesis in NGE_LASTDESC macro
This commit is contained in:
parent
35f88e7af9
commit
f857de4ffe
@ -526,7 +526,7 @@ struct nge_desc_32 {
|
|||||||
#define NGE_CMDSTS_MORE 0x40000000
|
#define NGE_CMDSTS_MORE 0x40000000
|
||||||
#define NGE_CMDSTS_OWN 0x80000000
|
#define NGE_CMDSTS_OWN 0x80000000
|
||||||
|
|
||||||
#define NGE_LASTDESC(x) (!((x)->nge_ctl & NGE_CMDSTS_MORE)))
|
#define NGE_LASTDESC(x) (!((x)->nge_ctl & NGE_CMDSTS_MORE))
|
||||||
#define NGE_OWNDESC(x) ((x)->nge_ctl & NGE_CMDSTS_OWN)
|
#define NGE_OWNDESC(x) ((x)->nge_ctl & NGE_CMDSTS_OWN)
|
||||||
#define NGE_INC(x, y) (x) = (x + 1) % y
|
#define NGE_INC(x, y) (x) = (x + 1) % y
|
||||||
#define NGE_RXBYTES(x) ((x)->nge_ctl & NGE_CMDSTS_BUFLEN)
|
#define NGE_RXBYTES(x) ((x)->nge_ctl & NGE_CMDSTS_BUFLEN)
|
||||||
|
Loading…
Reference in New Issue
Block a user