0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __XGENE_ENET_RING2_H__
0009 #define __XGENE_ENET_RING2_H__
0010
0011 #include "xgene_enet_main.h"
0012
0013 #define X2_NUM_RING_CONFIG 6
0014
0015 #define INTR_MBOX_SIZE 1024
0016 #define CSR_VMID0_INTR_MBOX 0x0270
0017 #define INTR_CLEAR BIT(23)
0018
0019 #define X2_MSG_AM_POS 10
0020 #define X2_QBASE_AM_POS 11
0021 #define X2_INTLINE_POS 24
0022 #define X2_INTLINE_LEN 5
0023 #define X2_CFGCRID_POS 29
0024 #define X2_CFGCRID_LEN 3
0025 #define X2_SELTHRSH_POS 7
0026 #define X2_SELTHRSH_LEN 3
0027 #define X2_RINGTYPE_POS 23
0028 #define X2_RINGTYPE_LEN 2
0029 #define X2_DEQINTEN_POS 29
0030 #define X2_RECOMTIMEOUT_POS 0
0031 #define X2_RECOMTIMEOUT_LEN 7
0032 #define X2_NUMMSGSINQ_POS 0
0033 #define X2_NUMMSGSINQ_LEN 17
0034
0035 extern struct xgene_ring_ops xgene_ring2_ops;
0036
0037 #endif