aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/kobs-ng
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2016-05-02 18:51:05 +0000
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:12 +0200
commit12758e32d3309c5147bd342525320ad704e74a07 (patch)
tree15c0a2e284c2f2705ffa1413f9b6e4827822d7ee /package/boot/kobs-ng
parente626d4f7021a1bab63c0e3091fee26e6fafe202a (diff)
downloadupstream-12758e32d3309c5147bd342525320ad704e74a07.tar.gz
upstream-12758e32d3309c5147bd342525320ad704e74a07.tar.bz2
upstream-12758e32d3309c5147bd342525320ad704e74a07.zip
ramips: Get rt3050 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 444 enables all ethernet ports, so line 487 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> SVN-Revision: 49290
Diffstat (limited to 'package/boot/kobs-ng')
0 files changed, 0 insertions, 0 deletions