.. index:: pair: struct; net_drv_phy_saved_state .. _doxid-structnet__drv__phy__saved__state: struct net_drv_phy_saved_state ============================== .. toctree:: :hidden: Overview ~~~~~~~~ Saved PHY configuration for later restoration. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct net_drv_phy_saved_state { // fields int :ref:`autoneg`; int :ref:`speed_admin`; int :ref:`duplex_admin`; :ref:`net_drv_phy_mode_info`* :ref:`modes`; unsigned int :ref:`modes_num`; bool :ref:`saved`; }; .. _details-structnet__drv__phy__saved__state: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Saved PHY configuration for later restoration. Fields ------ .. index:: pair: variable; autoneg .. _doxid-structnet__drv__phy__saved__state_1a48e501604f6fd12cb62d4b6178d33dc9: .. ref-code-block:: cpp :class: doxyrest-title-code-block int autoneg Autonegotiation state. .. index:: pair: variable; speed_admin .. _doxid-structnet__drv__phy__saved__state_1a79467b5578392a13de4344b9b39743a6: .. ref-code-block:: cpp :class: doxyrest-title-code-block int speed_admin Administrative speed. .. index:: pair: variable; duplex_admin .. _doxid-structnet__drv__phy__saved__state_1afd830c48870b3e774f76933d984430d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block int duplex_admin Administrative duplex. .. index:: pair: variable; modes .. _doxid-structnet__drv__phy__saved__state_1a21d522eb8b07e30dbe3a64caa142b670: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`net_drv_phy_mode_info`* modes Exact PHY modes. .. index:: pair: variable; modes_num .. _doxid-structnet__drv__phy__saved__state_1ab3f996c2f9c002fe7db7c633155bb16a: .. ref-code-block:: cpp :class: doxyrest-title-code-block unsigned int modes_num Number of entries in **modes**. .. index:: pair: variable; saved .. _doxid-structnet__drv__phy__saved__state_1ac254d82c202f85adc831d2c79402b182: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool saved Whether the state was saved successfully.