openwrt/svn-archive/archive.git
6 years agolibpcap: enable parallel builds
Felix Fietkau [Sat, 15 Sep 2012 11:37:01 +0000 (11:37 +0000)]
libpcap: enable parallel builds

SVN-Revision: 33417

6 years agodnsmasq: enable parallel builds
Felix Fietkau [Sat, 15 Sep 2012 11:36:58 +0000 (11:36 +0000)]
dnsmasq: enable parallel builds

SVN-Revision: 33416

6 years agoppp: enable parallel builds
Felix Fietkau [Sat, 15 Sep 2012 11:36:55 +0000 (11:36 +0000)]
ppp: enable parallel builds

SVN-Revision: 33415

6 years agobuild: add a config option for passing the top-level make jobserver to packages that...
Felix Fietkau [Sat, 15 Sep 2012 10:21:24 +0000 (10:21 +0000)]
build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds

SVN-Revision: 33414

6 years agoar71xx: fix WP543 image builds
Felix Fietkau [Sat, 15 Sep 2012 10:21:21 +0000 (10:21 +0000)]
ar71xx: fix WP543 image builds

SVN-Revision: 33413

6 years agohostapd: add a config option for the inactivity timeout
Felix Fietkau [Sat, 15 Sep 2012 10:21:18 +0000 (10:21 +0000)]
hostapd: add a config option for the inactivity timeout

SVN-Revision: 33412

6 years agoD-Link DAP-1350; Avoid bricking esw config
John Crispin [Sat, 15 Sep 2012 09:28:28 +0000 (09:28 +0000)]
D-Link DAP-1350; Avoid bricking esw config

This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.

D-Link DAP-1350 goes bricked with AA 12.09-beta.

This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.

There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.

Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 33411

6 years agoramips/rt3883: fix a typo in the ASUS profile
John Crispin [Sat, 15 Sep 2012 09:20:50 +0000 (09:20 +0000)]
ramips/rt3883: fix a typo in the ASUS profile

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

6 years ago[realview] partially revert r33403
Florian Fainelli [Fri, 14 Sep 2012 15:44:25 +0000 (15:44 +0000)]
[realview] partially revert r33403

SVN-Revision: 33409

6 years ago[leon] set DEVICE_TYPE to developerboard
Florian Fainelli [Fri, 14 Sep 2012 15:37:51 +0000 (15:37 +0000)]
[leon] set DEVICE_TYPE to developerboard

SVN-Revision: 33408

6 years ago[leon] fix sparc32 assembler failures with newer toolchains
Florian Fainelli [Fri, 14 Sep 2012 15:37:40 +0000 (15:37 +0000)]
[leon] fix sparc32 assembler failures with newer toolchains

SVN-Revision: 33407

6 years ago[leon] refresh patches so they apply cleanly
Florian Fainelli [Fri, 14 Sep 2012 15:37:12 +0000 (15:37 +0000)]
[leon] refresh patches so they apply cleanly

SVN-Revision: 33406

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

SVN-Revision: 33405

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

SVN-Revision: 33404

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

SVN-Revision: 33403

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

SVN-Revision: 33402

6 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

6 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

6 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

6 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

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

SVN-Revision: 33395

6 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

6 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

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

SVN-Revision: 33391

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

SVN-Revision: 33390

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

SVN-Revision: 33378

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

This fixes #10256

SVN-Revision: 33369

6 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

6 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

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

SVN-Revision: 33359

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

SVN-Revision: 33357

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

SVN-Revision: 33356

6 years ago[scripts] fix 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)]
[scripts] fix library bundling when host libraries reside in /lib/tls/ or similar

SVN-Revision: 33353

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

SVN-Revision: 33352

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

SVN-Revision: 33351

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

SVN-Revision: 33350

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

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

SVN-Revision: 33330

6 years ago[toolchain] gcc: add upstream fixes for GCC bug 54494
Florian Fainelli [Fri, 7 Sep 2012 10:31:58 +0000 (10:31 +0000)]
[toolchain] 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

6 years ago[toolchain] gcc: add upstream fixes for GCC bug 54369
Florian Fainelli [Fri, 7 Sep 2012 10:31:54 +0000 (10:31 +0000)]
[toolchain] 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

6 years ago[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first...
Daniel Dickinson [Thu, 6 Sep 2012 18:15:26 +0000 (18:15 +0000)]
[ar71xx] 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

6 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

6 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

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

SVN-Revision: 33323

6 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

6 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

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

SVN-Revision: 33319

6 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

6 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

6 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

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

SVN-Revision: 33315

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

SVN-Revision: 33314

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

SVN-Revision: 33313

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

Fixes sporadic crashes while reconfiguring the network interface.

SVN-Revision: 33312

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

SVN-Revision: 33292

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

SVN-Revision: 33291