]> git.baikalelectronics.ru Git - kernel.git/commit
net: cpsw: Add support for wake-on-lan for cpsw
authorMatus Ujhelyi <ujhelyi.m@gmail.com>
Tue, 20 Aug 2013 05:59:38 +0000 (07:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 06:50:15 +0000 (23:50 -0700)
commit8e0808a3585f188c98fb100b86d50f57994f4822
tree89ad64eae7653c2d463cbb89d0ac165dc1880d3b
parentfffd004de988754d5c1cc5e59d96fdc66cccda86
net: cpsw: Add support for wake-on-lan for cpsw

Some phy's can be configured to enable wake on lan (e.g. at803x or marvell 88E1318S).
There is no way how to enable wol on CPSW with such connected phys. This patch
adds this support. It is provided by calling the phy's related code.

Tested on board with at8030x connected phy. Wol interrupt line is
connected to GPIO0 on am335x.

Signed-off-by: Matus Ujhelyi <ujhelyi.m@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c