m2p_channel_state
while (m2p_channel_state(edmac) >= M2P_STATE_ON)
while (m2p_channel_state(edmac) != M2P_STATE_IDLE)