]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd8a64420eb267bec9f4c99627deee4fa3bf4133e
tree89ad64eae7653c2d463cbb89d0ac165dc1880d3b
parentdbe34724c08ea25d39d31735120077013fbbb6fb
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