openwrt/staging/zorun.git
12 years agorefresh patches so they apply cleanly
Florian Fainelli [Fri, 14 Sep 2012 15:37:12 +0000 (15:37 +0000)]
refresh patches so they apply cleanly

SVN-Revision: 33406

12 years agoadd sparc specific site files
Florian Fainelli [Fri, 14 Sep 2012 15:36:41 +0000 (15:36 +0000)]
add sparc specific site files

SVN-Revision: 33405

12 years agobusybox: add patch to fix CVE-2011-2716 in udhcp.
Florian Fainelli [Fri, 14 Sep 2012 15:36:38 +0000 (15:36 +0000)]
busybox: add patch to fix CVE-2011-2716 in udhcp.

SVN-Revision: 33404

12 years agoset DEVICE_TYPE to developperboard
Florian Fainelli [Fri, 14 Sep 2012 15:36:33 +0000 (15:36 +0000)]
set DEVICE_TYPE to developperboard

SVN-Revision: 33403

12 years agoset DEVICE_TYPE to developperboard
Florian Fainelli [Fri, 14 Sep 2012 15:36:30 +0000 (15:36 +0000)]
set DEVICE_TYPE to developperboard

SVN-Revision: 33402

12 years agohostapd: add a patch for suppressing probe responses from APs that have reached their...
Felix Fietkau [Fri, 14 Sep 2012 14:08:39 +0000 (14:08 +0000)]
hostapd: add a patch for suppressing probe responses from APs that have reached their limit of maximum number of clients

SVN-Revision: 33401

12 years agohostapd: add an option for configuring the maximum number of connected clients
Felix Fietkau [Fri, 14 Sep 2012 14:08:35 +0000 (14:08 +0000)]
hostapd: add an option for configuring the maximum number of connected clients

SVN-Revision: 33400

12 years agohostapd: enable disassoc on many consecutive excessive retries, improves AP mode...
Felix Fietkau [Fri, 14 Sep 2012 13:45:29 +0000 (13:45 +0000)]
hostapd: enable disassoc on many consecutive excessive retries, improves AP mode reliability with many clients

SVN-Revision: 33399

12 years agomac80211: fix regdb locking issues
Felix Fietkau [Fri, 14 Sep 2012 13:37:30 +0000 (13:37 +0000)]
mac80211: fix regdb locking issues

SVN-Revision: 33398

12 years agobusybox: fix build with recent eglibc toolchains
Florian Fainelli [Thu, 13 Sep 2012 15:57:59 +0000 (15:57 +0000)]
busybox: fix build with recent eglibc toolchains

SVN-Revision: 33395

12 years agohostapd: support wps in hostapd_cli even when built from the mini variant
Felix Fietkau [Thu, 13 Sep 2012 12:39:14 +0000 (12:39 +0000)]
hostapd: support wps in hostapd_cli even when built from the mini variant

SVN-Revision: 33393

12 years agohostapd: update to 2012-09-10
Felix Fietkau [Thu, 13 Sep 2012 12:38:51 +0000 (12:38 +0000)]
hostapd: update to 2012-09-10

SVN-Revision: 33392

12 years agobase-files: remove route enabled check in lib/functions/network.sh after netifd bump
Jo-Philipp Wich [Thu, 13 Sep 2012 08:47:10 +0000 (08:47 +0000)]
base-files: remove route enabled check in lib/functions/network.sh after netifd bump

SVN-Revision: 33391

12 years agonetifd: update to latest git head, reorganizes ubus output of inactive values
Jo-Philipp Wich [Thu, 13 Sep 2012 08:47:06 +0000 (08:47 +0000)]
netifd: update to latest git head, reorganizes ubus output of inactive values

SVN-Revision: 33390

12 years agoar71xx: merge machine support patches
Gabor Juhos [Thu, 13 Sep 2012 07:26:28 +0000 (07:26 +0000)]
ar71xx: merge machine support patches

SVN-Revision: 33389

12 years agoar71xx: register the NAND controller device on the RB2011
Gabor Juhos [Thu, 13 Sep 2012 07:26:26 +0000 (07:26 +0000)]
ar71xx: register the NAND controller device on the RB2011

