[swconfig] add "swconfig list" support

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73
[swconfig] allow loading port maps from OF

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
[swconfig] add portmap support to userland

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36284 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] set of_node before registring the switch

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36285 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] add sample swconfig portmap

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] add ofpart info to the devicetrees

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] remove bootargs from dts

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36288 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] Add Netgear WNCE2001 (OF version)

Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] move memory detect node to dtsi files

Signed-of-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36290 3c298f89-4303-0410-b956-a3cf2f4a3e73
buildroot: enable software floating point for MIPS64 targets

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36291 3c298f89-4303-0410-b956-a3cf2f4a3e73
iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j

git-svn-id: svn://svn.openwrt.org/openwrt@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
[ramips] unbreak portmapping - typo fix

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
qos-scripts: add queue length and quantum limit, suggested by dtaht

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36294 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: backport switch user API changes after r36283

3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73