openwrt/staging/xback.git
11 years agomac80211: backport some upstream mwl8k fixes
Jonas Gorski [Wed, 27 Mar 2013 12:39:52 +0000 (12:39 +0000)]
mac80211: backport some upstream mwl8k fixes

SVN-Revision: 36134

11 years agobase-files: firstboot: only ask for confirmation on TTY
Jonas Gorski [Wed, 27 Mar 2013 12:39:42 +0000 (12:39 +0000)]
base-files: firstboot: only ask for confirmation on TTY

Also allow '-y' to force the reset.

SVN-Revision: 36133

11 years agoodhcp6c: Fix a race-condition in RA-handling
Steven Barth [Tue, 26 Mar 2013 13:39:17 +0000 (13:39 +0000)]
odhcp6c: Fix a race-condition in RA-handling

Thanks to Markus Stenberg for investigating and providing a fix

SVN-Revision: 36132

11 years agobase-files: move sysctl init after boot
Jo-Philipp Wich [Tue, 26 Mar 2013 10:02:58 +0000 (10:02 +0000)]
base-files: move sysctl init after boot

SVN-Revision: 36131

11 years agobase-files: fix bad start index in previous commit
Jo-Philipp Wich [Mon, 25 Mar 2013 18:45:23 +0000 (18:45 +0000)]
base-files: fix bad start index in previous commit

SVN-Revision: 36130

11 years agopackage/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and...
Jo-Philipp Wich [Mon, 25 Mar 2013 18:43:30 +0000 (18:43 +0000)]
package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface.

SVN-Revision: 36129

11 years agoupgrade to 3.9-rc4, disable unsupported boards
Imre Kaloz [Mon, 25 Mar 2013 14:18:32 +0000 (14:18 +0000)]
upgrade to 3.9-rc4, disable unsupported boards

SVN-Revision: 36128

11 years agorefresh patches against -rc4
Imre Kaloz [Mon, 25 Mar 2013 13:53:48 +0000 (13:53 +0000)]
refresh patches against -rc4

SVN-Revision: 36127

11 years agoadd missing symbols
Imre Kaloz [Mon, 25 Mar 2013 13:53:17 +0000 (13:53 +0000)]
add missing symbols

SVN-Revision: 36126

11 years agoiptables: don't use --enable-ipv6 if IPv6 is disabled
Steven Barth [Mon, 25 Mar 2013 11:22:12 +0000 (11:22 +0000)]
iptables: don't use --enable-ipv6 if IPv6 is disabled

SVN-Revision: 36125

11 years agofeeds.conf.default: switch LuCI feed to nbd.name git mirror
Jo-Philipp Wich [Mon, 25 Mar 2013 11:12:57 +0000 (11:12 +0000)]
feeds.conf.default: switch LuCI feed to nbd.name git mirror

SVN-Revision: 36124

11 years agoodhcp6c: minor bug fixes
Steven Barth [Mon, 25 Mar 2013 10:58:48 +0000 (10:58 +0000)]
odhcp6c: minor bug fixes

SVN-Revision: 36123

11 years agoar71xx: fix ethernet LEDs on the TL-WDR3500
Gabor Juhos [Mon, 25 Mar 2013 06:40:03 +0000 (06:40 +0000)]
ar71xx: fix ethernet LEDs on the TL-WDR3500

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

11 years agoar71xx: add GPIO output select values for AR934x
Gabor Juhos [Mon, 25 Mar 2013 06:40:00 +0000 (06:40 +0000)]
ar71xx: add GPIO output select values for AR934x

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

11 years agoar71xx: add default LED configuration for the WL-WRD3500
Gabor Juhos [Sun, 24 Mar 2013 21:07:21 +0000 (21:07 +0000)]
ar71xx: add default LED configuration for the WL-WRD3500

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

11 years agoar71xx: fix USB power GPIO on the TL-WDR3500
Gabor Juhos [Sun, 24 Mar 2013 19:23:47 +0000 (19:23 +0000)]
ar71xx: fix USB power GPIO on the TL-WDR3500

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

11 years agoar71xx: remove numeric suffix of the TL-WDR3500 USB LED
Gabor Juhos [Sun, 24 Mar 2013 19:23:45 +0000 (19:23 +0000)]
ar71xx: remove numeric suffix of the TL-WDR3500 USB LED

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