SVN-Revision: 33388

12 years agoar71xx: add device registration code for the AR934x NAND flash controller
Gabor Juhos [Thu, 13 Sep 2012 07:26:25 +0000 (07:26 +0000)]
ar71xx: add device registration code for the AR934x NAND flash controller

SVN-Revision: 33387

12 years agoar71xx: package the AR934x NAND driver module
Gabor Juhos [Thu, 13 Sep 2012 07:26:23 +0000 (07:26 +0000)]
ar71xx: package the AR934x NAND driver module

SVN-Revision: 33386

12 years agoar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
Gabor Juhos [Thu, 13 Sep 2012 07:26:22 +0000 (07:26 +0000)]
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x

SVN-Revision: 33385

12 years agogeneric: add MTD_NAND_AR934X symbol
Gabor Juhos [Thu, 13 Sep 2012 07:26:21 +0000 (07:26 +0000)]
generic: add MTD_NAND_AR934X symbol

SVN-Revision: 33384

12 years agogeneric: move GENERIC_PWM symbol into the generic config
Gabor Juhos [Thu, 13 Sep 2012 06:38:31 +0000 (06:38 +0000)]
generic: move GENERIC_PWM symbol into the generic config

SVN-Revision: 33383

12 years agoar71xx: define NAND controller base address and register size for AR934X/QCA955x
Gabor Juhos [Wed, 12 Sep 2012 19:06:38 +0000 (19:06 +0000)]
ar71xx: define NAND controller base address and register size for AR934X/QCA955x

SVN-Revision: 33382

12 years agoramips/rt305x: add initial support for Rt5350 SoC
Gabor Juhos [Wed, 12 Sep 2012 19:03:12 +0000 (19:03 +0000)]
ramips/rt305x: add initial support for Rt5350 SoC

Somehow detecting the RAM size in common/setup.c doesn't
work here, it always detects 64M and then crashes on devices
with less RAM.
Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how
it could be, for now I use the mem=32M kernel parameter to get
stuff working.

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

12 years agomountd: add "-f" option to not daemonize mountd, use service wrappers in init script
Jo-Philipp Wich [Wed, 12 Sep 2012 10:09:55 +0000 (10:09 +0000)]
mountd: add "-f" option to not daemonize mountd, use service wrappers in init script

SVN-Revision: 33378

12 years agoadd gpio sysfs entries
Hauke Mehrtens [Tue, 11 Sep 2012 15:04:20 +0000 (15:04 +0000)]
add gpio sysfs entries

This fixes #10256

SVN-Revision: 33369

