88E6060 6-port Ethernet switch driver More...
#include "core/nic.h"
Go to the source code of this file.
Functions | |
error_t | mv88e6060Init (NetInterface *interface) |
88E6060 Ethernet switch initialization More... | |
void | mv88e6060InitHook (NetInterface *interface) |
88E6060 custom configuration More... | |
void | mv88e6060Tick (NetInterface *interface) |
88E6060 timer handler More... | |
void | mv88e6060EnableIrq (NetInterface *interface) |
Enable interrupts. More... | |
void | mv88e6060DisableIrq (NetInterface *interface) |
Disable interrupts. More... | |
void | mv88e6060EventHandler (NetInterface *interface) |
88E6060 event handler More... | |
error_t | mv88e6060TagFrame (NetInterface *interface, NetBuffer *buffer, size_t *offset, NetTxAncillary *ancillary) |
Add ingress trailer to Ethernet frame. More... | |
error_t | mv88e6060UntagFrame (NetInterface *interface, uint8_t **frame, size_t *length, NetRxAncillary *ancillary) |
Decode egress trailer from incoming Ethernet frame. More... | |
bool_t | mv88e6060GetLinkState (NetInterface *interface, uint8_t port) |
Get link state. More... | |
uint32_t | mv88e6060GetLinkSpeed (NetInterface *interface, uint8_t port) |
Get link speed. More... | |
NicDuplexMode | mv88e6060GetDuplexMode (NetInterface *interface, uint8_t port) |
Get duplex mode. More... | |
void | mv88e6060SetPortState (NetInterface *interface, uint8_t port, SwitchPortState state) |
Set port state. More... | |
SwitchPortState | mv88e6060GetPortState (NetInterface *interface, uint8_t port) |
Get port state. More... | |
void | mv88e6060SetAgingTime (NetInterface *interface, uint32_t agingTime) |
Set aging time for dynamic filtering entries. More... | |
void | mv88e6060EnableIgmpSnooping (NetInterface *interface, bool_t enable) |
Enable IGMP snooping. More... | |
void | mv88e6060EnableMldSnooping (NetInterface *interface, bool_t enable) |
Enable MLD snooping. More... | |
void | mv88e6060EnableRsvdMcastTable (NetInterface *interface, bool_t enable) |
Enable reserved multicast table. More... | |
error_t | mv88e6060AddStaticFdbEntry (NetInterface *interface, const SwitchFdbEntry *entry) |
Add a new entry to the static MAC table. More... | |
error_t | mv88e6060DeleteStaticFdbEntry (NetInterface *interface, const SwitchFdbEntry *entry) |
Remove an entry from the static MAC table. More... | |
error_t | mv88e6060GetStaticFdbEntry (NetInterface *interface, uint_t index, SwitchFdbEntry *entry) |
Read an entry from the static MAC table. More... | |
void | mv88e6060FlushStaticFdbTable (NetInterface *interface) |
Flush static MAC table. More... | |
error_t | mv88e6060GetDynamicFdbEntry (NetInterface *interface, uint_t index, SwitchFdbEntry *entry) |
Read an entry from the dynamic MAC table. More... | |
void | mv88e6060FlushDynamicFdbTable (NetInterface *interface, uint8_t port) |
Flush dynamic MAC table. More... | |
void | mv88e6060SetUnknownMcastFwdPorts (NetInterface *interface, bool_t enable, uint32_t forwardPorts) |
Set forward ports for unknown multicast packets. More... | |
void | mv88e6060WriteSmiReg (NetInterface *interface, uint8_t deviceAddr, uint8_t regAddr, uint16_t data) |
Write SMI register. More... | |
uint16_t | mv88e6060ReadSmiReg (NetInterface *interface, uint8_t deviceAddr, uint8_t regAddr) |
Read SMI register. More... | |
void | mv88e6060WritePhyReg (NetInterface *interface, uint8_t port, uint8_t address, uint16_t data) |
Write PHY register. More... | |
uint16_t | mv88e6060ReadPhyReg (NetInterface *interface, uint8_t port, uint8_t address) |
Read PHY register. More... | |
void | mv88e6060DumpPhyReg (NetInterface *interface, uint8_t port) |
Dump PHY registers for debugging purpose. More... | |
void | mv88e6060WriteSwitchPortReg (NetInterface *interface, uint8_t port, uint8_t address, uint16_t data) |
Write switch port register. More... | |
uint16_t | mv88e6060ReadSwitchPortReg (NetInterface *interface, uint8_t port, uint8_t address) |
Read switch port register. More... | |
void | mv88e6060WriteSwitchGlobalReg (NetInterface *interface, uint8_t address, uint16_t data) |
Write switch global register. More... | |
uint16_t | mv88e6060ReadSwitchGlobalReg (NetInterface *interface, uint8_t address) |
Read switch global register. More... | |
Variables | |
const SwitchDriver | mv88e6060SwitchDriver |
88E6060 Ethernet switch driver More... | |
Detailed Description
88E6060 6-port Ethernet switch driver
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file mv88e6060_driver.h.
Macro Definition Documentation
◆ MV88E6060_ANAR
#define MV88E6060_ANAR 0x04 |
Definition at line 87 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ACK
#define MV88E6060_ANAR_ACK 0x4000 |
Definition at line 170 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_100FDX
#define MV88E6060_ANAR_ANEG_AD_100FDX 0x0100 |
Definition at line 174 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_100HDX
#define MV88E6060_ANAR_ANEG_AD_100HDX 0x0080 |
Definition at line 175 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_100T4
#define MV88E6060_ANAR_ANEG_AD_100T4 0x0200 |
Definition at line 173 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_10FDX
#define MV88E6060_ANAR_ANEG_AD_10FDX 0x0040 |
Definition at line 176 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_10HDX
#define MV88E6060_ANAR_ANEG_AD_10HDX 0x0020 |
Definition at line 177 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_NXT_PAGE
#define MV88E6060_ANAR_ANEG_AD_NXT_PAGE 0x8000 |
Definition at line 169 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_PAUSE
#define MV88E6060_ANAR_ANEG_AD_PAUSE 0x0400 |
Definition at line 172 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_RE_FAULT
#define MV88E6060_ANAR_ANEG_AD_RE_FAULT 0x2000 |
Definition at line 171 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_SELECTOR
#define MV88E6060_ANAR_ANEG_AD_SELECTOR 0x001F |
Definition at line 178 of file mv88e6060_driver.h.
◆ MV88E6060_ANAR_ANEG_AD_SELECTOR_DEFAULT
#define MV88E6060_ANAR_ANEG_AD_SELECTOR_DEFAULT 0x0001 |
Definition at line 179 of file mv88e6060_driver.h.
◆ MV88E6060_ANER
#define MV88E6060_ANER 0x06 |
Definition at line 89 of file mv88e6060_driver.h.
◆ MV88E6060_ANER_LOCAL_NXT_PG_ABLE
#define MV88E6060_ANER_LOCAL_NXT_PG_ABLE 0x0004 |
Definition at line 191 of file mv88e6060_driver.h.
◆ MV88E6060_ANER_LP_ANEG_ABLE
#define MV88E6060_ANER_LP_ANEG_ABLE 0x0001 |
Definition at line 193 of file mv88e6060_driver.h.
◆ MV88E6060_ANER_LP_NXT_PG_ABLE
#define MV88E6060_ANER_LP_NXT_PG_ABLE 0x0008 |
Definition at line 190 of file mv88e6060_driver.h.
◆ MV88E6060_ANER_PAR_FAULT_DET
#define MV88E6060_ANER_PAR_FAULT_DET 0x0010 |
Definition at line 189 of file mv88e6060_driver.h.
◆ MV88E6060_ANER_RX_NEW_PAGE
#define MV88E6060_ANER_RX_NEW_PAGE 0x0002 |
Definition at line 192 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPAR
#define MV88E6060_ANLPAR 0x05 |
Definition at line 88 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPAR_LP_ACK
#define MV88E6060_ANLPAR_LP_ACK 0x4000 |
Definition at line 183 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPAR_LP_NXT_PAGE
#define MV88E6060_ANLPAR_LP_NXT_PAGE 0x8000 |
Definition at line 182 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPAR_LP_REMOTE_FAULT
#define MV88E6060_ANLPAR_LP_REMOTE_FAULT 0x2000 |
Definition at line 184 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPAR_LP_SELECTOR
#define MV88E6060_ANLPAR_LP_SELECTOR 0x001F |
Definition at line 186 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPAR_LP_TECH_ABLE
#define MV88E6060_ANLPAR_LP_TECH_ABLE 0x1FE0 |
Definition at line 185 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR
#define MV88E6060_ANLPNPR 0x08 |
Definition at line 91 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR_RX_ACK
#define MV88E6060_ANLPNPR_RX_ACK 0x4000 |
Definition at line 204 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR_RX_ACK2
#define MV88E6060_ANLPNPR_RX_ACK2 0x1000 |
Definition at line 206 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR_RX_DATA
#define MV88E6060_ANLPNPR_RX_DATA 0x07FF |
Definition at line 208 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR_RX_MESSAGE
#define MV88E6060_ANLPNPR_RX_MESSAGE 0x2000 |
Definition at line 205 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR_RX_NXT_PAGE
#define MV88E6060_ANLPNPR_RX_NXT_PAGE 0x8000 |
Definition at line 203 of file mv88e6060_driver.h.
◆ MV88E6060_ANLPNPR_RX_TOGGLE
#define MV88E6060_ANLPNPR_RX_TOGGLE 0x0800 |
Definition at line 207 of file mv88e6060_driver.h.
◆ MV88E6060_ANNPR
#define MV88E6060_ANNPR 0x07 |
Definition at line 90 of file mv88e6060_driver.h.
◆ MV88E6060_ANNPR_TX_ACK2
#define MV88E6060_ANNPR_TX_ACK2 0x1000 |
Definition at line 198 of file mv88e6060_driver.h.
◆ MV88E6060_ANNPR_TX_DATA
#define MV88E6060_ANNPR_TX_DATA 0x07FF |
Definition at line 200 of file mv88e6060_driver.h.
◆ MV88E6060_ANNPR_TX_MESSAGE
#define MV88E6060_ANNPR_TX_MESSAGE 0x2000 |
Definition at line 197 of file mv88e6060_driver.h.
◆ MV88E6060_ANNPR_TX_NXT_PAGE
#define MV88E6060_ANNPR_TX_NXT_PAGE 0x8000 |
Definition at line 196 of file mv88e6060_driver.h.
◆ MV88E6060_ANNPR_TX_TOGGLE
#define MV88E6060_ANNPR_TX_TOGGLE 0x0800 |
Definition at line 199 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL
#define MV88E6060_ATU_CTRL 0x0A |
Definition at line 121 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_AGE_TIME
#define MV88E6060_ATU_CTRL_AGE_TIME 0x0FF0 |
Definition at line 507 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_AGE_TIME_DEFAULT
#define MV88E6060_ATU_CTRL_AGE_TIME_DEFAULT 0x0130 |
Definition at line 508 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_ATU_SIZE
#define MV88E6060_ATU_CTRL_ATU_SIZE 0x3000 |
Definition at line 503 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_ATU_SIZE_1024
#define MV88E6060_ATU_CTRL_ATU_SIZE_1024 0x2000 |
Definition at line 506 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_ATU_SIZE_256
#define MV88E6060_ATU_CTRL_ATU_SIZE_256 0x0000 |
Definition at line 504 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_ATU_SIZE_512
#define MV88E6060_ATU_CTRL_ATU_SIZE_512 0x1000 |
Definition at line 505 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_LEARN_DIS
#define MV88E6060_ATU_CTRL_LEARN_DIS 0x4000 |
Definition at line 502 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_CTRL_SW_RESET
#define MV88E6060_ATU_CTRL_SW_RESET 0x8000 |
Definition at line 501 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA
#define MV88E6060_ATU_DATA 0x0C |
Definition at line 123 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV
#define MV88E6060_ATU_DATA_DPV 0x03F0 |
Definition at line 523 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV_PORT0
#define MV88E6060_ATU_DATA_DPV_PORT0 0x0010 |
Definition at line 524 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV_PORT1
#define MV88E6060_ATU_DATA_DPV_PORT1 0x0020 |
Definition at line 525 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV_PORT2
#define MV88E6060_ATU_DATA_DPV_PORT2 0x0040 |
Definition at line 526 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV_PORT3
#define MV88E6060_ATU_DATA_DPV_PORT3 0x0080 |
Definition at line 527 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV_PORT4
#define MV88E6060_ATU_DATA_DPV_PORT4 0x0100 |
Definition at line 528 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_DPV_PORT5
#define MV88E6060_ATU_DATA_DPV_PORT5 0x0200 |
Definition at line 529 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_ENTRY_STATE
#define MV88E6060_ATU_DATA_ENTRY_STATE 0x000F |
Definition at line 530 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_ENTRY_STATE_INVALID
#define MV88E6060_ATU_DATA_ENTRY_STATE_INVALID 0x0000 |
Definition at line 531 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_ENTRY_STATE_LOCKED_MGMT
#define MV88E6060_ATU_DATA_ENTRY_STATE_LOCKED_MGMT 0x000E |
Definition at line 534 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_ENTRY_STATE_LOCKED_MULTICAST
#define MV88E6060_ATU_DATA_ENTRY_STATE_LOCKED_MULTICAST 0x0007 |
Definition at line 532 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_DATA_ENTRY_STATE_LOCKED_UNICAST
#define MV88E6060_ATU_DATA_ENTRY_STATE_LOCKED_UNICAST 0x000F |
Definition at line 533 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_0_1
#define MV88E6060_ATU_MAC_ADDR_0_1 0x0D |
Definition at line 124 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_0_1_ATU_BYTE0
#define MV88E6060_ATU_MAC_ADDR_0_1_ATU_BYTE0 0xFF00 |
Definition at line 537 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_0_1_ATU_BYTE1
#define MV88E6060_ATU_MAC_ADDR_0_1_ATU_BYTE1 0x00FF |
Definition at line 538 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_2_3
#define MV88E6060_ATU_MAC_ADDR_2_3 0x0E |
Definition at line 125 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_2_3_ATU_BYTE2
#define MV88E6060_ATU_MAC_ADDR_2_3_ATU_BYTE2 0xFF00 |
Definition at line 541 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_2_3_ATU_BYTE3
#define MV88E6060_ATU_MAC_ADDR_2_3_ATU_BYTE3 0x00FF |
Definition at line 542 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_4_5
#define MV88E6060_ATU_MAC_ADDR_4_5 0x0F |
Definition at line 126 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_4_5_ATU_BYTE4
#define MV88E6060_ATU_MAC_ADDR_4_5_ATU_BYTE4 0xFF00 |
Definition at line 545 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_MAC_ADDR_4_5_ATU_BYTE5
#define MV88E6060_ATU_MAC_ADDR_4_5_ATU_BYTE5 0x00FF |
Definition at line 546 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION
#define MV88E6060_ATU_OPERATION 0x0B |
Definition at line 122 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_BUSY
#define MV88E6060_ATU_OPERATION_ATU_BUSY 0x8000 |
Definition at line 511 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP
#define MV88E6060_ATU_OPERATION_ATU_OP 0x7000 |
Definition at line 512 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_ALL
#define MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_ALL 0x1000 |
Definition at line 514 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_ALL_DB
#define MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_ALL_DB 0x5000 |
Definition at line 518 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_UNLOCKED
#define MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_UNLOCKED 0x2000 |
Definition at line 515 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_UNLOCKED_DB
#define MV88E6060_ATU_OPERATION_ATU_OP_FLUSH_UNLOCKED_DB 0x6000 |
Definition at line 519 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_GET_NEXT_DB
#define MV88E6060_ATU_OPERATION_ATU_OP_GET_NEXT_DB 0x4000 |
Definition at line 517 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_LOAD_PURGE
#define MV88E6060_ATU_OPERATION_ATU_OP_LOAD_PURGE 0x3000 |
Definition at line 516 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_ATU_OP_NOP
#define MV88E6060_ATU_OPERATION_ATU_OP_NOP 0x0000 |
Definition at line 513 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_OPERATION_DB_NUM
#define MV88E6060_ATU_OPERATION_DB_NUM 0x000F |
Definition at line 520 of file mv88e6060_driver.h.
◆ MV88E6060_ATU_TABLE_SIZE
#define MV88E6060_ATU_TABLE_SIZE 1024 |
Definition at line 62 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR
#define MV88E6060_BMCR 0x00 |
Definition at line 83 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_ANEG_EN
#define MV88E6060_BMCR_ANEG_EN 0x1000 |
Definition at line 132 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_COL_TEST
#define MV88E6060_BMCR_COL_TEST 0x0080 |
Definition at line 137 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_DUPLEX
#define MV88E6060_BMCR_DUPLEX 0x0100 |
Definition at line 136 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_ISOLATE
#define MV88E6060_BMCR_ISOLATE 0x0400 |
Definition at line 134 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_LOOPBACK
#define MV88E6060_BMCR_LOOPBACK 0x4000 |
Definition at line 130 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_PWR_DWN
#define MV88E6060_BMCR_PWR_DWN 0x0800 |
Definition at line 133 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_RESTART_ANEG
#define MV88E6060_BMCR_RESTART_ANEG 0x0200 |
Definition at line 135 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_SPEED_LSB
#define MV88E6060_BMCR_SPEED_LSB 0x2000 |
Definition at line 131 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_SPEED_MSB
#define MV88E6060_BMCR_SPEED_MSB 0x0040 |
Definition at line 138 of file mv88e6060_driver.h.
◆ MV88E6060_BMCR_SW_RESET
#define MV88E6060_BMCR_SW_RESET 0x8000 |
Definition at line 129 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR
#define MV88E6060_BMSR 0x01 |
Definition at line 84 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_100FDX
#define MV88E6060_BMSR_100FDX 0x4000 |
Definition at line 142 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_100HDX
#define MV88E6060_BMSR_100HDX 0x2000 |
Definition at line 143 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_100T2FDX
#define MV88E6060_BMSR_100T2FDX 0x0400 |
Definition at line 146 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_100T2HDX
#define MV88E6060_BMSR_100T2HDX 0x0200 |
Definition at line 147 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_100T4
#define MV88E6060_BMSR_100T4 0x8000 |
Definition at line 141 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_10FDX
#define MV88E6060_BMSR_10FDX 0x1000 |
Definition at line 144 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_10HPX
#define MV88E6060_BMSR_10HPX 0x0800 |
Definition at line 145 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_ANEG_ABLE
#define MV88E6060_BMSR_ANEG_ABLE 0x0008 |
Definition at line 152 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_ANEG_DONE
#define MV88E6060_BMSR_ANEG_DONE 0x0020 |
Definition at line 150 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_EXTD_REG
#define MV88E6060_BMSR_EXTD_REG 0x0001 |
Definition at line 155 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_EXTD_STATUS
#define MV88E6060_BMSR_EXTD_STATUS 0x0100 |
Definition at line 148 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_JABBER_DET
#define MV88E6060_BMSR_JABBER_DET 0x0002 |
Definition at line 154 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_LINK
#define MV88E6060_BMSR_LINK 0x0004 |
Definition at line 153 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_MF_PRE_SUP
#define MV88E6060_BMSR_MF_PRE_SUP 0x0040 |
Definition at line 149 of file mv88e6060_driver.h.
◆ MV88E6060_BMSR_REMOTE_FAULT
#define MV88E6060_BMSR_REMOTE_FAULT 0x0010 |
Definition at line 151 of file mv88e6060_driver.h.
◆ MV88E6060_EG_MGMT
#define MV88E6060_EG_MGMT 0x00001000 |
Definition at line 80 of file mv88e6060_driver.h.
◆ MV88E6060_EG_SPID
#define MV88E6060_EG_SPID 0x00070000 |
Definition at line 79 of file mv88e6060_driver.h.
◆ MV88E6060_EG_VALID
#define MV88E6060_EG_VALID 0x80000000 |
Definition at line 78 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV
#define MV88E6060_IG_DPV 0x003F0000 |
Definition at line 68 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV_PORT0
#define MV88E6060_IG_DPV_PORT0 0x00010000 |
Definition at line 74 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV_PORT1
#define MV88E6060_IG_DPV_PORT1 0x00020000 |
Definition at line 73 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV_PORT2
#define MV88E6060_IG_DPV_PORT2 0x00040000 |
Definition at line 72 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV_PORT3
#define MV88E6060_IG_DPV_PORT3 0x00080000 |
Definition at line 71 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV_PORT4
#define MV88E6060_IG_DPV_PORT4 0x00100000 |
Definition at line 70 of file mv88e6060_driver.h.
◆ MV88E6060_IG_DPV_PORT5
#define MV88E6060_IG_DPV_PORT5 0x00200000 |
Definition at line 69 of file mv88e6060_driver.h.
◆ MV88E6060_IG_IGNORE_FCS
#define MV88E6060_IG_IGNORE_FCS 0x10000000 |
Definition at line 67 of file mv88e6060_driver.h.
◆ MV88E6060_IG_LEARN_DISABLE
#define MV88E6060_IG_LEARN_DISABLE 0x20000000 |
Definition at line 66 of file mv88e6060_driver.h.
◆ MV88E6060_IG_MGMT
#define MV88E6060_IG_MGMT 0x00001000 |
Definition at line 75 of file mv88e6060_driver.h.
◆ MV88E6060_IG_OVERRIDE
#define MV88E6060_IG_OVERRIDE 0x80000000 |
Definition at line 65 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL
#define MV88E6060_LED_PAR_SEL 0x16 |
Definition at line 98 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0
#define MV88E6060_LED_PAR_SEL_LED0 0x000F |
Definition at line 298 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_ACT
#define MV88E6060_LED_PAR_SEL_LED0_ACT 0x0008 |
Definition at line 307 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_ACT_BLINK
#define MV88E6060_LED_PAR_SEL_LED0_ACT_BLINK 0x000B |
Definition at line 309 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_COLX
#define MV88E6060_LED_PAR_SEL_LED0_COLX 0x0000 |
Definition at line 299 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_DUPLEX
#define MV88E6060_LED_PAR_SEL_LED0_DUPLEX 0x0002 |
Definition at line 301 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_DUPLEX_COLX
#define MV88E6060_LED_PAR_SEL_LED0_DUPLEX_COLX 0x0003 |
Definition at line 302 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_ERROR
#define MV88E6060_LED_PAR_SEL_LED0_ERROR 0x0001 |
Definition at line 300 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_FORCE_1
#define MV88E6060_LED_PAR_SEL_LED0_FORCE_1 0x000C |
Definition at line 310 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_LINK
#define MV88E6060_LED_PAR_SEL_LED0_LINK 0x0005 |
Definition at line 304 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_LINK_RX
#define MV88E6060_LED_PAR_SEL_LED0_LINK_RX 0x0009 |
Definition at line 308 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_RX
#define MV88E6060_LED_PAR_SEL_LED0_RX 0x0007 |
Definition at line 306 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_SPEED
#define MV88E6060_LED_PAR_SEL_LED0_SPEED 0x0004 |
Definition at line 303 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED0_TX
#define MV88E6060_LED_PAR_SEL_LED0_TX 0x0006 |
Definition at line 305 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1
#define MV88E6060_LED_PAR_SEL_LED1 0x00F0 |
Definition at line 285 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_ACT
#define MV88E6060_LED_PAR_SEL_LED1_ACT 0x0080 |
Definition at line 294 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_ACT_BLINK
#define MV88E6060_LED_PAR_SEL_LED1_ACT_BLINK 0x00B0 |
Definition at line 296 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_COLX
#define MV88E6060_LED_PAR_SEL_LED1_COLX 0x0000 |
Definition at line 286 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_DUPLEX
#define MV88E6060_LED_PAR_SEL_LED1_DUPLEX 0x0020 |
Definition at line 288 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_DUPLEX_COLX
#define MV88E6060_LED_PAR_SEL_LED1_DUPLEX_COLX 0x0030 |
Definition at line 289 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_ERROR
#define MV88E6060_LED_PAR_SEL_LED1_ERROR 0x0010 |
Definition at line 287 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_FORCE_1
#define MV88E6060_LED_PAR_SEL_LED1_FORCE_1 0x00C0 |
Definition at line 297 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_LINK
#define MV88E6060_LED_PAR_SEL_LED1_LINK 0x0050 |
Definition at line 291 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_LINK_RX
#define MV88E6060_LED_PAR_SEL_LED1_LINK_RX 0x0090 |
Definition at line 295 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_RX
#define MV88E6060_LED_PAR_SEL_LED1_RX 0x0070 |
Definition at line 293 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_SPEED
#define MV88E6060_LED_PAR_SEL_LED1_SPEED 0x0040 |
Definition at line 290 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED1_TX
#define MV88E6060_LED_PAR_SEL_LED1_TX 0x0060 |
Definition at line 292 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2
#define MV88E6060_LED_PAR_SEL_LED2 0x0F00 |
Definition at line 272 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_ACT
#define MV88E6060_LED_PAR_SEL_LED2_ACT 0x0800 |
Definition at line 281 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_ACT_BLINK
#define MV88E6060_LED_PAR_SEL_LED2_ACT_BLINK 0x0B00 |
Definition at line 283 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_COLX
#define MV88E6060_LED_PAR_SEL_LED2_COLX 0x0000 |
Definition at line 273 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_DUPLEX
#define MV88E6060_LED_PAR_SEL_LED2_DUPLEX 0x0200 |
Definition at line 275 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_DUPLEX_COLX
#define MV88E6060_LED_PAR_SEL_LED2_DUPLEX_COLX 0x0300 |
Definition at line 276 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_ERROR
#define MV88E6060_LED_PAR_SEL_LED2_ERROR 0x0100 |
Definition at line 274 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_FORCE_1
#define MV88E6060_LED_PAR_SEL_LED2_FORCE_1 0x0C00 |
Definition at line 284 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_LINK
#define MV88E6060_LED_PAR_SEL_LED2_LINK 0x0500 |
Definition at line 278 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_LINK_RX
#define MV88E6060_LED_PAR_SEL_LED2_LINK_RX 0x0900 |
Definition at line 282 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_RX
#define MV88E6060_LED_PAR_SEL_LED2_RX 0x0700 |
Definition at line 280 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_SPEED
#define MV88E6060_LED_PAR_SEL_LED2_SPEED 0x0400 |
Definition at line 277 of file mv88e6060_driver.h.
◆ MV88E6060_LED_PAR_SEL_LED2_TX
#define MV88E6060_LED_PAR_SEL_LED2_TX 0x0600 |
Definition at line 279 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL
#define MV88E6060_LED_STREAM_SEL 0x17 |
Definition at line 99 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_ACTY
#define MV88E6060_LED_STREAM_SEL_LED_ACTY 0x0C00 |
Definition at line 321 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_ACTY_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_ACTY_DUAL 0x0800 |
Definition at line 323 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_ACTY_OFF
#define MV88E6060_LED_STREAM_SEL_LED_ACTY_OFF 0x0000 |
Definition at line 322 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_ACTY_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_ACTY_SINGLE 0x0C00 |
Definition at line 324 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_DX_COLX
#define MV88E6060_LED_STREAM_SEL_LED_DX_COLX 0x0003 |
Definition at line 341 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_DX_COLX_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_DX_COLX_DUAL 0x0002 |
Definition at line 343 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_DX_COLX_OFF
#define MV88E6060_LED_STREAM_SEL_LED_DX_COLX_OFF 0x0000 |
Definition at line 342 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_DX_COLX_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_DX_COLX_SINGLE 0x0003 |
Definition at line 344 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK
#define MV88E6060_LED_STREAM_SEL_LED_LNK 0x0030 |
Definition at line 333 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY
#define MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY 0xC000 |
Definition at line 313 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY_DUAL 0x8000 |
Definition at line 315 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY_OFF
#define MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY_OFF 0x0000 |
Definition at line 314 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_LNK_ACTY_SINGLE 0xC000 |
Definition at line 316 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_LNK_DUAL 0x0020 |
Definition at line 335 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_OFF
#define MV88E6060_LED_STREAM_SEL_LED_LNK_OFF 0x0000 |
Definition at line 334 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_LNK_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_LNK_SINGLE 0x0030 |
Definition at line 336 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV
#define MV88E6060_LED_STREAM_SEL_LED_RCV 0x0300 |
Definition at line 325 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_RCV_DUAL 0x0200 |
Definition at line 327 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_LNK
#define MV88E6060_LED_STREAM_SEL_LED_RCV_LNK 0x3000 |
Definition at line 317 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_LNK_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_RCV_LNK_DUAL 0x2000 |
Definition at line 319 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_LNK_OFF
#define MV88E6060_LED_STREAM_SEL_LED_RCV_LNK_OFF 0x0000 |
Definition at line 318 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_LNK_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_RCV_LNK_SINGLE 0x3000 |
Definition at line 320 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_OFF
#define MV88E6060_LED_STREAM_SEL_LED_RCV_OFF 0x0000 |
Definition at line 326 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_RCV_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_RCV_SINGLE 0x0300 |
Definition at line 328 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_SPD
#define MV88E6060_LED_STREAM_SEL_LED_SPD 0x000C |
Definition at line 337 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_SPD_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_SPD_DUAL 0x0008 |
Definition at line 339 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_SPD_OFF
#define MV88E6060_LED_STREAM_SEL_LED_SPD_OFF 0x0000 |
Definition at line 338 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_SPD_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_SPD_SINGLE 0x000C |
Definition at line 340 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_TX
#define MV88E6060_LED_STREAM_SEL_LED_TX 0x00C0 |
Definition at line 329 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_TX_DUAL
#define MV88E6060_LED_STREAM_SEL_LED_TX_DUAL 0x0080 |
Definition at line 331 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_TX_OFF
#define MV88E6060_LED_STREAM_SEL_LED_TX_OFF 0x0000 |
Definition at line 330 of file mv88e6060_driver.h.
◆ MV88E6060_LED_STREAM_SEL_LED_TX_SINGLE
#define MV88E6060_LED_STREAM_SEL_LED_TX_SINGLE 0x00C0 |
Definition at line 332 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_ADDR
#define MV88E6060_PHY_ADDR 16 |
Definition at line 39 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN
#define MV88E6060_PHY_INT_EN 0x12 |
Definition at line 94 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_ANEG_DONE_INT_EN
#define MV88E6060_PHY_INT_EN_ANEG_DONE_INT_EN 0x0800 |
Definition at line 240 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_DUPLEX_INT_EN
#define MV88E6060_PHY_INT_EN_DUPLEX_INT_EN 0x2000 |
Definition at line 238 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_E_DET_INT_EN
#define MV88E6060_PHY_INT_EN_E_DET_INT_EN 0x0010 |
Definition at line 246 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_FIFO_ERR_INT
#define MV88E6060_PHY_INT_EN_FIFO_ERR_INT 0x0080 |
Definition at line 244 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_FLS_CRS_INTEN
#define MV88E6060_PHY_INT_EN_FLS_CRS_INTEN 0x0100 |
Definition at line 243 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_JABBER_INT_EN
#define MV88E6060_PHY_INT_EN_JABBER_INT_EN 0x0001 |
Definition at line 248 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_LINK_INT_EN
#define MV88E6060_PHY_INT_EN_LINK_INT_EN 0x0400 |
Definition at line 241 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_MDIX_INT_EN
#define MV88E6060_PHY_INT_EN_MDIX_INT_EN 0x0040 |
Definition at line 245 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_POLARITY_INT_EN
#define MV88E6060_PHY_INT_EN_POLARITY_INT_EN 0x0002 |
Definition at line 247 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_RCV_PAGE_INT_EN
#define MV88E6060_PHY_INT_EN_RCV_PAGE_INT_EN 0x1000 |
Definition at line 239 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_SPEED_INT_EN
#define MV88E6060_PHY_INT_EN_SPEED_INT_EN 0x4000 |
Definition at line 237 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_EN_SYM_ERR_INT_EN
#define MV88E6060_PHY_INT_EN_SYM_ERR_INT_EN 0x0200 |
Definition at line 242 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_PORT_SUMMARY
#define MV88E6060_PHY_INT_PORT_SUMMARY 0x14 |
Definition at line 96 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_PORT_SUMMARY_PORT0_INT_ACTIVE
#define MV88E6060_PHY_INT_PORT_SUMMARY_PORT0_INT_ACTIVE 0x0001 |
Definition at line 269 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_PORT_SUMMARY_PORT1_INT_ACTIVE
#define MV88E6060_PHY_INT_PORT_SUMMARY_PORT1_INT_ACTIVE 0x0002 |
Definition at line 268 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_PORT_SUMMARY_PORT2_INT_ACTIVE
#define MV88E6060_PHY_INT_PORT_SUMMARY_PORT2_INT_ACTIVE 0x0004 |
Definition at line 267 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_PORT_SUMMARY_PORT3_INT_ACTIVE
#define MV88E6060_PHY_INT_PORT_SUMMARY_PORT3_INT_ACTIVE 0x0008 |
Definition at line 266 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_PORT_SUMMARY_PORT4_INT_ACTIVE
#define MV88E6060_PHY_INT_PORT_SUMMARY_PORT4_INT_ACTIVE 0x0010 |
Definition at line 265 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT
#define MV88E6060_PHY_INT_STAT 0x13 |
Definition at line 95 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_ANEG_DONE_INT
#define MV88E6060_PHY_INT_STAT_ANEG_DONE_INT 0x0800 |
Definition at line 254 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_DUPLEX_INT
#define MV88E6060_PHY_INT_STAT_DUPLEX_INT 0x2000 |
Definition at line 252 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_E_DET_INT
#define MV88E6060_PHY_INT_STAT_E_DET_INT 0x0010 |
Definition at line 260 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_FIFO_ERR_INT
#define MV88E6060_PHY_INT_STAT_FIFO_ERR_INT 0x0080 |
Definition at line 258 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_FLS_CRS_INT
#define MV88E6060_PHY_INT_STAT_FLS_CRS_INT 0x0100 |
Definition at line 257 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_JABBER_INT
#define MV88E6060_PHY_INT_STAT_JABBER_INT 0x0001 |
Definition at line 262 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_LINK_INT
#define MV88E6060_PHY_INT_STAT_LINK_INT 0x0400 |
Definition at line 255 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_MDIX_INT
#define MV88E6060_PHY_INT_STAT_MDIX_INT 0x0040 |
Definition at line 259 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_POLARITY_INT
#define MV88E6060_PHY_INT_STAT_POLARITY_INT 0x0002 |
Definition at line 261 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_RCV_PAGE_INT
#define MV88E6060_PHY_INT_STAT_RCV_PAGE_INT 0x1000 |
Definition at line 253 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_SPEED_INT
#define MV88E6060_PHY_INT_STAT_SPEED_INT 0x4000 |
Definition at line 251 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_INT_STAT_SYM_ERR_INT
#define MV88E6060_PHY_INT_STAT_SYM_ERR_INT 0x0200 |
Definition at line 256 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL
#define MV88E6060_PHY_LED_CTRL 0x18 |
Definition at line 100 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_BLINK_RATE
#define MV88E6060_PHY_LED_CTRL_BLINK_RATE 0x0E00 |
Definition at line 356 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_BLINK_RATE_170MS
#define MV88E6060_PHY_LED_CTRL_BLINK_RATE_170MS 0x0400 |
Definition at line 359 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_BLINK_RATE_340MS
#define MV88E6060_PHY_LED_CTRL_BLINK_RATE_340MS 0x0600 |
Definition at line 360 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_BLINK_RATE_42MS
#define MV88E6060_PHY_LED_CTRL_BLINK_RATE_42MS 0x0000 |
Definition at line 357 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_BLINK_RATE_670MS
#define MV88E6060_PHY_LED_CTRL_BLINK_RATE_670MS 0x0800 |
Definition at line 361 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_BLINK_RATE_84MS
#define MV88E6060_PHY_LED_CTRL_BLINK_RATE_84MS 0x0200 |
Definition at line 358 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_COLX
#define MV88E6060_PHY_LED_CTRL_COLX 0x0003 |
Definition at line 377 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_COLX_DUAL
#define MV88E6060_PHY_LED_CTRL_COLX_DUAL 0x0002 |
Definition at line 379 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_COLX_OFF
#define MV88E6060_PHY_LED_CTRL_COLX_OFF 0x0000 |
Definition at line 378 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_COLX_SINGLE
#define MV88E6060_PHY_LED_CTRL_COLX_SINGLE 0x0003 |
Definition at line 380 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_DUPLEX
#define MV88E6060_PHY_LED_CTRL_DUPLEX 0x0030 |
Definition at line 369 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_DUPLEX_DUAL
#define MV88E6060_PHY_LED_CTRL_DUPLEX_DUAL 0x0020 |
Definition at line 371 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_DUPLEX_OFF
#define MV88E6060_PHY_LED_CTRL_DUPLEX_OFF 0x0000 |
Definition at line 370 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_DUPLEX_SINGLE
#define MV88E6060_PHY_LED_CTRL_DUPLEX_SINGLE 0x0030 |
Definition at line 372 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_ERROR
#define MV88E6060_PHY_LED_CTRL_ERROR 0x000C |
Definition at line 373 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_ERROR_DUAL
#define MV88E6060_PHY_LED_CTRL_ERROR_DUAL 0x0008 |
Definition at line 375 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_ERROR_OFF
#define MV88E6060_PHY_LED_CTRL_ERROR_OFF 0x0000 |
Definition at line 374 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_ERROR_SINGLE
#define MV88E6060_PHY_LED_CTRL_ERROR_SINGLE 0x000C |
Definition at line 376 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH 0x7000 |
Definition at line 347 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_170MS_TO_340MS
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_170MS_TO_340MS 0x4000 |
Definition at line 352 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_1_3S_TO_2_7S
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_1_3S_TO_2_7S 0x7000 |
Definition at line 355 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_21MS_TO_42MS
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_21MS_TO_42MS 0x1000 |
Definition at line 349 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_340MS_TO_670MS
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_340MS_TO_670MS 0x5000 |
Definition at line 353 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_42MS_TO_84MS
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_42MS_TO_84MS 0x2000 |
Definition at line 350 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_670MS_TO_1_3S
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_670MS_TO_1_3S 0x6000 |
Definition at line 354 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_84MS_TO_170MS
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_84MS_TO_170MS 0x3000 |
Definition at line 351 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_NO
#define MV88E6060_PHY_LED_CTRL_PULSE_STRETCH_NO 0x0000 |
Definition at line 348 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE 0x01C0 |
Definition at line 362 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_10MS
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_10MS 0x0000 |
Definition at line 363 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_170MS
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_170MS 0x0100 |
Definition at line 367 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_21MS
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_21MS 0x0040 |
Definition at line 364 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_340MS
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_340MS 0x0140 |
Definition at line 368 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_42MS
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_42MS 0x0080 |
Definition at line 365 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_84MS
#define MV88E6060_PHY_LED_CTRL_SR_STR_UPDATE_84MS 0x00C0 |
Definition at line 366 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE
#define MV88E6060_PHY_MAN_LED_OVERRIDE 0x19 |
Definition at line 101 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED0
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED0 0x0003 |
Definition at line 393 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_BLINK
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_BLINK 0x0001 |
Definition at line 395 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_NORMAL
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_NORMAL 0x0000 |
Definition at line 394 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_OFF
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_OFF 0x0002 |
Definition at line 396 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_ON
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED0_ON 0x0003 |
Definition at line 397 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED1
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED1 0x000C |
Definition at line 388 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_BLINK
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_BLINK 0x0004 |
Definition at line 390 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_NORMAL
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_NORMAL 0x0000 |
Definition at line 389 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_OFF
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_OFF 0x0008 |
Definition at line 391 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_ON
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED1_ON 0x000C |
Definition at line 392 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED2
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED2 0x0030 |
Definition at line 383 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_BLINK
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_BLINK 0x0010 |
Definition at line 385 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_NORMAL
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_NORMAL 0x0000 |
Definition at line 384 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_OFF
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_OFF 0x0020 |
Definition at line 386 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_ON
#define MV88E6060_PHY_MAN_LED_OVERRIDE_LED2_ON 0x0030 |
Definition at line 387 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL
#define MV88E6060_PHY_SPEC_CTRL 0x10 |
Definition at line 92 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL2
#define MV88E6060_PHY_SPEC_CTRL2 0x1C |
Definition at line 104 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL2_SEL_CLS_A
#define MV88E6060_PHY_SPEC_CTRL2_SEL_CLS_A 0x0001 |
Definition at line 419 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_AUTO_MDIX
#define MV88E6060_PHY_SPEC_CTRL_AUTO_MDIX 0x0030 |
Definition at line 220 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_AUTO_POL
#define MV88E6060_PHY_SPEC_CTRL_AUTO_POL 0x0002 |
Definition at line 222 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_DIS_FEFI
#define MV88E6060_PHY_SPEC_CTRL_DIS_FEFI 0x0100 |
Definition at line 217 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_DIS_JABBER
#define MV88E6060_PHY_SPEC_CTRL_DIS_JABBER 0x0001 |
Definition at line 223 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_DIS_NLP_CHECK
#define MV88E6060_PHY_SPEC_CTRL_DIS_NLP_CHECK 0x2000 |
Definition at line 212 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_DIS_NLP_GEN
#define MV88E6060_PHY_SPEC_CTRL_DIS_NLP_GEN 0x0800 |
Definition at line 214 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_DIS_SCRAMBLER
#define MV88E6060_PHY_SPEC_CTRL_DIS_SCRAMBLER 0x0200 |
Definition at line 216 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_E_DET
#define MV88E6060_PHY_SPEC_CTRL_E_DET 0x4000 |
Definition at line 211 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_EXTD_DISTANCE
#define MV88E6060_PHY_SPEC_CTRL_EXTD_DISTANCE 0x0080 |
Definition at line 218 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_FORCE_LINK
#define MV88E6060_PHY_SPEC_CTRL_FORCE_LINK 0x0400 |
Definition at line 215 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_REG8_NXT_PG
#define MV88E6060_PHY_SPEC_CTRL_REG8_NXT_PG 0x1000 |
Definition at line 213 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_RX_FIFO_DEPTH
#define MV88E6060_PHY_SPEC_CTRL_RX_FIFO_DEPTH 0x000C |
Definition at line 221 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_CTRL_TP_SELECT
#define MV88E6060_PHY_SPEC_CTRL_TP_SELECT 0x0040 |
Definition at line 219 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT
#define MV88E6060_PHY_SPEC_STAT 0x11 |
Definition at line 93 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_MDI_MDIX
#define MV88E6060_PHY_SPEC_STAT_MDI_MDIX 0x0040 |
Definition at line 231 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RCV_PAGE
#define MV88E6060_PHY_SPEC_STAT_RCV_PAGE 0x1000 |
Definition at line 228 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RES_DUPLEX
#define MV88E6060_PHY_SPEC_STAT_RES_DUPLEX 0x2000 |
Definition at line 227 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RES_SPEED
#define MV88E6060_PHY_SPEC_STAT_RES_SPEED 0x4000 |
Definition at line 226 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RESOLVED
#define MV88E6060_PHY_SPEC_STAT_RESOLVED 0x0800 |
Definition at line 229 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RT_JABBER
#define MV88E6060_PHY_SPEC_STAT_RT_JABBER 0x0001 |
Definition at line 234 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RT_LINK
#define MV88E6060_PHY_SPEC_STAT_RT_LINK 0x0400 |
Definition at line 230 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_RT_POLARITY
#define MV88E6060_PHY_SPEC_STAT_RT_POLARITY 0x0002 |
Definition at line 233 of file mv88e6060_driver.h.
◆ MV88E6060_PHY_SPEC_STAT_SLEEP
#define MV88E6060_PHY_SPEC_STAT_SLEEP 0x0010 |
Definition at line 232 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID1
#define MV88E6060_PHYID1 0x02 |
Definition at line 85 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID1_OUI_MSB
#define MV88E6060_PHYID1_OUI_MSB 0xFFFF |
Definition at line 158 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID1_OUI_MSB_DEFAULT
#define MV88E6060_PHYID1_OUI_MSB_DEFAULT 0x0141 |
Definition at line 159 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID2
#define MV88E6060_PHYID2 0x03 |
Definition at line 86 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID2_MODEL_NUM
#define MV88E6060_PHYID2_MODEL_NUM 0x03F0 |
Definition at line 164 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID2_MODEL_NUM_DEFAULT
#define MV88E6060_PHYID2_MODEL_NUM_DEFAULT 0x0080 |
Definition at line 165 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID2_OUI_LSB
#define MV88E6060_PHYID2_OUI_LSB 0xFC00 |
Definition at line 162 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID2_OUI_LSB_DEFAULT
#define MV88E6060_PHYID2_OUI_LSB_DEFAULT 0x0C00 |
Definition at line 163 of file mv88e6060_driver.h.
◆ MV88E6060_PHYID2_REV_NUM
#define MV88E6060_PHYID2_REV_NUM 0x000F |
Definition at line 166 of file mv88e6060_driver.h.
◆ MV88E6060_PORT0
#define MV88E6060_PORT0 1 |
Definition at line 45 of file mv88e6060_driver.h.
◆ MV88E6060_PORT0_MASK
#define MV88E6060_PORT0_MASK 0x01 |
Definition at line 54 of file mv88e6060_driver.h.
◆ MV88E6060_PORT1
#define MV88E6060_PORT1 2 |
Definition at line 46 of file mv88e6060_driver.h.
◆ MV88E6060_PORT1_MASK
#define MV88E6060_PORT1_MASK 0x02 |
Definition at line 55 of file mv88e6060_driver.h.
◆ MV88E6060_PORT2
#define MV88E6060_PORT2 3 |
Definition at line 47 of file mv88e6060_driver.h.
◆ MV88E6060_PORT2_MASK
#define MV88E6060_PORT2_MASK 0x04 |
Definition at line 56 of file mv88e6060_driver.h.
◆ MV88E6060_PORT3
#define MV88E6060_PORT3 4 |
Definition at line 48 of file mv88e6060_driver.h.
◆ MV88E6060_PORT3_MASK
#define MV88E6060_PORT3_MASK 0x08 |
Definition at line 57 of file mv88e6060_driver.h.
◆ MV88E6060_PORT4
#define MV88E6060_PORT4 5 |
Definition at line 49 of file mv88e6060_driver.h.
◆ MV88E6060_PORT4_MASK
#define MV88E6060_PORT4_MASK 0x10 |
Definition at line 58 of file mv88e6060_driver.h.
◆ MV88E6060_PORT5
#define MV88E6060_PORT5 6 |
Definition at line 50 of file mv88e6060_driver.h.
◆ MV88E6060_PORT5_MASK
#define MV88E6060_PORT5_MASK 0x20 |
Definition at line 59 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR
#define MV88E6060_PORT_ASSOC_VECTOR 0x0B |
Definition at line 111 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_INGRESS_MONITOR
#define MV88E6060_PORT_ASSOC_VECTOR_INGRESS_MONITOR 0x8000 |
Definition at line 460 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV
#define MV88E6060_PORT_ASSOC_VECTOR_PAV 0x003F |
Definition at line 461 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT0
#define MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT0 0x0001 |
Definition at line 462 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT1
#define MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT1 0x0002 |
Definition at line 463 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT2
#define MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT2 0x0004 |
Definition at line 464 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT3
#define MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT3 0x0008 |
Definition at line 465 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT4
#define MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT4 0x0010 |
Definition at line 466 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT5
#define MV88E6060_PORT_ASSOC_VECTOR_PAV_PORT5 0x0020 |
Definition at line 467 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL
#define MV88E6060_PORT_CTRL 0x04 |
Definition at line 109 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_FORCE_FLOW_CONTROL
#define MV88E6060_PORT_CTRL_FORCE_FLOW_CONTROL 0x8000 |
Definition at line 437 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_HEADER
#define MV88E6060_PORT_CTRL_HEADER 0x0800 |
Definition at line 439 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_INGRESS_MODE
#define MV88E6060_PORT_CTRL_INGRESS_MODE 0x0100 |
Definition at line 441 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_PORT_STATE
#define MV88E6060_PORT_CTRL_PORT_STATE 0x0003 |
Definition at line 443 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_PORT_STATE_BLOCKING
#define MV88E6060_PORT_CTRL_PORT_STATE_BLOCKING 0x0001 |
Definition at line 445 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_PORT_STATE_DISABLED
#define MV88E6060_PORT_CTRL_PORT_STATE_DISABLED 0x0000 |
Definition at line 444 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_PORT_STATE_FORWARDING
#define MV88E6060_PORT_CTRL_PORT_STATE_FORWARDING 0x0003 |
Definition at line 447 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_PORT_STATE_LEARNING
#define MV88E6060_PORT_CTRL_PORT_STATE_LEARNING 0x0002 |
Definition at line 446 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_RESERVED
#define MV88E6060_PORT_CTRL_RESERVED 0x0600 |
Definition at line 440 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_TRAILER
#define MV88E6060_PORT_CTRL_TRAILER 0x4000 |
Definition at line 438 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_CTRL_VLAN_TUNNEL
#define MV88E6060_PORT_CTRL_VLAN_TUNNEL 0x0080 |
Definition at line 442 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_MASK
#define MV88E6060_PORT_MASK 0x3F |
Definition at line 53 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT
#define MV88E6060_PORT_STAT 0x00 |
Definition at line 107 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_DUPLEX
#define MV88E6060_PORT_STAT_DUPLEX 0x0200 |
Definition at line 428 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_LINK
#define MV88E6060_PORT_STAT_LINK 0x1000 |
Definition at line 425 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_LINK_PAUSE
#define MV88E6060_PORT_STAT_LINK_PAUSE 0x8000 |
Definition at line 422 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_MY_PAUSE
#define MV88E6060_PORT_STAT_MY_PAUSE 0x4000 |
Definition at line 423 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_PHY_MODE
#define MV88E6060_PORT_STAT_PHY_MODE 0x0400 |
Definition at line 427 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_PORT_MODE
#define MV88E6060_PORT_STAT_PORT_MODE 0x0800 |
Definition at line 426 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_RESOLVED
#define MV88E6060_PORT_STAT_RESOLVED 0x2000 |
Definition at line 424 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_STAT_SPEED
#define MV88E6060_PORT_STAT_SPEED 0x0100 |
Definition at line 429 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP
#define MV88E6060_PORT_VLAN_MAP 0x06 |
Definition at line 110 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_DB_NUM
#define MV88E6060_PORT_VLAN_MAP_DB_NUM 0xF000 |
Definition at line 450 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE 0x003F |
Definition at line 451 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT0
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT0 0x0001 |
Definition at line 452 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT1
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT1 0x0002 |
Definition at line 453 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT2
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT2 0x0004 |
Definition at line 454 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT3
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT3 0x0008 |
Definition at line 455 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT4
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT4 0x0010 |
Definition at line 456 of file mv88e6060_driver.h.
◆ MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT5
#define MV88E6060_PORT_VLAN_MAP_VLAN_TABLE_PORT5 0x0020 |
Definition at line 457 of file mv88e6060_driver.h.
◆ MV88E6060_RX_COUNTER
#define MV88E6060_RX_COUNTER 0x10 |
Definition at line 112 of file mv88e6060_driver.h.
◆ MV88E6060_RX_ERR_COUNTER
#define MV88E6060_RX_ERR_COUNTER 0x15 |
Definition at line 97 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL
#define MV88E6060_SWITCH_GLOBAL_CTRL 0x04 |
Definition at line 120 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_ATU_DONE_INT_EN
#define MV88E6060_SWITCH_GLOBAL_CTRL_ATU_DONE_INT_EN 0x0004 |
Definition at line 496 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_ATU_FULL_INT_EN
#define MV88E6060_SWITCH_GLOBAL_CTRL_ATU_FULL_INT_EN 0x0008 |
Definition at line 495 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_CTR_MODE
#define MV88E6060_SWITCH_GLOBAL_CTRL_CTR_MODE 0x0100 |
Definition at line 494 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_DISCARD_EXCESSIVE
#define MV88E6060_SWITCH_GLOBAL_CTRL_DISCARD_EXCESSIVE 0x2000 |
Definition at line 491 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_EE_INT_EN
#define MV88E6060_SWITCH_GLOBAL_CTRL_EE_INT_EN 0x0001 |
Definition at line 498 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_MAX_FRAME_SIZE
#define MV88E6060_SWITCH_GLOBAL_CTRL_MAX_FRAME_SIZE 0x0400 |
Definition at line 492 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_PHY_INT_EN
#define MV88E6060_SWITCH_GLOBAL_CTRL_PHY_INT_EN 0x0002 |
Definition at line 497 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_CTRL_RE_LOAD
#define MV88E6060_SWITCH_GLOBAL_CTRL_RE_LOAD 0x0200 |
Definition at line 493 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT
#define MV88E6060_SWITCH_GLOBAL_STAT 0x00 |
Definition at line 116 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT_ATU_DONE
#define MV88E6060_SWITCH_GLOBAL_STAT_ATU_DONE 0x0004 |
Definition at line 473 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT_ATU_FULL
#define MV88E6060_SWITCH_GLOBAL_STAT_ATU_FULL 0x0008 |
Definition at line 472 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT_EE_INT
#define MV88E6060_SWITCH_GLOBAL_STAT_EE_INT 0x0001 |
Definition at line 475 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT_INIT_READY
#define MV88E6060_SWITCH_GLOBAL_STAT_INIT_READY 0x0800 |
Definition at line 471 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT_PHY_INT
#define MV88E6060_SWITCH_GLOBAL_STAT_PHY_INT 0x0002 |
Definition at line 474 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_GLOBAL_STAT_SW_MODE
#define MV88E6060_SWITCH_GLOBAL_STAT_SW_MODE 0x3000 |
Definition at line 470 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_ID
#define MV88E6060_SWITCH_ID 0x03 |
Definition at line 108 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_ID_DEVICE_ID
#define MV88E6060_SWITCH_ID_DEVICE_ID 0xFFF0 |
Definition at line 432 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_ID_DEVICE_ID_DEFAULT
#define MV88E6060_SWITCH_ID_DEVICE_ID_DEFAULT 0x0600 |
Definition at line 433 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_ID_REV_ID
#define MV88E6060_SWITCH_ID_REV_ID 0x000F |
Definition at line 434 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_0_1
#define MV88E6060_SWITCH_MAC_ADDR_0_1 0x01 |
Definition at line 117 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_0_1_DIFF_ADDR
#define MV88E6060_SWITCH_MAC_ADDR_0_1_DIFF_ADDR 0x0100 |
Definition at line 479 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_0_1_MAC_BYTE0
#define MV88E6060_SWITCH_MAC_ADDR_0_1_MAC_BYTE0 0xFE00 |
Definition at line 478 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_0_1_MAC_BYTE1
#define MV88E6060_SWITCH_MAC_ADDR_0_1_MAC_BYTE1 0x00FF |
Definition at line 480 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_2_3
#define MV88E6060_SWITCH_MAC_ADDR_2_3 0x02 |
Definition at line 118 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_2_3_MAC_BYTE2
#define MV88E6060_SWITCH_MAC_ADDR_2_3_MAC_BYTE2 0xFF00 |
Definition at line 483 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_2_3_MAC_BYTE3
#define MV88E6060_SWITCH_MAC_ADDR_2_3_MAC_BYTE3 0x00FF |
Definition at line 484 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_4_5
#define MV88E6060_SWITCH_MAC_ADDR_4_5 0x03 |
Definition at line 119 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_4_5_MAC_BYTE4
#define MV88E6060_SWITCH_MAC_ADDR_4_5_MAC_BYTE4 0xFF00 |
Definition at line 487 of file mv88e6060_driver.h.
◆ MV88E6060_SWITCH_MAC_ADDR_4_5_MAC_BYTE5
#define MV88E6060_SWITCH_MAC_ADDR_4_5_MAC_BYTE5 0x00FF |
Definition at line 488 of file mv88e6060_driver.h.
◆ MV88E6060_TX_COUNTER
#define MV88E6060_TX_COUNTER 0x11 |
Definition at line 113 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN
#define MV88E6060_VCT_RXPN 0x1B |
Definition at line 103 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_AMP_RFLN
#define MV88E6060_VCT_RXPN_AMP_RFLN 0x1F00 |
Definition at line 415 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_DIST_RFLN
#define MV88E6060_VCT_RXPN_DIST_RFLN 0x00FF |
Definition at line 416 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_VCT_TST
#define MV88E6060_VCT_RXPN_VCT_TST 0x6000 |
Definition at line 410 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_VCT_TST_FAIL
#define MV88E6060_VCT_RXPN_VCT_TST_FAIL 0x6000 |
Definition at line 414 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_VCT_TST_VALID_NORMAL
#define MV88E6060_VCT_RXPN_VCT_TST_VALID_NORMAL 0x0000 |
Definition at line 411 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_VCT_TST_VALID_OPEN
#define MV88E6060_VCT_RXPN_VCT_TST_VALID_OPEN 0x4000 |
Definition at line 413 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_RXPN_VCT_TST_VALID_SHORT
#define MV88E6060_VCT_RXPN_VCT_TST_VALID_SHORT 0x2000 |
Definition at line 412 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN
#define MV88E6060_VCT_TXPN 0x1A |
Definition at line 102 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_AMP_RFLN
#define MV88E6060_VCT_TXPN_AMP_RFLN 0x1F00 |
Definition at line 406 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_DIST_RFLN
#define MV88E6060_VCT_TXPN_DIST_RFLN 0x00FF |
Definition at line 407 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_EN_VCT
#define MV88E6060_VCT_TXPN_EN_VCT 0x8000 |
Definition at line 400 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_VCT_TST
#define MV88E6060_VCT_TXPN_VCT_TST 0x6000 |
Definition at line 401 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_VCT_TST_FAIL
#define MV88E6060_VCT_TXPN_VCT_TST_FAIL 0x6000 |
Definition at line 405 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_VCT_TST_VALID_NORMAL
#define MV88E6060_VCT_TXPN_VCT_TST_VALID_NORMAL 0x0000 |
Definition at line 402 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_VCT_TST_VALID_OPEN
#define MV88E6060_VCT_TXPN_VCT_TST_VALID_OPEN 0x4000 |
Definition at line 404 of file mv88e6060_driver.h.
◆ MV88E6060_VCT_TXPN_VCT_TST_VALID_SHORT
#define MV88E6060_VCT_TXPN_VCT_TST_VALID_SHORT 0x2000 |
Definition at line 403 of file mv88e6060_driver.h.
Function Documentation
◆ mv88e6060AddStaticFdbEntry()
error_t mv88e6060AddStaticFdbEntry | ( | NetInterface * | interface, |
const SwitchFdbEntry * | entry | ||
) |
Add a new entry to the static MAC table.
- Parameters
-
[in] interface Underlying network interface [in] entry Pointer to the forwarding database entry
- Returns
- Error code
Definition at line 834 of file mv88e6060_driver.c.
◆ mv88e6060DeleteStaticFdbEntry()
error_t mv88e6060DeleteStaticFdbEntry | ( | NetInterface * | interface, |
const SwitchFdbEntry * | entry | ||
) |
Remove an entry from the static MAC table.
- Parameters
-
[in] interface Underlying network interface [in] entry Forwarding database entry to remove from the table
- Returns
- Error code
Definition at line 918 of file mv88e6060_driver.c.
◆ mv88e6060DisableIrq()
void mv88e6060DisableIrq | ( | NetInterface * | interface | ) |
Disable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 299 of file mv88e6060_driver.c.
◆ mv88e6060DumpPhyReg()
void mv88e6060DumpPhyReg | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Dump PHY registers for debugging purpose.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
Definition at line 1511 of file mv88e6060_driver.c.
◆ mv88e6060EnableIgmpSnooping()
void mv88e6060EnableIgmpSnooping | ( | NetInterface * | interface, |
bool_t | enable | ||
) |
Enable IGMP snooping.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable IGMP snooping
Definition at line 768 of file mv88e6060_driver.c.
◆ mv88e6060EnableIrq()
void mv88e6060EnableIrq | ( | NetInterface * | interface | ) |
Enable interrupts.
- Parameters
-
[in] interface Underlying network interface
Definition at line 289 of file mv88e6060_driver.c.
◆ mv88e6060EnableMldSnooping()
void mv88e6060EnableMldSnooping | ( | NetInterface * | interface, |
bool_t | enable | ||
) |
Enable MLD snooping.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable MLD snooping
Definition at line 780 of file mv88e6060_driver.c.
◆ mv88e6060EnableRsvdMcastTable()
void mv88e6060EnableRsvdMcastTable | ( | NetInterface * | interface, |
bool_t | enable | ||
) |
Enable reserved multicast table.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable reserved group addresses
Definition at line 792 of file mv88e6060_driver.c.
◆ mv88e6060EventHandler()
void mv88e6060EventHandler | ( | NetInterface * | interface | ) |
88E6060 event handler
- Parameters
-
[in] interface Underlying network interface
Definition at line 309 of file mv88e6060_driver.c.
◆ mv88e6060FlushDynamicFdbTable()
void mv88e6060FlushDynamicFdbTable | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Flush dynamic MAC table.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
Definition at line 1289 of file mv88e6060_driver.c.
◆ mv88e6060FlushStaticFdbTable()
void mv88e6060FlushStaticFdbTable | ( | NetInterface * | interface | ) |
Flush static MAC table.
- Parameters
-
[in] interface Underlying network interface
Definition at line 1102 of file mv88e6060_driver.c.
◆ mv88e6060GetDuplexMode()
NicDuplexMode mv88e6060GetDuplexMode | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get duplex mode.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Duplex mode
Definition at line 598 of file mv88e6060_driver.c.
◆ mv88e6060GetDynamicFdbEntry()
error_t mv88e6060GetDynamicFdbEntry | ( | NetInterface * | interface, |
uint_t | index, | ||
SwitchFdbEntry * | entry | ||
) |
Read an entry from the dynamic MAC table.
- Parameters
-
[in] interface Underlying network interface [in] index Zero-based index of the entry to read [out] entry Pointer to the forwarding database entry
- Returns
- Error code
Definition at line 1137 of file mv88e6060_driver.c.
◆ mv88e6060GetLinkSpeed()
uint32_t mv88e6060GetLinkSpeed | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get link speed.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Link speed
Definition at line 559 of file mv88e6060_driver.c.
◆ mv88e6060GetLinkState()
bool_t mv88e6060GetLinkState | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get link state.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Link state
Definition at line 527 of file mv88e6060_driver.c.
◆ mv88e6060GetPortState()
SwitchPortState mv88e6060GetPortState | ( | NetInterface * | interface, |
uint8_t | port | ||
) |
Get port state.
- Parameters
-
[in] interface Underlying network interface [in] port Port number
- Returns
- Port state
Definition at line 688 of file mv88e6060_driver.c.
◆ mv88e6060GetStaticFdbEntry()
error_t mv88e6060GetStaticFdbEntry | ( | NetInterface * | interface, |
uint_t | index, | ||
SwitchFdbEntry * | entry | ||
) |
Read an entry from the static MAC table.
- Parameters
-
[in] interface Underlying network interface [in] index Zero-based index of the entry to read [out] entry Pointer to the forwarding database entry
- Returns
- Error code
Definition at line 975 of file mv88e6060_driver.c.
◆ mv88e6060Init()
error_t mv88e6060Init | ( | NetInterface * | interface | ) |
88E6060 Ethernet switch initialization
- Parameters
-
[in] interface Underlying network interface
- Returns
- Error code
Definition at line 94 of file mv88e6060_driver.c.
◆ mv88e6060InitHook()
void mv88e6060InitHook | ( | NetInterface * | interface | ) |
88E6060 custom configuration
- Parameters
-
[in] interface Underlying network interface
Definition at line 209 of file mv88e6060_driver.c.
◆ mv88e6060ReadPhyReg()
uint16_t mv88e6060ReadPhyReg | ( | NetInterface * | interface, |
uint8_t | port, | ||
uint8_t | address | ||
) |
Read PHY register.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] address PHY register address
- Returns
- Register value
Definition at line 1482 of file mv88e6060_driver.c.
◆ mv88e6060ReadSmiReg()
uint16_t mv88e6060ReadSmiReg | ( | NetInterface * | interface, |
uint8_t | deviceAddr, | ||
uint8_t | regAddr | ||
) |
Read SMI register.
- Parameters
-
[in] interface Underlying network interface [in] deviceAddr SMI device address [in] regAddr Register address
- Returns
- Register value
Definition at line 1426 of file mv88e6060_driver.c.
◆ mv88e6060ReadSwitchGlobalReg()
uint16_t mv88e6060ReadSwitchGlobalReg | ( | NetInterface * | interface, |
uint8_t | address | ||
) |
Read switch global register.
- Parameters
-
[in] interface Underlying network interface [in] address Switch global register address
- Returns
- Register value
Definition at line 1609 of file mv88e6060_driver.c.
◆ mv88e6060ReadSwitchPortReg()
uint16_t mv88e6060ReadSwitchPortReg | ( | NetInterface * | interface, |
uint8_t | port, | ||
uint8_t | address | ||
) |
Read switch port register.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] address Switch port register address
- Returns
- Register value
Definition at line 1562 of file mv88e6060_driver.c.
◆ mv88e6060SetAgingTime()
void mv88e6060SetAgingTime | ( | NetInterface * | interface, |
uint32_t | agingTime | ||
) |
Set aging time for dynamic filtering entries.
- Parameters
-
[in] interface Underlying network interface [in] agingTime Aging time, in seconds
Definition at line 740 of file mv88e6060_driver.c.
◆ mv88e6060SetPortState()
void mv88e6060SetPortState | ( | NetInterface * | interface, |
uint8_t | port, | ||
SwitchPortState | state | ||
) |
Set port state.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] state Port state
Definition at line 637 of file mv88e6060_driver.c.
◆ mv88e6060SetUnknownMcastFwdPorts()
void mv88e6060SetUnknownMcastFwdPorts | ( | NetInterface * | interface, |
bool_t | enable, | ||
uint32_t | forwardPorts | ||
) |
Set forward ports for unknown multicast packets.
- Parameters
-
[in] interface Underlying network interface [in] enable Enable or disable forwarding of unknown multicast packets [in] forwardPorts Port map
Definition at line 1385 of file mv88e6060_driver.c.
◆ mv88e6060TagFrame()
error_t mv88e6060TagFrame | ( | NetInterface * | interface, |
NetBuffer * | buffer, | ||
size_t * | offset, | ||
NetTxAncillary * | ancillary | ||
) |
Add ingress trailer to Ethernet frame.
- Parameters
-
[in] interface Underlying network interface [in] buffer Multi-part buffer containing the payload [in,out] offset Offset to the first payload byte [in] ancillary Additional options passed to the stack along with the packet
- Returns
- Error code
Definition at line 425 of file mv88e6060_driver.c.
◆ mv88e6060Tick()
void mv88e6060Tick | ( | NetInterface * | interface | ) |
88E6060 timer handler
- Parameters
-
[in] interface Underlying network interface
Definition at line 219 of file mv88e6060_driver.c.
◆ mv88e6060UntagFrame()
error_t mv88e6060UntagFrame | ( | NetInterface * | interface, |
uint8_t ** | frame, | ||
size_t * | length, | ||
NetRxAncillary * | ancillary | ||
) |
Decode egress trailer from incoming Ethernet frame.
- Parameters
-
[in] interface Underlying network interface [in,out] frame Pointer to the received Ethernet frame [in,out] length Length of the frame, in bytes [in,out] ancillary Additional options passed to the stack along with the packet
- Returns
- Error code
Definition at line 480 of file mv88e6060_driver.c.
◆ mv88e6060WritePhyReg()
void mv88e6060WritePhyReg | ( | NetInterface * | interface, |
uint8_t | port, | ||
uint8_t | address, | ||
uint16_t | data | ||
) |
Write PHY register.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] address PHY register address [in] data Register value
Definition at line 1457 of file mv88e6060_driver.c.
◆ mv88e6060WriteSmiReg()
void mv88e6060WriteSmiReg | ( | NetInterface * | interface, |
uint8_t | deviceAddr, | ||
uint8_t | regAddr, | ||
uint16_t | data | ||
) |
Write SMI register.
- Parameters
-
[in] interface Underlying network interface [in] deviceAddr SMI device address [in] regAddr Register address [in] data Register value
Definition at line 1400 of file mv88e6060_driver.c.
◆ mv88e6060WriteSwitchGlobalReg()
void mv88e6060WriteSwitchGlobalReg | ( | NetInterface * | interface, |
uint8_t | address, | ||
uint16_t | data | ||
) |
Write switch global register.
- Parameters
-
[in] interface Underlying network interface [in] address Switch global register address [in] data Register value
Definition at line 1593 of file mv88e6060_driver.c.
◆ mv88e6060WriteSwitchPortReg()
void mv88e6060WriteSwitchPortReg | ( | NetInterface * | interface, |
uint8_t | port, | ||
uint8_t | address, | ||
uint16_t | data | ||
) |
Write switch port register.
- Parameters
-
[in] interface Underlying network interface [in] port Port number [in] address Switch port register address [in] data Register value
Definition at line 1536 of file mv88e6060_driver.c.
Variable Documentation
◆ mv88e6060SwitchDriver
|
extern |
88E6060 Ethernet switch driver
Definition at line 45 of file mv88e6060_driver.c.