linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0_internal.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * aQuantia Corporation Network Driver
 * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
 */

/* File hw_atl_a0_internal.h: Definition of Atlantic A0 chip specific
 * constants.
 */

#ifndef HW_ATL_A0_INTERNAL_H
#define HW_ATL_A0_INTERNAL_H

#include "../aq_common.h"

#define HW_ATL_A0_MTU_JUMBO

#define HW_ATL_A0_TX_RINGS
#define HW_ATL_A0_RX_RINGS

#define HW_ATL_A0_RINGS_MAX
#define HW_ATL_A0_TXD_SIZE
#define HW_ATL_A0_RXD_SIZE

#define HW_ATL_A0_MAC
#define HW_ATL_A0_MAC_MIN
#define HW_ATL_A0_MAC_MAX

/* interrupts */
#define HW_ATL_A0_ERR_INT
#define HW_ATL_A0_INT_MASK

#define HW_ATL_A0_TXD_CTL2_LEN
#define HW_ATL_A0_TXD_CTL2_CTX_EN
#define HW_ATL_A0_TXD_CTL2_CTX_IDX

#define HW_ATL_A0_TXD_CTL_DESC_TYPE_TXD
#define HW_ATL_A0_TXD_CTL_DESC_TYPE_TXC
#define HW_ATL_A0_TXD_CTL_BLEN
#define HW_ATL_A0_TXD_CTL_DD
#define HW_ATL_A0_TXD_CTL_EOP

#define HW_ATL_A0_TXD_CTL_CMD_X

#define HW_ATL_A0_TXD_CTL_CMD_VLAN
#define HW_ATL_A0_TXD_CTL_CMD_FCS
#define HW_ATL_A0_TXD_CTL_CMD_IPCSO
#define HW_ATL_A0_TXD_CTL_CMD_TUCSO
#define HW_ATL_A0_TXD_CTL_CMD_LSO
#define HW_ATL_A0_TXD_CTL_CMD_WB
#define HW_ATL_A0_TXD_CTL_CMD_VXLAN

#define HW_ATL_A0_TXD_CTL_CMD_IPV6
#define HW_ATL_A0_TXD_CTL_CMD_TCP

#define HW_ATL_A0_MPI_CONTROL_ADR
#define HW_ATL_A0_MPI_STATE_ADR

#define HW_ATL_A0_MPI_SPEED_MSK
#define HW_ATL_A0_MPI_SPEED_SHIFT

#define HW_ATL_A0_TXBUF_MAX
#define HW_ATL_A0_RXBUF_MAX

#define HW_ATL_A0_RSS_REDIRECTION_MAX
#define HW_ATL_A0_RSS_REDIRECTION_BITS

#define HW_ATL_A0_TC_MAX
#define HW_ATL_A0_RSS_MAX

#define HW_ATL_A0_FW_SEMA_RAM

#define HW_ATL_A0_RXD_DD
#define HW_ATL_A0_RXD_NCEA0

#define HW_ATL_A0_RXD_WB_STAT2_EOP

#define HW_ATL_A0_UCP_0X370_REG

#define HW_ATL_A0_FW_VER_EXPECTED

#define HW_ATL_A0_MIN_RXD
#define HW_ATL_A0_MIN_TXD

#define HW_ATL_A0_MAX_RXD
#define HW_ATL_A0_MAX_TXD

#endif /* HW_ATL_A0_INTERNAL_H */