Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pointer to a link state structure with link state information to configure. The NET_DEV_LINK_ETHER structure contains two fields for link speed and duplex. Link speed is set via plink_state->Spd :

NET_PHY_SPD_10
NET_PHY_SPD_100

And link duplex is set via plink_state->Duplex :

NET_PHY_DUPLEX_HALF
NET_PHY_DUPLEX_FULL

perr

Pointer to variable that will receive the return error code from this function.

...