11 years agoar71xx: add diag support for the TL-WDR3500
Gabor Juhos [Sun, 24 Mar 2013 19:23:43 +0000 (19:23 +0000)]
ar71xx: add diag support for the TL-WDR3500

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

11 years agoar71xx: add default switch configuration for the TL-WDR3500
Gabor Juhos [Sun, 24 Mar 2013 19:23:36 +0000 (19:23 +0000)]
ar71xx: add default switch configuration for the TL-WDR3500

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

11 years agokernel: add missing config options for au1000 target
Hauke Mehrtens [Sun, 24 Mar 2013 14:01:38 +0000 (14:01 +0000)]
kernel: add missing config options for au1000 target

SVN-Revision: 36115

11 years agomac80211: download file with firmware for brcmsmac
Hauke Mehrtens [Sun, 24 Mar 2013 00:54:30 +0000 (00:54 +0000)]
mac80211: download file with firmware for brcmsmac

This fixes #13144.

SVN-Revision: 36114

11 years agomac80211: update brcmsmac ap patches
Hauke Mehrtens [Sun, 24 Mar 2013 00:53:15 +0000 (00:53 +0000)]
mac80211: update brcmsmac ap patches

SVN-Revision: 36113

11 years agobase-files: also apply r36107 to files.old
Florian Fainelli [Sat, 23 Mar 2013 12:44:10 +0000 (12:44 +0000)]
base-files: also apply r36107 to files.old

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

11 years agofirewall3: update to git head
Jo-Philipp Wich [Fri, 22 Mar 2013 14:10:29 +0000 (14:10 +0000)]
firewall3: update to git head

* fixes parsing of src/dest '*'
* fixes parsing of proto 'all'

SVN-Revision: 36111

11 years agotools/upx: use HOSTCXX to fix build errors on mac os x
Felix Fietkau [Fri, 22 Mar 2013 12:52:21 +0000 (12:52 +0000)]
tools/upx: use HOSTCXX to fix build errors on mac os x

SVN-Revision: 36110

11 years agobuild: add a HOSTCXX variable pointing at the c++ compiler
Felix Fietkau [Fri, 22 Mar 2013 12:52:17 +0000 (12:52 +0000)]
build: add a HOSTCXX variable pointing at the c++ compiler

SVN-Revision: 36109

11 years agogdb: update to 7.5-2012.12-1
Florian Fainelli [Fri, 22 Mar 2013 10:06:10 +0000 (10:06 +0000)]
gdb: update to 7.5-2012.12-1

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36108

11 years agobase-files: sysupgrade fail with eglibc
Florian Fainelli [Fri, 22 Mar 2013 10:06:06 +0000 (10:06 +0000)]
base-files: sysupgrade fail with eglibc

With eglibc, "ldd busybox" give us
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 => /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 => /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36107

11 years agokernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
Hauke Mehrtens [Thu, 21 Mar 2013 14:56:04 +0000 (14:56 +0000)]
kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.

SVN-Revision: 36102

11 years agokernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
Hauke Mehrtens [Thu, 21 Mar 2013 14:50:59 +0000 (14:50 +0000)]
kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected

This was turned from a silent confg option without a text to a normal
config option which could be selected without any other option
depending on this. This could cause the situation where REGMAP_SPI was
selected without SPI_MASTER being selected.

SVN-Revision: 36101

