]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/net/phy/phy.c
phy: add set_wol/get_wol functions
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 11 Mar 2013 13:56:44 +0000 (13:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 15:40:53 +0000 (11:40 -0400)
commit42e836eb4527fb635cb799a701fe4c9fe741c03a
tree45045b51aa37a09b3ba0f45e17e38e659473fbcb
parent9b717a8d245075ffb8e95a2dfb4ee97ce4747457
phy: add set_wol/get_wol functions

This allows ethernet drivers (such as the mv643xx_eth) to support
Wake on LAN on platforms where PHY registers have to be configured
for Wake on LAN (e.g. the Marvell Kirkwood based qnap TS-119P II).

Signed-off-by: Michael Stapelberg <michael@stapelberg.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h