Zephyr Project API 4.1.99
A Scalable Open Source RTOS
|
Structure of DSA port configuration. More...
#include <dsa_core.h>
Data Fields | |
uint8_t | mac_addr [6] |
Port mac address. | |
const bool | use_random_mac_addr |
Use random mac address or not. | |
const int | port_idx |
Port index. | |
const struct device * | phy_dev |
PHY device. | |
const char * | phy_mode |
PHY mode. | |
const struct device * | ethernet_connection |
Ethernet device connected to the port. | |
void * | prv_config |
Instance specific config. | |
Structure of DSA port configuration.
const struct device* dsa_port_config::ethernet_connection |
Ethernet device connected to the port.
uint8_t dsa_port_config::mac_addr[6] |
Port mac address.
const struct device* dsa_port_config::phy_dev |
PHY device.
const char* dsa_port_config::phy_mode |
PHY mode.
const int dsa_port_config::port_idx |
Port index.
void* dsa_port_config::prv_config |
Instance specific config.
const bool dsa_port_config::use_random_mac_addr |
Use random mac address or not.