Writing to PHY Registers

NetDev_MII_Wr() is implemented within the Ethernet device driver file since (R)MII bus writes are associated with the MAC device. In the case that the PHY communication mechanism is separate from the MAC, a handler function may be provided within the net_bsp.c file and called from the device driver file instead.

Note: This function must be implemented with a timeout and not block indefinitely should the PHY fail to respond.