linux/drivers/net/ethernet/marvell
Daniel González Cabanelas 61b5cc20c8 net: mvneta: speed down the PHY, if WoL used, to save energy
Some PHYs connected to this ethernet hardware support the WoL feature.
But when WoL is enabled and the machine is powered off, the PHY remains
waiting for a magic packet at max speed (i.e. 1Gbps), which is a waste of
energy.

Slow down the PHY speed before stopping the ethernet if WoL is enabled,
and save some energy while the machine is powered off or sleeping.

Tested using an Armada 370 based board (LS421DE) equipped with a Marvell
88E1518 PHY.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-26 13:36:33 -07:00
..
mvpp2 net: mvpp2: set xlg flow control in mvpp2_mac_link_up() 2020-06-20 21:38:26 -07:00
octeontx2 net: tso: cache transport header length 2020-06-18 20:46:23 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile octeontx2-af: Add Marvell OcteonTX2 RVU AF driver 2018-10-10 10:06:01 -07:00
mv643xx_eth.c net: tso: cache transport header length 2020-06-18 20:46:23 -07:00
mvmdio.c net: mvmdio: avoid error message for optional IRQ 2020-03-17 20:54:37 -07:00
mvneta_bm.c net: mvneta: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:52:33 -07:00
mvneta_bm.h net: mvneta: make stub functions static inline 2019-10-25 16:21:48 -07:00
mvneta.c net: mvneta: speed down the PHY, if WoL used, to save energy 2020-06-26 13:36:33 -07:00
pxa168_eth.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
skge.c net: skge: reject unsupported coalescing params 2020-03-14 21:13:54 -07:00
skge.h PCI: Add constant PCI_STATUS_ERROR_BITS 2020-03-04 14:21:00 -08:00
sky2.c net: sky2: reject unsupported coalescing params 2020-03-14 21:13:54 -07:00
sky2.h PCI: Add constant PCI_STATUS_ERROR_BITS 2020-03-04 14:21:00 -08:00