linux/drivers/net/ethernet/apm/xgene/xgene_enet_ring2.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Applied Micro X-Gene SoC Ethernet Driver
 *
 * Copyright (c) 2015, Applied Micro Circuits Corporation
 * Author: Iyappan Subramanian <[email protected]>
 */

#ifndef __XGENE_ENET_RING2_H__
#define __XGENE_ENET_RING2_H__

#include "xgene_enet_main.h"

#define X2_NUM_RING_CONFIG

#define INTR_MBOX_SIZE
#define CSR_VMID0_INTR_MBOX
#define INTR_CLEAR

#define X2_MSG_AM_POS
#define X2_QBASE_AM_POS
#define X2_INTLINE_POS
#define X2_INTLINE_LEN
#define X2_CFGCRID_POS
#define X2_CFGCRID_LEN
#define X2_SELTHRSH_POS
#define X2_SELTHRSH_LEN
#define X2_RINGTYPE_POS
#define X2_RINGTYPE_LEN
#define X2_DEQINTEN_POS
#define X2_RECOMTIMEOUT_POS
#define X2_RECOMTIMEOUT_LEN
#define X2_NUMMSGSINQ_POS
#define X2_NUMMSGSINQ_LEN

extern struct xgene_ring_ops xgene_ring2_ops;

#endif /* __XGENE_ENET_RING2_H__ */