linux/drivers/net/dsa/mv88e6060.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * drivers/net/dsa/mv88e6060.h - Marvell 88e6060 switch chip support
 * Copyright (c) 2015 Neil Armstrong
 *
 * Based on mv88e6xxx.h
 * Copyright (c) 2008 Marvell Semiconductor
 */

#ifndef __MV88E6060_H
#define __MV88E6060_H

#define MV88E6060_PORTS

#define REG_PORT(p)
#define PORT_STATUS
#define PORT_STATUS_PAUSE_EN
#define PORT_STATUS_MY_PAUSE
#define PORT_STATUS_FC
#define PORT_STATUS_RESOLVED
#define PORT_STATUS_LINK
#define PORT_STATUS_PORTMODE
#define PORT_STATUS_PHYMODE
#define PORT_STATUS_DUPLEX
#define PORT_STATUS_SPEED
#define PORT_SWITCH_ID
#define PORT_SWITCH_ID_6060
#define PORT_SWITCH_ID_6060_MASK
#define PORT_SWITCH_ID_6060_R1
#define PORT_SWITCH_ID_6060_R2
#define PORT_CONTROL
#define PORT_CONTROL_FORCE_FLOW_CTRL
#define PORT_CONTROL_TRAILER
#define PORT_CONTROL_HEADER
#define PORT_CONTROL_INGRESS_MODE
#define PORT_CONTROL_VLAN_TUNNEL
#define PORT_CONTROL_STATE_MASK
#define PORT_CONTROL_STATE_DISABLED
#define PORT_CONTROL_STATE_BLOCKING
#define PORT_CONTROL_STATE_LEARNING
#define PORT_CONTROL_STATE_FORWARDING
#define PORT_VLAN_MAP
#define PORT_VLAN_MAP_DBNUM_SHIFT
#define PORT_VLAN_MAP_TABLE_MASK
#define PORT_ASSOC_VECTOR
#define PORT_ASSOC_VECTOR_MONITOR
#define PORT_ASSOC_VECTOR_PAV_MASK
#define PORT_RX_CNTR
#define PORT_TX_CNTR

#define REG_GLOBAL
#define GLOBAL_STATUS
#define GLOBAL_STATUS_SW_MODE_MASK
#define GLOBAL_STATUS_SW_MODE_0
#define GLOBAL_STATUS_SW_MODE_1
#define GLOBAL_STATUS_SW_MODE_2
#define GLOBAL_STATUS_SW_MODE_3
#define GLOBAL_STATUS_INIT_READY
#define GLOBAL_STATUS_ATU_FULL
#define GLOBAL_STATUS_ATU_DONE
#define GLOBAL_STATUS_PHY_INT
#define GLOBAL_STATUS_EEINT
#define GLOBAL_MAC_01
#define GLOBAL_MAC_01_DIFF_ADDR
#define GLOBAL_MAC_23
#define GLOBAL_MAC_45
#define GLOBAL_CONTROL
#define GLOBAL_CONTROL_DISCARD_EXCESS
#define GLOBAL_CONTROL_MAX_FRAME_1536
#define GLOBAL_CONTROL_RELOAD_EEPROM
#define GLOBAL_CONTROL_CTRMODE
#define GLOBAL_CONTROL_ATU_FULL_EN
#define GLOBAL_CONTROL_ATU_DONE_EN
#define GLOBAL_CONTROL_PHYINT_EN
#define GLOBAL_CONTROL_EEPROM_DONE_EN
#define GLOBAL_ATU_CONTROL
#define GLOBAL_ATU_CONTROL_SWRESET
#define GLOBAL_ATU_CONTROL_LEARNDIS
#define GLOBAL_ATU_CONTROL_ATUSIZE_256
#define GLOBAL_ATU_CONTROL_ATUSIZE_512
#define GLOBAL_ATU_CONTROL_ATUSIZE_1024
#define GLOBAL_ATU_CONTROL_ATE_AGE_SHIFT
#define GLOBAL_ATU_CONTROL_ATE_AGE_MASK
#define GLOBAL_ATU_CONTROL_ATE_AGE_5MIN
#define GLOBAL_ATU_OP
#define GLOBAL_ATU_OP_BUSY
#define GLOBAL_ATU_OP_NOP
#define GLOBAL_ATU_OP_FLUSH_ALL
#define GLOBAL_ATU_OP_FLUSH_UNLOCKED
#define GLOBAL_ATU_OP_LOAD_DB
#define GLOBAL_ATU_OP_GET_NEXT_DB
#define GLOBAL_ATU_OP_FLUSH_DB
#define GLOBAL_ATU_OP_FLUSH_UNLOCKED_DB
#define GLOBAL_ATU_DATA
#define GLOBAL_ATU_DATA_PORT_VECTOR_MASK
#define GLOBAL_ATU_DATA_PORT_VECTOR_SHIFT
#define GLOBAL_ATU_DATA_STATE_MASK
#define GLOBAL_ATU_DATA_STATE_UNUSED
#define GLOBAL_ATU_DATA_STATE_UC_STATIC
#define GLOBAL_ATU_DATA_STATE_UC_LOCKED
#define GLOBAL_ATU_DATA_STATE_MC_STATIC
#define GLOBAL_ATU_DATA_STATE_MC_LOCKED
#define GLOBAL_ATU_MAC_01
#define GLOBAL_ATU_MAC_23
#define GLOBAL_ATU_MAC_45

struct mv88e6060_priv {};

#endif