nbd [Sat, 15 Sep 2012 12:34:52 +0000 (12:34 +0000)]
opkg: add host and package parallel build support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33424
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 12:34:48 +0000 (12:34 +0000)]
build: add jobserver support for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33423
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 12:16:14 +0000 (12:16 +0000)]
build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33422
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 12:16:11 +0000 (12:16 +0000)]
kernel: suppress redundant calls to headers installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33421
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 12:16:07 +0000 (12:16 +0000)]
kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33420
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 11:37:07 +0000 (11:37 +0000)]
hostapd: enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33419
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 11:37:04 +0000 (11:37 +0000)]
linux-atm: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33418
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 11:37:01 +0000 (11:37 +0000)]
libpcap: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33417
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 11:36:58 +0000 (11:36 +0000)]
dnsmasq: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33416
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 11:36:55 +0000 (11:36 +0000)]
ppp: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33415
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33414
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 10:21:21 +0000 (10:21 +0000)]
ar71xx: fix WP543 image builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33413
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 15 Sep 2012 10:21:18 +0000 (10:21 +0000)]
hostapd: add a config option for the inactivity timeout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33412
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33411
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33410
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:44:25 +0000 (15:44 +0000)]
[realview] partially revert r33403
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33409
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:37:51 +0000 (15:37 +0000)]
[leon] set DEVICE_TYPE to developerboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33408
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:37:40 +0000 (15:37 +0000)]
[leon] fix sparc32 assembler failures with newer toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33407
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:37:12 +0000 (15:37 +0000)]
[leon] refresh patches so they apply cleanly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33406
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:36:41 +0000 (15:36 +0000)]
[buildroot] add sparc specific site files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33405
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:36:38 +0000 (15:36 +0000)]
[package] busybox: add patch to fix CVE-2011-2716 in udhcp.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33404
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:36:33 +0000 (15:36 +0000)]
[realview] set DEVICE_TYPE to developperboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33403
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Fri, 14 Sep 2012 15:36:30 +0000 (15:36 +0000)]
[malta] set DEVICE_TYPE to developperboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33402
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33401
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 14 Sep 2012 14:08:35 +0000 (14:08 +0000)]
hostapd: add an option for configuring the maximum number of connected clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33400
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33399
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 14 Sep 2012 13:37:30 +0000 (13:37 +0000)]
mac80211: fix regdb locking issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33398
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Thu, 13 Sep 2012 15:57:59 +0000 (15:57 +0000)]
[package] busybox: fix build with recent eglibc toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33395
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 13 Sep 2012 12:39:14 +0000 (12:39 +0000)]
hostapd: support wps in hostapd_cli even when built from the mini variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33393
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 13 Sep 2012 12:38:51 +0000 (12:38 +0000)]
hostapd: update to 2012-09-10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33392
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33391
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Thu, 13 Sep 2012 08:47:06 +0000 (08:47 +0000)]
[package] netifd: update to latest git head, reorganizes ubus output of inactive values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33390
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 07:26:28 +0000 (07:26 +0000)]
ar71xx: merge machine support patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 07:26:26 +0000 (07:26 +0000)]
ar71xx: register the NAND controller device on the RB2011
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 07:26:25 +0000 (07:26 +0000)]
ar71xx: add device registration code for the AR934x NAND flash controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 07:26:23 +0000 (07:26 +0000)]
ar71xx: package the AR934x NAND driver module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 07:26:22 +0000 (07:26 +0000)]
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 07:26:21 +0000 (07:26 +0000)]
generic: add MTD_NAND_AR934X symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33384
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Thu, 13 Sep 2012 06:38:31 +0000 (06:38 +0000)]
generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 12 Sep 2012 19:06:38 +0000 (19:06 +0000)]
ar71xx: define NAND controller base address and register size for AR934X/QCA955x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33378
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Tue, 11 Sep 2012 15:04:20 +0000 (15:04 +0000)]
[brcm47xx]: add gpio sysfs entries
This fixes #10256
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 10 Sep 2012 14:38:01 +0000 (14:38 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Mon, 10 Sep 2012 14:32:54 +0000 (14:32 +0000)]
ar71xx: fix QCA955X_EHCI_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33359
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Mon, 10 Sep 2012 09:48:31 +0000 (09:48 +0000)]
[package] block-mount: additionally try to umount disk by mountpoint (#12056)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33357
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Mon, 10 Sep 2012 08:53:21 +0000 (08:53 +0000)]
[generic] fix ixp4xx_hss build failure (#12162)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33356
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 9 Sep 2012 22:37:32 +0000 (22:37 +0000)]
[scripts] fix library bundling when host libraries reside in /lib/tls/ or similar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33353
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 9 Sep 2012 21:40:26 +0000 (21:40 +0000)]
[ar71xx] fix description of nand/Ath5k profile (#12149)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33352
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 9 Sep 2012 21:35:42 +0000 (21:35 +0000)]
[buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33351
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 9 Sep 2012 19:46:38 +0000 (19:46 +0000)]
[package] comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33350
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:32 +0000 (14:05 +0000)]
ar71xx: add initial support for RB2011UAS-2HnD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:30 +0000 (14:05 +0000)]
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:28 +0000 (14:05 +0000)]
ar71xx: add RouterBoot related helper routines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:26 +0000 (14:05 +0000)]
generic add WLAN calibration data ID to routerboot.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:24 +0000 (14:05 +0000)]
ar71xx: define MTD partitions for RB2011
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:20 +0000 (14:05 +0000)]
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sun, 9 Sep 2012 14:05:17 +0000 (14:05 +0000)]
ar71xx: add dynamic MDIO clock calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [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).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33340
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 8 Sep 2012 17:51:56 +0000 (17:51 +0000)]
ar71xx: use the RLE library for RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 8 Sep 2012 13:39:09 +0000 (13:39 +0000)]
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Sat, 8 Sep 2012 13:39:04 +0000 (13:39 +0000)]
ar71xx: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 8 Sep 2012 13:19:21 +0000 (13:19 +0000)]
mac80211: bump PKG_RELEASE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33333
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33332
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33331
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33330
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33329
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33328
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cshore [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33325
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Thu, 6 Sep 2012 00:09:46 +0000 (00:09 +0000)]
lantiq: fix sx76x default uci network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Wed, 5 Sep 2012 20:19:29 +0000 (20:19 +0000)]
[mcs814x] add some ohci workarounds to make ohci work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33323
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Wed, 5 Sep 2012 19:38:42 +0000 (19:38 +0000)]
[x86] add missing kvm_guest kernel options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33319
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 5 Sep 2012 19:26:50 +0000 (19:26 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Mon, 3 Sep 2012 20:25:51 +0000 (20:25 +0000)]
[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Mon, 3 Sep 2012 20:25:46 +0000 (20:25 +0000)]
[mcs814x] pad squashfs image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Mon, 3 Sep 2012 20:25:40 +0000 (20:25 +0000)]
[mcs814x] add Generic and dLAN USB Extender profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 29 Aug 2012 16:06:24 +0000 (16:06 +0000)]
hostapd: fix ap+sta issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33311
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 29 Aug 2012 10:37:53 +0000 (10:37 +0000)]
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 29 Aug 2012 10:37:51 +0000 (10:37 +0000)]
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [Wed, 29 Aug 2012 10:37:49 +0000 (10:37 +0000)]
iwinfo: add hwinfo of AR9280 2T2R PCIe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33306
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299
3c298f89-4303-0410-b956-
a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298
3c298f89-4303-0410-b956-
a3cf2f4a3e73