]> 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)
commit70495a8f83c6771ad68260428a4f3f3af82461eb
tree89ad64eae7653c2d463cbb89d0ac165dc1880d3b
parentf77f38ebf04b2986a64449aa65c03d46ca83475a
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