aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 4d2fc7a40434..92db59a0fb11 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -372,6 +372,10 @@ typedef struct _RxD_t {
372#define RXD_GET_L4_CKSUM(val) ((u16)(val) & 0xFFFF) 372#define RXD_GET_L4_CKSUM(val) ((u16)(val) & 0xFFFF)
373 373
374 u64 Control_2; 374 u64 Control_2;
375#define THE_RXD_MARK 0x3
376#define SET_RXD_MARKER vBIT(THE_RXD_MARK, 0, 2)
377#define GET_RXD_MARKER(ctrl) ((ctrl & SET_RXD_MARKER) >> 62)
378
375#ifndef CONFIG_2BUFF_MODE 379#ifndef CONFIG_2BUFF_MODE
376#define MASK_BUFFER0_SIZE vBIT(0x3FFF,2,14) 380#define MASK_BUFFER0_SIZE vBIT(0x3FFF,2,14)
377#define SET_BUFFER0_SIZE(val) vBIT(val,2,14) 381#define SET_BUFFER0_SIZE(val) vBIT(val,2,14)