aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-03 18:03:17 +0000
committerJohn Crispin <blogic@openwrt.org>2016-01-03 18:03:17 +0000
commitf92804f323d613e1c7809fe250e260b1279c2e11 (patch)
tree4d50ad78bc1d8346dbbb46efc9ce465a849e08dc /target/linux/au1000
parentcc665dc23abcc1eaf7d5c69f911150851c0b131b (diff)
downloadupstream-f92804f323d613e1c7809fe250e260b1279c2e11.tar.gz
upstream-f92804f323d613e1c7809fe250e260b1279c2e11.tar.bz2
upstream-f92804f323d613e1c7809fe250e260b1279c2e11.zip
ramips: Get rt3052 ethernet ports to be disabled from the device tree.
This patch allows configuring ports to be disabled in the device tree; this saves power, since disabling ports here actually disables power to ethernet PHYs. Line 461 enables all ethernet ports, so line 508 is getting zero ports to be disabled, except for port 5 in SoCs where this is not implemented as it will be sticky disabled in register POC0. Because of this, the code will still read the switch configuration and OR it to the device tree setting. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48096 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000')
0 files changed, 0 insertions, 0 deletions