rpcd: update to git head

	- recalculate session ACLs on reload
	- support negative access group expressions in /etc/config/rpcd
	- prevent destryoing the default session
	- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37961 3c298f89-4303-0410-b956-a3cf2f4a3e73
uhttpd: udpat to git head

	- fixes buffer corruption with JSON-RPC list calls
	- change JSON-RPC protocol to include the session ID into the call
	  attributes instead of passing it via the URL
	- forcibly pass effective session ID as "ubus_rpc_session" attribute
	  to called procedures
	- change ubus acl checking to conform with new ubus session namespace

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37962 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: add wireless bgn led support for dir-825-c1

I checked the GPL code drop from D-Link and tried to get the wireless
and LAN switch LEDs to light up. I found some references in
AthSDK/www/DIR-825_C1/bsp.h as well as
AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I
only got the led for 2.4GHz to work. Anyway, here's the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37963 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: add support for TL-MR3040 v2

This patch adds support for building firmware images for the
TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37964 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: enable XZ_DEC_ARM and XZ_DEC_BCJ kernel options

Squashfs is unable to decompress some blocks without that:

  [    0.970000] SQUASHFS error: xz_dec_run error, data probably corrupt
  [    0.980000] SQUASHFS error: squashfs_read_data failed to read block 0x29a72
  [    0.990000] SQUASHFS error: Unable to read fragment cache entry [29a72]
  [    1.000000] SQUASHFS error: Unable to read page, block 29a72, size 14c50
  [    1.010000] SQUASHFS error: Unable to read fragment cache entry [29a72]
  [    1.020000] SQUASHFS error: Unable to read page, block 29a72, size 14c50
  [    1.260000] SQUASHFS error: xz_dec_run error, data probably corrupt

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37965 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: fix broken case statement in led defaults file

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37966 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: disable legacy PTY devices

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37967 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: make cns21xx-ehci a separate driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37968 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: detect WRT310NV1

Thanks Devastator for testing


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37969 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys device

Most of the Linksys devices without an own GPIO configuration where 
detected as WRT54G. On one board this made OpenWrt to boot into 
failsafe every time, because one GPIO configurated as button was not a 
button.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37970 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: add support for 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37971 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: switch to 3.10

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37972 3c298f89-4303-0410-b956-a3cf2f4a3e73
cns21xx: remove 3.8 support

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37973 3c298f89-4303-0410-b956-a3cf2f4a3e73
generic/3.10: rename mtd patches

  - change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37974 3c298f89-4303-0410-b956-a3cf2f4a3e73
generic/3.10: refresh patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37975 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: refresh patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37976 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: board detection, GPIO for Linksys E1000 V2.1

This patch adds board detection for the Linksys E1000 V2.1 router, as well
as GPIO support for same.

This fixes bug #14135. Currently, wired networking isn't working on the
router, and I haven't tried the wireless, but with this patch, OpenWRT
successfully boots, and all the LEDs and buttons work properly.

Signed-off-by: Zachary Catlin <zcatlin@indiana.edu>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37977 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add missing config option




git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37978 3c298f89-4303-0410-b956-a3cf2f4a3e73
imx6: add network defaults for GW5400-A

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37979 3c298f89-4303-0410-b956-a3cf2f4a3e73
Merge branch 'master', remote branch 'bb/master'