695
695
/* Offline (i.e. disruptive) testing
696
696
* This checks MAC and PHY loopback on the specified port. */
702
703
mutex_lock(&efx->mac_lock);
704
704
if (efx->loopback_modes) {
705
705
/* We need the 312 clock from the PHY to test the XMAC
706
706
* registers, so move into XGMII loopback if available */