[ethernet] Add MII link status functions from Linux