11 years agofirewall3: update to git head
Jo-Philipp Wich [Thu, 21 Mar 2013 14:25:17 +0000 (14:25 +0000)]
firewall3: update to git head

  * fixes port remapping rules (#13217)

SVN-Revision: 36100

11 years agobrcm47xx: generate images for some more devices
Hauke Mehrtens [Wed, 20 Mar 2013 22:01:18 +0000 (22:01 +0000)]
brcm47xx: generate images for some more devices

These devices should be supported by trunk now.

SVN-Revision: 36099

11 years agokernel: add some fixes for kernel 3.9
Hauke Mehrtens [Wed, 20 Mar 2013 21:59:24 +0000 (21:59 +0000)]
kernel: add some fixes for kernel 3.9

This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

SVN-Revision: 36098

11 years agokernel: add some missing config options for kernel 3.9
Hauke Mehrtens [Wed, 20 Mar 2013 21:53:51 +0000 (21:53 +0000)]
kernel: add some missing config options for kernel 3.9

SVN-Revision: 36097

11 years agonetifd: Fix adding IPv6 DNS-servers to resolv.conf
Steven Barth [Wed, 20 Mar 2013 13:49:39 +0000 (13:49 +0000)]
netifd: Fix adding IPv6 DNS-servers to resolv.conf

In some cases IPv6 DNS-servers were not added correctly.

SVN-Revision: 36095

11 years agoodhcp6c: Fix metric for on-link prefix routes
Steven Barth [Wed, 20 Mar 2013 09:26:52 +0000 (09:26 +0000)]
odhcp6c: Fix metric for on-link prefix routes

SVN-Revision: 36094

11 years agofirewall3: update to git head
Jo-Philipp Wich [Tue, 19 Mar 2013 16:18:05 +0000 (16:18 +0000)]
firewall3: update to git head

  * fixes reload handling of zones and ipsets that are still running but already deleted from the config

SVN-Revision: 36092

11 years agokernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)
Florian Fainelli [Tue, 19 Mar 2013 14:13:39 +0000 (14:13 +0000)]
kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)

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

11 years agofirewall3: update to git head
Jo-Philipp Wich [Tue, 19 Mar 2013 13:54:34 +0000 (13:54 +0000)]
firewall3: update to git head

