mv643xx_eth with 88E1318S: support Wake on LAN
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 11 Mar 2013 13:56:45 +0000 (13:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 15:40:54 +0000 (11:40 -0400)
commit3871c3876f8084a2f40ba3c3fc20a6bb5754d88d
treec496bd0fdfdb3dff55305fd97e1874dd160cdc28
parent42e836eb4527fb635cb799a701fe4c9fe741c03a
mv643xx_eth with 88E1318S: support Wake on LAN

This has been tested on a qnap TS-119P II. Note that enabling WOL with
"ethtool -s eth0 wol g" is not enough; you also need to tell the PIC
microcontroller inside the qnap that WOL should be enabled by sending
0xF2 with qcontrol(1) and you have to disable EUP ("Energy-using
Products", a European power-saving thing) by sending 0xF4.

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