12 years agoar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
Gabor Juhos [Mon, 10 Sep 2012 14:38:01 +0000 (14:38 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x

SVN-Revision: 33362

12 years agoar71xx: fix QCA955X_EHCI_SIZE
Gabor Juhos [Mon, 10 Sep 2012 14:32:54 +0000 (14:32 +0000)]
ar71xx: fix QCA955X_EHCI_SIZE

SVN-Revision: 33360

12 years agohostapd: introduce new default-off option "auth_cache" which controls PMKSA and Oppor...
Jo-Philipp Wich [Mon, 10 Sep 2012 12:23:41 +0000 (12:23 +0000)]
hostapd: introduce new default-off option "auth_cache" which controls PMKSA and Opportunistic Key Caching (#12129)

SVN-Revision: 33359

12 years agoblock-mount: additionally try to umount disk by mountpoint (#12056)
Jo-Philipp Wich [Mon, 10 Sep 2012 09:48:31 +0000 (09:48 +0000)]
block-mount: additionally try to umount disk by mountpoint (#12056)

SVN-Revision: 33357

12 years agofix ixp4xx_hss build failure (#12162)
Florian Fainelli [Mon, 10 Sep 2012 08:53:21 +0000 (08:53 +0000)]
fix ixp4xx_hss build failure (#12162)

SVN-Revision: 33356

12 years agofix library bundling when host libraries reside in /lib/tls/ or similar
Jo-Philipp Wich [Sun, 9 Sep 2012 22:37:32 +0000 (22:37 +0000)]
fix library bundling when host libraries reside in /lib/tls/ or similar

SVN-Revision: 33353

12 years agofix description of nand/Ath5k profile (#12149)
Jo-Philipp Wich [Sun, 9 Sep 2012 21:40:26 +0000 (21:40 +0000)]
fix description of nand/Ath5k profile (#12149)

SVN-Revision: 33352

12 years agodo not pass optimization flags in HOST_CPPFLAGS (#12153)
Jo-Philipp Wich [Sun, 9 Sep 2012 21:35:42 +0000 (21:35 +0000)]
do not pass optimization flags in HOST_CPPFLAGS (#12153)

SVN-Revision: 33351

12 years agocomgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)
Jo-Philipp Wich [Sun, 9 Sep 2012 19:46:38 +0000 (19:46 +0000)]
comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)

SVN-Revision: 33350

12 years agoar71xx: add initial support for RB2011UAS-2HnD
Gabor Juhos [Sun, 9 Sep 2012 14:05:32 +0000 (14:05 +0000)]
ar71xx: add initial support for RB2011UAS-2HnD

SVN-Revision: 33349

12 years agoar71xx: use routerboot_find_tag to find wlan data offset on RB751
Gabor Juhos [Sun, 9 Sep 2012 14:05:30 +0000 (14:05 +0000)]
ar71xx: use routerboot_find_tag to find wlan data offset on RB751

SVN-Revision: 33348

12 years agoar71xx: add RouterBoot related helper routines
Gabor Juhos [Sun, 9 Sep 2012 14:05:28 +0000 (14:05 +0000)]
ar71xx: add RouterBoot related helper routines

SVN-Revision: 33347

12 years agogeneric add WLAN calibration data ID to routerboot.h
Gabor Juhos [Sun, 9 Sep 2012 14:05:26 +0000 (14:05 +0000)]
generic add WLAN calibration data ID to routerboot.h

SVN-Revision: 33346

12 years agoar71xx: define MTD partitions for RB2011
Gabor Juhos [Sun, 9 Sep 2012 14:05:24 +0000 (14:05 +0000)]
ar71xx: define MTD partitions for RB2011

SVN-Revision: 33345

12 years agoar71xx: add preliminary support for Mikrotik RB2011L
Gabor Juhos [Sun, 9 Sep 2012 14:05:22 +0000 (14:05 +0000)]
ar71xx: add preliminary support for Mikrotik RB2011L

This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 33344

12 years agoar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
Gabor Juhos [Sun, 9 Sep 2012 14:05:20 +0000 (14:05 +0000)]
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x

SVN-Revision: 33343

12 years agoar71xx: add dynamic MDIO clock calculation
Gabor Juhos [Sun, 9 Sep 2012 14:05:17 +0000 (14:05 +0000)]
ar71xx: add dynamic MDIO clock calculation

SVN-Revision: 33342

12 years agoadm5120: move common routerboot definitions into a separate header file
Gabor Juhos [Sun, 9 Sep 2012 11:55:42 +0000 (11:55 +0000)]
adm5120: move common routerboot definitions into a separate header file

Those will be used on the ar71xx platform as well.

SVN-Revision: 33341

12 years agobcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Jonas Gorski [Sun, 9 Sep 2012 11:54:56 +0000 (11:54 +0000)]
bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi

Fixes booting the device with button hotplug enabled (#10785).

SVN-Revision: 33340

12 years agoar71xx: use the RLE library for RB751
Gabor Juhos [Sat, 8 Sep 2012 17:51:56 +0000 (17:51 +0000)]
ar71xx: use the RLE library for RB751

SVN-Revision: 33338

12 years agoar71xx: add library code for RLE decoding
Gabor Juhos [Sat, 8 Sep 2012 17:51:54 +0000 (17:51 +0000)]
ar71xx: add library code for RLE decoding

It will be used for the MikroTik boards.

SVN-Revision: 33337

12 years agoar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
Gabor Juhos [Sat, 8 Sep 2012 13:39:09 +0000 (13:39 +0000)]
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x

SVN-Revision: 33335

12 years agoar71xx: refresh kernel patches
Gabor Juhos [Sat, 8 Sep 2012 13:39:04 +0000 (13:39 +0000)]
ar71xx: refresh kernel patches

SVN-Revision: 33334

12 years agomac80211: bump PKG_RELEASE
Felix Fietkau [Sat, 8 Sep 2012 13:19:21 +0000 (13:19 +0000)]
mac80211: bump PKG_RELEASE

SVN-Revision: 33333

12 years agoath9k: disable PA predistortion by default, since it has been reported to reduce...
Felix Fietkau [Sat, 8 Sep 2012 13:18:58 +0000 (13:18 +0000)]
ath9k: disable PA predistortion by default, since it has been reported to reduce rx sensitivity on some devices (#12135)

SVN-Revision: 33332

12 years agomac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more
Felix Fietkau [Sat, 8 Sep 2012 11:10:54 +0000 (11:10 +0000)]
mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more

SVN-Revision: 33331

12 years agouse the recommended ARM I/O accessors
Florian Fainelli [Sat, 8 Sep 2012 09:51:05 +0000 (09:51 +0000)]
use the recommended ARM I/O accessors

use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

SVN-Revision: 33330

12 years agogcc: add upstream fixes for GCC bug 54494
Florian Fainelli [Fri, 7 Sep 2012 10:31:58 +0000 (10:31 +0000)]
gcc: add upstream fixes for GCC bug 54494

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

SVN-Revision: 33329

12 years agogcc: add upstream fixes for GCC bug 54369
Florian Fainelli [Fri, 7 Sep 2012 10:31:54 +0000 (10:31 +0000)]
gcc: add upstream fixes for GCC bug 54369

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

SVN-Revision: 33328

12 years agodir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed...
Daniel Dickinson [Thu, 6 Sep 2012 18:15:26 +0000 (18:15 +0000)]
dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.

SVN-Revision: 33326

12 years agonetifd: update to latest version, fixes premature device release on link loss (fixes...
Felix Fietkau [Thu, 6 Sep 2012 15:05:30 +0000 (15:05 +0000)]
netifd: update to latest version, fixes premature device release on link loss (fixes #12114, #12112, #11959)

SVN-Revision: 33325

12 years agolantiq: fix sx76x default uci network configuration
Luka Perkov [Thu, 6 Sep 2012 00:09:46 +0000 (00:09 +0000)]
lantiq: fix sx76x default uci network configuration

SVN-Revision: 33324

12 years agoadd some ohci workarounds to make ohci work
Florian Fainelli [Wed, 5 Sep 2012 20:19:29 +0000 (20:19 +0000)]
add some ohci workarounds to make ohci work

SVN-Revision: 33323

12 years agoramips: Add missing andmask to ramips_esw register read for recv_good value.
Gabor Juhos [Wed, 5 Sep 2012 20:08:43 +0000 (20:08 +0000)]
ramips: Add missing andmask to ramips_esw register read for recv_good value.

Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

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

12 years agoramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
Gabor Juhos [Wed, 5 Sep 2012 20:08:42 +0000 (20:08 +0000)]
ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.

Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

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

12 years agoadd missing kvm_guest kernel options
John Crispin [Wed, 5 Sep 2012 19:38:42 +0000 (19:38 +0000)]
add missing kvm_guest kernel options

SVN-Revision: 33319

12 years agoar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
Gabor Juhos [Wed, 5 Sep 2012 19:26:50 +0000 (19:26 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x

SVN-Revision: 33318

12 years agoar71xx: add rssileds to package set in profile for devices which got them.
Gabor Juhos [Wed, 5 Sep 2012 19:22:51 +0000 (19:22 +0000)]
ar71xx: add rssileds to package set in profile for devices which got them.

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

12 years agoramips: add rssileds to package set in profile for devices which got them.
Gabor Juhos [Wed, 5 Sep 2012 19:22:48 +0000 (19:22 +0000)]
ramips: add rssileds to package set in profile for devices which got them.

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

12 years agoenable CFI command set 0002 FORCE_WORD_WRITE
Florian Fainelli [Mon, 3 Sep 2012 20:25:51 +0000 (20:25 +0000)]
enable CFI command set 0002 FORCE_WORD_WRITE

SVN-Revision: 33315

12 years agopad squashfs image
Florian Fainelli [Mon, 3 Sep 2012 20:25:46 +0000 (20:25 +0000)]
pad squashfs image

SVN-Revision: 33314

12 years agoadd Generic and dLAN USB Extender profiles
Florian Fainelli [Mon, 3 Sep 2012 20:25:40 +0000 (20:25 +0000)]
add Generic and dLAN USB Extender profiles

SVN-Revision: 33313

12 years agonuport-mac: disable MAC RX and TX during interface close
Florian Fainelli [Mon, 3 Sep 2012 10:26:01 +0000 (10:26 +0000)]
nuport-mac: disable MAC RX and TX during interface close

Fixes sporadic crashes while reconfiguring the network interface.

SVN-Revision: 33312

12 years agohostapd: fix ap+sta issues
Felix Fietkau [Wed, 29 Aug 2012 16:06:24 +0000 (16:06 +0000)]
hostapd: fix ap+sta issues

SVN-Revision: 33311

12 years agoRevert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
Gabor Juhos [Wed, 29 Aug 2012 10:37:55 +0000 (10:37 +0000)]
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"

That was based on assumptions.

SVN-Revision: 33310

12 years agoar71xx: all0315n: fix ethernet according to vendor info
Gabor Juhos [Wed, 29 Aug 2012 10:37:54 +0000 (10:37 +0000)]
ar71xx: all0315n: fix ethernet according to vendor info

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

12 years agoar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
Gabor Juhos [Wed, 29 Aug 2012 10:37:53 +0000 (10:37 +0000)]
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds

SVN-Revision: 33308

12 years agoramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
Gabor Juhos [Wed, 29 Aug 2012 10:37:51 +0000 (10:37 +0000)]
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002

SVN-Revision: 33307

12 years agoiwinfo: add hwinfo of AR9280 2T2R PCIe
Gabor Juhos [Wed, 29 Aug 2012 10:37:49 +0000 (10:37 +0000)]
iwinfo: add hwinfo of AR9280 2T2R PCIe

SVN-Revision: 33306

12 years agoramips: make built-in switch transparent for ALL0256N and ALL5002
Gabor Juhos [Wed, 29 Aug 2012 10:37:47 +0000 (10:37 +0000)]
ramips: make built-in switch transparent for ALL0256N and ALL5002

This allows them to transparently communicate with an external VLAN switch.

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

12 years agoramips: Power down phy on disabled switch ports
Gabor Juhos [Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)]
ramips: Power down phy on disabled switch ports

Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

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

12 years agoramips: Add support for 8devices Carambola dev board.
Gabor Juhos [Wed, 29 Aug 2012 10:37:43 +0000 (10:37 +0000)]
ramips: Add support for 8devices Carambola dev board.

Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

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

12 years agoramips: Rename POC registers
Gabor Juhos [Wed, 29 Aug 2012 10:37:41 +0000 (10:37 +0000)]
ramips: Rename POC registers

Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

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

12 years agoramips: Minor ramips_esw.c cleanup
Gabor Juhos [Wed, 29 Aug 2012 10:37:40 +0000 (10:37 +0000)]
ramips: Minor ramips_esw.c cleanup

Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.

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

12 years agoramips: Add switch setup to uci network defaults
Gabor Juhos [Wed, 29 Aug 2012 10:37:38 +0000 (10:37 +0000)]
ramips: Add switch setup to uci network defaults

Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

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

12 years agoramips: Add swconfig support to ramips_esw.c
Gabor Juhos [Wed, 29 Aug 2012 10:37:36 +0000 (10:37 +0000)]
ramips: Add swconfig support to ramips_esw.c

Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

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

12 years agoramips: ramips_esw.c indentation cleanup
Gabor Juhos [Wed, 29 Aug 2012 10:37:35 +0000 (10:37 +0000)]
ramips: ramips_esw.c indentation cleanup

Minor indentation cleanup.

Prepare for the main swconfig patch by cleaning up indentation a bit.

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

12 years agomac80211/rt2800: integrate cosmetic changes in rt3352 support
Gabor Juhos [Wed, 29 Aug 2012 10:37:33 +0000 (10:37 +0000)]
mac80211/rt2800: integrate cosmetic changes in rt3352 support

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

12 years agouboot-envtools: add configration for ramips devices
Gabor Juhos [Wed, 29 Aug 2012 10:37:32 +0000 (10:37 +0000)]
uboot-envtools: add configration for ramips devices

uboot-env settings for ALL0239-3G, ALL0256N, ALL5002.

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

12 years agoar71xx: image: fix Profile name for TL-WA701 (closes #12094)
Gabor Juhos [Wed, 29 Aug 2012 10:37:30 +0000 (10:37 +0000)]
ar71xx: image: fix Profile name for TL-WA701 (closes #12094)

SVN-Revision: 33295

12 years agoar71xx: Buffalo WZR-HP-AG300H LED support
Gabor Juhos [Wed, 29 Aug 2012 10:11:55 +0000 (10:11 +0000)]
ar71xx: Buffalo WZR-HP-AG300H LED support

An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 33294

12 years agoiwinfo: add hwinfo for Rt3050 and maintain alphabetic order
Jo-Philipp Wich [Wed, 29 Aug 2012 10:10:46 +0000 (10:10 +0000)]
iwinfo: add hwinfo for Rt3050 and maintain alphabetic order

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

12 years agorevert threadsafe patch
John Crispin [Wed, 29 Aug 2012 10:08:30 +0000 (10:08 +0000)]
revert threadsafe patch

SVN-Revision: 33292

12 years agoppp: introduce "authfail" option which specifies whether pppd should attempt to re...
Jo-Philipp Wich [Wed, 29 Aug 2012 10:07:08 +0000 (10:07 +0000)]
ppp: introduce "authfail" option which specifies whether pppd should attempt to re-authenticate after a failed PAP/CHAP auth

SVN-Revision: 33291

12 years agoath9k: add fix to improve reliability of powersave clients
Felix Fietkau [Wed, 29 Aug 2012 08:16:34 +0000 (08:16 +0000)]
ath9k: add fix to improve reliability of powersave clients

SVN-Revision: 33290

12 years agomac80211: reorganize patches
Felix Fietkau [Wed, 29 Aug 2012 08:16:31 +0000 (08:16 +0000)]
mac80211: reorganize patches

SVN-Revision: 33289

12 years agogemini: fix bus ids for PHY devices (closes: #12082)
Gabor Juhos [Mon, 27 Aug 2012 18:09:57 +0000 (18:09 +0000)]
gemini: fix bus ids for PHY devices (closes: #12082)

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

12 years agoar71xx: add profile for Allnet devices
Gabor Juhos [Mon, 27 Aug 2012 14:55:38 +0000 (14:55 +0000)]
ar71xx: add profile for Allnet devices

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

12 years agoar71xx: generate image for ALL0315N
Gabor Juhos [Mon, 27 Aug 2012 14:55:37 +0000 (14:55 +0000)]
ar71xx: generate image for ALL0315N

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

12 years agoar71xx: sysupgrade for the ALL0315N
Gabor Juhos [Mon, 27 Aug 2012 14:55:36 +0000 (14:55 +0000)]
ar71xx: sysupgrade for the ALL0315N

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

12 years agoar71xx: rename all0258n.sh to allnet.sh
Gabor Juhos [Mon, 27 Aug 2012 14:55:35 +0000 (14:55 +0000)]
ar71xx: rename all0258n.sh to allnet.sh

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

12 years agouboot-envtools: add configuration for ALL0315N
Gabor Juhos [Mon, 27 Aug 2012 14:55:33 +0000 (14:55 +0000)]
uboot-envtools: add configuration for ALL0315N

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

12 years agoar71xx: detect ALL0315N board
Gabor Juhos [Mon, 27 Aug 2012 14:55:32 +0000 (14:55 +0000)]
ar71xx: detect ALL0315N board

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

12 years agoar71xx: add support for the Allnet ALL0315N board
Gabor Juhos [Mon, 27 Aug 2012 14:55:31 +0000 (14:55 +0000)]
ar71xx: add support for the Allnet ALL0315N board

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

12 years agoar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Gabor Juhos [Mon, 27 Aug 2012 14:55:26 +0000 (14:55 +0000)]
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240

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