diff options
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r-- | drivers/net/gianfar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h index 811855bc4231..54332b0059df 100644 --- a/drivers/net/gianfar.h +++ b/drivers/net/gianfar.h | |||
@@ -314,7 +314,7 @@ extern const char gfar_driver_version[]; | |||
314 | #define ATTRELI_EI(x) (x) | 314 | #define ATTRELI_EI(x) (x) |
315 | 315 | ||
316 | #define BD_LFLAG(flags) ((flags) << 16) | 316 | #define BD_LFLAG(flags) ((flags) << 16) |
317 | #define BD_LENGTH_MASK 0x00ff | 317 | #define BD_LENGTH_MASK 0x0000ffff |
318 | 318 | ||
319 | /* TxBD status field bits */ | 319 | /* TxBD status field bits */ |
320 | #define TXBD_READY 0x8000 | 320 | #define TXBD_READY 0x8000 |