Versions Compared

Key

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

...

Every physical layer driver’s net_phy.c

Prototype

Code Block

          static void NetPhy_LinkStateSet (NET_IF             *pif,
                                           NET_DEV_LINK_ETHER *plink_state,
                                           NET_ERR            *perr);

Note that since every PHY driver’s LinkStateSet() function is accessed only by function pointer via the PHY driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

...