- support network names in per-zone 'masq_src', 'masq_dest' and 'subnet' options (#13197)
- do not allow src_mac option for SNAT rules

SVN-Revision: 36090

11 years agohostapd: fix build errors on supplicant-only builds
Felix Fietkau [Mon, 18 Mar 2013 16:11:32 +0000 (16:11 +0000)]
hostapd: fix build errors on supplicant-only builds

SVN-Revision: 36085

11 years agoodhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investig...
Steven Barth [Mon, 18 Mar 2013 07:24:49 +0000 (07:24 +0000)]
odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating

SVN-Revision: 36083

11 years agobuild: make the color of the 'configuration out of sync' warning red to make it harde...
Felix Fietkau [Sun, 17 Mar 2013 21:12:02 +0000 (21:12 +0000)]
build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook

SVN-Revision: 36082

11 years agohostapd: initial prototype of an ubus binding
Felix Fietkau [Sun, 17 Mar 2013 20:47:18 +0000 (20:47 +0000)]
hostapd: initial prototype of an ubus binding

Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.

SVN-Revision: 36081

11 years agouml: remove 3.6 kernel patches
Florian Fainelli [Sun, 17 Mar 2013 19:47:04 +0000 (19:47 +0000)]
uml: remove 3.6 kernel patches

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

11 years agouml: remove 3.3. kernel patches
Florian Fainelli [Sun, 17 Mar 2013 19:46:59 +0000 (19:46 +0000)]
uml: remove 3.3. kernel patches

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

11 years agouml: switch to 3.8 kernel
Florian Fainelli [Sun, 17 Mar 2013 19:46:54 +0000 (19:46 +0000)]
uml: switch to 3.8 kernel

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

11 years agouml: add support for 3.8 kernel
Florian Fainelli [Sun, 17 Mar 2013 19:46:49 +0000 (19:46 +0000)]
uml: add support for 3.8 kernel

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

11 years agouml: remove 3.2 patches
Florian Fainelli [Sun, 17 Mar 2013 19:46:43 +0000 (19:46 +0000)]
uml: remove 3.2 patches

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

11 years agoep93xx: switch to 3.8 kernel
Florian Fainelli [Sun, 17 Mar 2013 19:46:37 +0000 (19:46 +0000)]
ep93xx: switch to 3.8 kernel

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

11 years agokernel: refresh 3.9 patches
Florian Fainelli [Sun, 17 Mar 2013 19:46:32 +0000 (19:46 +0000)]
kernel: refresh 3.9 patches

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

11 years agoep93xx: add support for 3.8 kernel
Florian Fainelli [Sun, 17 Mar 2013 19:46:25 +0000 (19:46 +0000)]
ep93xx: add support for 3.8 kernel

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

11 years agokernel: enable SND_COMPRESS_OFFLOAD for kernels >= 3.3
Florian Fainelli [Sun, 17 Mar 2013 19:46:00 +0000 (19:46 +0000)]
kernel: enable SND_COMPRESS_OFFLOAD for kernels >= 3.3

Most sound SoC driver enable it and rely it on to properly work.

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

11 years agoep93xx: account for sound soc directory rename in 3.7
Florian Fainelli [Sun, 17 Mar 2013 19:45:55 +0000 (19:45 +0000)]
ep93xx: account for sound soc directory rename in 3.7

sound/soc/ep93xx -> sound/soc/cirrus

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

11 years agokernel: set regmap-core module license
Florian Fainelli [Sun, 17 Mar 2013 19:45:48 +0000 (19:45 +0000)]
kernel: set regmap-core module license

Fixes the following issues:
[    7.660000] regmap_core: module license 'unspecified' taints kernel
[    7.690000] Disabling lock debugging due to kernel
[    7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[    7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[    7.720000] regmap_core: Unknown symbol devres_add (err 0
[    7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[    7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[    7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[    7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[    7.780000] regmap_core: Unknown symbol devres_free (err 0
[    7.800000] regmap_core: Unknown symbol devres_find (err 0
[    7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)

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

11 years agokernel: load regmap modules after kmod-lib-lzo
Florian Fainelli [Sun, 17 Mar 2013 19:45:42 +0000 (19:45 +0000)]
kernel: load regmap modules after kmod-lib-lzo

Otherwise regmap-core will not be able to lookup the lzo exported
symbols.

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

11 years agoubus: update to latest version, fixes a bug in notify return code handling
Felix Fietkau [Sun, 17 Mar 2013 17:43:47 +0000 (17:43 +0000)]
ubus: update to latest version, fixes a bug in notify return code handling

SVN-Revision: 36068

11 years agoau1000: remove support for 3.3. kernel
Florian Fainelli [Sun, 17 Mar 2013 14:33:47 +0000 (14:33 +0000)]
au1000: remove support for 3.3. kernel

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

11 years agoau1000: switch to 3.6 kernel
Florian Fainelli [Sun, 17 Mar 2013 14:33:41 +0000 (14:33 +0000)]
au1000: switch to 3.6 kernel

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

11 years agoau1000: keep the MTX-1 watchdog pin low during boot
Florian Fainelli [Sun, 17 Mar 2013 14:33:36 +0000 (14:33 +0000)]
au1000: keep the MTX-1 watchdog pin low during boot

Do this until the watchdog driver is loaded and the user-space watchdog
daemon can start pinging the watchdog.

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

11 years agoep93xx: remove 3.3 kernel support
Florian Fainelli [Sun, 17 Mar 2013 14:33:23 +0000 (14:33 +0000)]
ep93xx: remove 3.3 kernel support

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

11 years agomcs814x: use devm_request_and_ioremap in mcs814x-rng driver
Florian Fainelli [Sun, 17 Mar 2013 14:33:18 +0000 (14:33 +0000)]
mcs814x: use devm_request_and_ioremap in mcs814x-rng driver

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

11 years agomcs814x: use devm_request_and_ioremap helper for nuport_mac driver
Florian Fainelli [Sun, 17 Mar 2013 14:33:13 +0000 (14:33 +0000)]
mcs814x: use devm_request_and_ioremap helper for nuport_mac driver

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

11 years agomcs814x: remove PCI code
Florian Fainelli [Sun, 17 Mar 2013 14:33:07 +0000 (14:33 +0000)]
mcs814x: remove PCI code

None of the boards we support are using it nor have it wired out of the
SoC, just remove it.

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

11 years agomcs814x: implement MULTI_IRQ_HANDLER
Florian Fainelli [Sat, 16 Mar 2013 22:25:47 +0000 (22:25 +0000)]
mcs814x: implement MULTI_IRQ_HANDLER

Allows us to get rid of the IRQ entry point assembly

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

11 years agomcs814x: use the standard device tree binding to represent a PHY node
Florian Fainelli [Sat, 16 Mar 2013 22:25:41 +0000 (22:25 +0000)]
mcs814x: use the standard device tree binding to represent a PHY node

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

11 years agomac80211: merge a few minstrel_ht performance improvements
Felix Fietkau [Sat, 16 Mar 2013 16:11:43 +0000 (16:11 +0000)]
mac80211: merge a few minstrel_ht performance improvements

SVN-Revision: 36056

11 years agobusybox: fix disabling /sbin/init and logread if procd is used as init
Felix Fietkau [Sat, 16 Mar 2013 01:25:42 +0000 (01:25 +0000)]
busybox: fix disabling /sbin/init and logread if procd is used as init

SVN-Revision: 36054

11 years agomac80211: merge a fix for a race condition on station removal
Felix Fietkau [Fri, 15 Mar 2013 22:29:27 +0000 (22:29 +0000)]
mac80211: merge a fix for a race condition on station removal

SVN-Revision: 36053

11 years agompc85xx: add profile and build image for the TL-WDR4900 v1 board
Gabor Juhos [Fri, 15 Mar 2013 16:11:45 +0000 (16:11 +0000)]
mpc85xx: add profile and build image for the TL-WDR4900 v1 board

Now that the ethernet switch is working, create firmware
images to make impatient users happy.

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

11 years agogeneric: ar8216: start AR8327 switch from the probe routine
Gabor Juhos [Fri, 15 Mar 2013 16:06:28 +0000 (16:06 +0000)]
generic: ar8216: start AR8327 switch from the probe routine

The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.

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

11 years agogeneric: ar8216: add ar8xxx_start helper
Gabor Juhos [Fri, 15 Mar 2013 16:06:25 +0000 (16:06 +0000)]
generic: ar8216: add ar8xxx_start helper

Move switch starting code into a separate function.
This makes it usable from other places.

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

11 years agompc85xx: add AR8327 initvals to the TL-WDR4900 devicetree
Gabor Juhos [Fri, 15 Mar 2013 15:53:06 +0000 (15:53 +0000)]
mpc85xx: add AR8327 initvals to the TL-WDR4900 devicetree

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

11 years agogeneric: ar8216: add OF configuration support for AR8327
Gabor Juhos [Fri, 15 Mar 2013 15:50:08 +0000 (15:50 +0000)]
generic: ar8216: add OF configuration support for AR8327

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

11 years agogeneric: ar8216: separate platform_data based AR8327 code
Gabor Juhos [Fri, 15 Mar 2013 15:50:05 +0000 (15:50 +0000)]
generic: ar8216: separate platform_data based AR8327 code

Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.

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

11 years agogeneric: ar8216: don't use platform_data in ar8327_init_port
Gabor Juhos [Fri, 15 Mar 2013 15:50:02 +0000 (15:50 +0000)]
generic: ar8216: don't use platform_data in ar8327_init_port

Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.

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

11 years agogeneric: ar8216: move the ar8327_get_port_init_status function
Gabor Juhos [Fri, 15 Mar 2013 15:50:00 +0000 (15:50 +0000)]
generic: ar8216: move the ar8327_get_port_init_status function

It will be used in ar8327_probe routine.

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

11 years agogeneric: ar8216: simplify and rename ar8327_config_port
Gabor Juhos [Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)]
generic: ar8216: simplify and rename ar8327_config_port

Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.

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

11 years agogeneric: ar8216: remove superfluous pdata checks
Gabor Juhos [Fri, 15 Mar 2013 15:49:55 +0000 (15:49 +0000)]
generic: ar8216: remove superfluous pdata checks

The presence of the platform data is already verified in
ar8327_hw_init, and the driver does not start without that
anyway.

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

11 years agoath9k: add a fix to reduce the number of spurious tx hang detections
Felix Fietkau [Fri, 15 Mar 2013 15:22:06 +0000 (15:22 +0000)]
ath9k: add a fix to reduce the number of spurious tx hang detections

SVN-Revision: 36040

11 years agokernel: update linux 3.8 to 3.8.3
Gabor Juhos [Fri, 15 Mar 2013 14:39:51 +0000 (14:39 +0000)]
kernel: update linux 3.8 to 3.8.3

Also refresh the related generic/platform patches.

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

11 years agoar71xx: build images for the TL-MR11U v2
Gabor Juhos [Fri, 15 Mar 2013 14:35:52 +0000 (14:35 +0000)]
ar71xx: build images for the TL-MR11U v2

[juhosg: use different profile name for v1 and v2, and add
multi profile to build for both versions]

Signed-off-by: Guilhem Lettron <guilhem@lettron.fr>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36038

11 years agoar71xx: rw2458n - Use eeprom (art) from wifi card
Gabor Juhos [Fri, 15 Mar 2013 14:35:50 +0000 (14:35 +0000)]
ar71xx: rw2458n - Use eeprom (art) from wifi card

Use eeprom (art) from included wifi card, not hard coded in flash.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36037

11 years agoar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration
Gabor Juhos [Fri, 15 Mar 2013 14:35:48 +0000 (14:35 +0000)]
ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration

Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779

Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36036

11 years agoath9k: fix issues with disabling rx/tx antennas
Felix Fietkau [Fri, 15 Mar 2013 13:58:47 +0000 (13:58 +0000)]
ath9k: fix issues with disabling rx/tx antennas

SVN-Revision: 36035

11 years agouhttpd: update to latest version, fixes an occasional crash on CGI scripts
Felix Fietkau [Fri, 15 Mar 2013 13:43:55 +0000 (13:43 +0000)]
uhttpd: update to latest version, fixes an occasional crash on CGI scripts

SVN-Revision: 36034

11 years agouboot-envtools: upgrade to version 2013.01.01
Luka Perkov [Fri, 15 Mar 2013 01:36:53 +0000 (01:36 +0000)]
uboot-envtools: upgrade to version 2013.01.01

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

11 years agofix up the mount options to match what openwrt had before using procd as pid 1
John Crispin [Thu, 14 Mar 2013 18:44:03 +0000 (18:44 +0000)]
fix up the mount options to match what openwrt had before using procd as pid 1

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

11 years agosysupgrade was broken as procd was getting killed
John Crispin [Thu, 14 Mar 2013 18:43:58 +0000 (18:43 +0000)]
sysupgrade was broken as procd was getting killed

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

11 years agoACMP252: fix USB-enable GPIO and use default PCI configuration for now
John Crispin [Thu, 14 Mar 2013 18:43:54 +0000 (18:43 +0000)]
ACMP252: fix USB-enable GPIO and use default PCI configuration for now

EEPROM is an actial serial EEPROM on the WiFi module, therefore we can remove
ralink_eep from the dts.
USB power-enable GPIO turned out to be GPIO #3 (found via probing/brute-force).
PCI works with default settings as long as the vendor bootloader is used.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 36030

11 years agofix buttons on vr9 eval kit
John Crispin [Thu, 14 Mar 2013 18:43:49 +0000 (18:43 +0000)]
fix buttons on vr9 eval kit

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

11 years agoselect vdsl packages on vr9 boards
John Crispin [Thu, 14 Mar 2013 18:43:44 +0000 (18:43 +0000)]
select vdsl packages on vr9 boards

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

11 years agofix fritzbox 3370 partitions/memory/cmdline
John Crispin [Thu, 14 Mar 2013 18:43:39 +0000 (18:43 +0000)]
fix fritzbox 3370 partitions/memory/cmdline

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

11 years agobuild jffs images for nand based fritzbox
John Crispin [Thu, 14 Mar 2013 18:43:34 +0000 (18:43 +0000)]
build jffs images for nand based fritzbox

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

11 years agoadd vdsl firmware loader/cutter
John Crispin [Thu, 14 Mar 2013 18:43:29 +0000 (18:43 +0000)]
add vdsl firmware loader/cutter

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

11 years agoadd vdsl mei driver
John Crispin [Thu, 14 Mar 2013 18:43:23 +0000 (18:43 +0000)]
add vdsl mei driver

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

11 years agoadd vdsl driver
John Crispin [Thu, 14 Mar 2013 18:43:18 +0000 (18:43 +0000)]
add vdsl driver

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

11 years agoadd vdsl userland app
John Crispin [Thu, 14 Mar 2013 18:43:13 +0000 (18:43 +0000)]
add vdsl userland app

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

11 years agomake DEU work with v3.8
John Crispin [Thu, 14 Mar 2013 18:43:07 +0000 (18:43 +0000)]
make DEU work with v3.8

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

11 years agomake lib-ifxos work with v3.8
John Crispin [Thu, 14 Mar 2013 18:43:02 +0000 (18:43 +0000)]
make lib-ifxos work with v3.8

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

11 years agomake hcd driver work with v3.8
John Crispin [Thu, 14 Mar 2013 18:42:57 +0000 (18:42 +0000)]
make hcd driver work with v3.8

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