/* Turn off RCV and XMT, power down PHY  */
static void slic_config_clear(struct adapter *adapter)
/* Turn off RCV and XMT, power down PHY  */
static void slic_config_clear(struct adapter *adapter)
{
	u32 value;
	u32 phy_config;
	__iomem struct slic_regs *slic_regs = adapter->slic_regs;
	value = (GXCR_RESET |
		 GXCR_PAUSEEN);
	slic_reg32_write(&slic_regs->slic_wxcfg, value, FLUSH);
	value = (GRCR_RESET |
		 GRCR_CTLEN |
		 GRCR_ADDRAEN |
		 (GRCR_HASHSIZE << GRCR_HASHSIZE_SHIFT));
	slic_reg32_write(&slic_regs->slic_wrcfg, value, FLUSH);
	phy_config = (MIICR_REG_PCR | (PCR_POWERDOWN));
	slic_reg32_write(&slic_regs->slic_wphy, phy_config, FLUSH);
}