ramips: Power down phy on disabled switch ports
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)
commit2a86045d51df6e0893a4d8524c5ff454673b1b8c
tree62c19d9ca52472e73570ba5e2d1048ba947a40e9
parent0464c077a45816efde6382621cbe13a5bbee3474
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c