3 * Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
5 * SPDX-License-Identifier: GPL-2.0+
10 #ifdef CONFIG_LXT971_NO_SLEEP
15 #ifdef CONFIG_LXT971_NO_SLEEP
16 void lxt971_no_sleep(void)
20 miiphy_read("ppc_4xx_eth0", CONFIG_PHY_ADDR, 0x10, ®);
21 reg &= ~0x0040; /* disable sleep mode */
22 miiphy_write("ppc_4xx_eth0", CONFIG_PHY_ADDR, 0x10, reg);
24 #endif /* CONFIG_LXT971_NO_SLEEP */