SW_RESET_RX
writel(SW_RESET_RX, cp->regs + REG_SW_RESET);
if (!(readl(cp->regs + REG_SW_RESET) & SW_RESET_RX))
writel((SW_RESET_TX | SW_RESET_RX | SW_RESET_BLOCK_PCS_SLINK),
writel(SW_RESET_TX | SW_RESET_RX, cp->regs + REG_SW_RESET);
if ((val & (SW_RESET_TX | SW_RESET_RX)) == 0)