struct net_drv_phy_saved_state

Overview

Saved PHY configuration for later restoration. More...

#include <net_drv_phy.h>

struct net_drv_phy_saved_state {
    // fields

    int autoneg;
    int speed_admin;
    int duplex_admin;
    net_drv_phy_mode_info* modes;
    unsigned int modes_num;
    bool saved;
};

Detailed Documentation

Saved PHY configuration for later restoration.

Fields

int autoneg

Autonegotiation state.

int speed_admin

Administrative speed.

int duplex_admin

Administrative duplex.

net_drv_phy_mode_info* modes

Exact PHY modes.

unsigned int modes_num

Number of entries in modes.

bool saved

Whether the state was saved successfully.