Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: phy: broadcom: Add genphy_suspend and genphy_resume for BCM5464

This puts the quad PHY ports in power-down mode when the PHY transitions
to the PHY_HALTED state. It is likely that all the other PHYs support
the BMCR_PDOWN bit, but I only have the BCM5464R to test.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Vladimir Oltean and committed by
David S. Miller
283da99a a274ce0f

+2
+2
drivers/net/phy/broadcom.c
··· 663 663 .config_init = bcm54xx_config_init, 664 664 .ack_interrupt = bcm_phy_ack_intr, 665 665 .config_intr = bcm_phy_config_intr, 666 + .suspend = genphy_suspend, 667 + .resume = genphy_resume, 666 668 }, { 667 669 .phy_id = PHY_ID_BCM5481, 668 670 .phy_id_mask = 0xfffffff0,