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)
commit6e9d57657ece500a683edfb99c7d9bd705cdbbba
tree62c19d9ca52472e73570ba5e2d1048ba947a40e9
parent44738892cfa9f45f8a328bb9e5df419f32e3d36e
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