xgbe_cur_mode
mode = xgbe_cur_mode(pdata);
return (xgbe_cur_mode(pdata) == XGBE_MODE_KR);
if (mode == xgbe_cur_mode(pdata))