ramips: Power down phy on disabled switch ports
authorGabor Juhos <juhosg@openwrt.org>
Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)
commitbc4763a399f91c564ea712466102d51b742ea3a8
tree3b1bc51866095cfef7651de9a4d177ed391e12a5
parent1617f226a906f82ce6516e3e5a1e0909d8aa8806
ramips: Power down phy on disabled switch ports

Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33304
target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c