openwrt/staging/ansuel.git
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

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

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

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

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

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

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

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

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

11 years agobump to v3.8
John Crispin [Thu, 14 Mar 2013 18:42:29 +0000 (18:42 +0000)]
bump to v3.8

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

11 years agomove GPHY FW blobs to non versioned folder
John Crispin [Thu, 14 Mar 2013 18:42:21 +0000 (18:42 +0000)]
move GPHY FW blobs to non versioned folder

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

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

 * Introduce "option reload" for includes to specify whether includes should be processed on reload (e.g. when tapping into internal chains)
 * Allow "network" and "device" commands while firewall is running (to make them usable in includes)

SVN-Revision: 36009

11 years agokernel: add support for 3.9-rc2
Florian Fainelli [Thu, 14 Mar 2013 14:45:56 +0000 (14:45 +0000)]
kernel: add support for 3.9-rc2

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

11 years agomac80211: backport required changes to support 3.9-rc kernels
Florian Fainelli [Thu, 14 Mar 2013 14:45:36 +0000 (14:45 +0000)]
mac80211: backport required changes to support 3.9-rc kernels

SVN-Revision: 36007

11 years agofix date and dependency
John Crispin [Wed, 13 Mar 2013 18:29:08 +0000 (18:29 +0000)]
fix date and dependency

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

11 years agomake init and logread depend on !PROCD_INIT
John Crispin [Wed, 13 Mar 2013 18:11:31 +0000 (18:11 +0000)]
make init and logread depend on !PROCD_INIT

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

11 years agouse new button scheme
John Crispin [Wed, 13 Mar 2013 18:11:25 +0000 (18:11 +0000)]
use new button scheme

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

11 years agomake basefiles aware of procd
John Crispin [Wed, 13 Mar 2013 18:11:19 +0000 (18:11 +0000)]
make basefiles aware of procd

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

11 years agoupdate the /init file to start /sbin/init
John Crispin [Wed, 13 Mar 2013 18:11:13 +0000 (18:11 +0000)]
update the /init file to start /sbin/init

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

11 years agoupdate to latest git head
John Crispin [Wed, 13 Mar 2013 18:11:07 +0000 (18:11 +0000)]
update to latest git head

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

11 years agomake sure the console works when using procd as our pid 1
John Crispin [Wed, 13 Mar 2013 18:11:00 +0000 (18:11 +0000)]
make sure the console works when using procd as our pid 1

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

11 years agofirewall3: update to git head
Jo-Philipp Wich [Wed, 13 Mar 2013 15:46:30 +0000 (15:46 +0000)]
firewall3: update to git head

 * Adds support for emitting hotplug events when creating and clearing zones (fixes miniupnpd)
 * Make NAT reflection direction configurable
 * Map init script stop action to flush
 * Map init script reload action to reload
 * Respect init script disabled state in hotplug handler

SVN-Revision: 35998

11 years agoubus: update to latest version
Felix Fietkau [Wed, 13 Mar 2013 15:45:41 +0000 (15:45 +0000)]
ubus: update to latest version

SVN-Revision: 35997

11 years agolibubox: update to latest version, adds libjson-script
Felix Fietkau [Wed, 13 Mar 2013 15:44:08 +0000 (15:44 +0000)]
libubox: update to latest version, adds libjson-script

SVN-Revision: 35996

11 years agogemini: remove 3.3 support
Gabor Juhos [Tue, 12 Mar 2013 18:22:34 +0000 (18:22 +0000)]
gemini: remove 3.3 support

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

11 years agogemini: switch to 3.8
Gabor Juhos [Tue, 12 Mar 2013 18:22:33 +0000 (18:22 +0000)]
gemini: switch to 3.8

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

11 years agogemini: add support for 3.8
Gabor Juhos [Tue, 12 Mar 2013 18:22:22 +0000 (18:22 +0000)]
gemini: add support for 3.8

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

11 years agofixes NO_XIP on CFI0001 flash
John Crispin [Tue, 12 Mar 2013 13:53:08 +0000 (13:53 +0000)]
fixes NO_XIP on CFI0001 flash

This patch disables the execute-in-place (XIP) support for flash on
lantiq. This has to be disabled since the bus which flash is connected
to does not support unaligned accesses. Resolves data bus errors on
Lantiq routers with Intel command set flash.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 35992

11 years agoltq-atm: update sock api
John Crispin [Tue, 12 Mar 2013 13:53:01 +0000 (13:53 +0000)]
ltq-atm: update sock api

update sock api in lantiq atm driver

The ltq-atm driver provides its own replacement for net/atm/common.c:alloc_tx(),
defined in ltq_atm.c:atm_alloc_tx().
The read of sk_wmem_alloc is done in the wrong way, starting with commit
2b85a34e911bf483c27cfdd124aeb1605145dc80 in linux mainline it has to be
done through a specific wrapper.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
SVN-Revision: 35991

11 years agoadd support for AudioCodes AC-252
John Crispin [Tue, 12 Mar 2013 13:52:54 +0000 (13:52 +0000)]
add support for AudioCodes AC-252

user-space support for extracting the EEPROM for the RaLink WiFi is still
missing. Besides this, it's all working.

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

11 years agounbreak dgn3500 spi-gpio
John Crispin [Tue, 12 Mar 2013 13:52:47 +0000 (13:52 +0000)]
unbreak dgn3500 spi-gpio

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

11 years agomake sure errors get sent to /dev/null
John Crispin [Tue, 12 Mar 2013 13:52:40 +0000 (13:52 +0000)]
make sure errors get sent to /dev/null

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

11 years agomake sure errors get sent to /dev/null
John Crispin [Tue, 12 Mar 2013 13:52:33 +0000 (13:52 +0000)]
make sure errors get sent to /dev/null

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

11 years agofixes mbssid on ralink hardware
John Crispin [Tue, 12 Mar 2013 13:52:20 +0000 (13:52 +0000)]
fixes mbssid on ralink hardware

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

11 years agoavr32: remove 3.3 support
Gabor Juhos [Tue, 12 Mar 2013 13:28:33 +0000 (13:28 +0000)]
avr32: remove 3.3 support

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

11 years agoavr32: switch to 3.8
Gabor Juhos [Tue, 12 Mar 2013 13:28:32 +0000 (13:28 +0000)]
avr32: switch to 3.8

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

11 years agoavr32: add support for 3.8
Gabor Juhos [Tue, 12 Mar 2013 13:28:31 +0000 (13:28 +0000)]
avr32: add support for 3.8

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

11 years agoavr32: add sysupgrade support
Gabor Juhos [Tue, 12 Mar 2013 13:28:27 +0000 (13:28 +0000)]
avr32: add sysupgrade support

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

11 years agoavr32: add firmware partition
Gabor Juhos [Tue, 12 Mar 2013 13:28:23 +0000 (13:28 +0000)]
avr32: add firmware partition

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

11 years agoavr32: add diag support
Gabor Juhos [Tue, 12 Mar 2013 13:28:21 +0000 (13:28 +0000)]
avr32: add diag support

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

11 years agoavr32: create network config dynamically
Gabor Juhos [Tue, 12 Mar 2013 13:28:19 +0000 (13:28 +0000)]
avr32: create network config dynamically

The default network configuration from base-files
is not correct for the NGW100 board.

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

11 years agoavr32: built the firmware images from the lzma compressed uImage
Gabor Juhos [Tue, 12 Mar 2013 13:28:16 +0000 (13:28 +0000)]
avr32: built the firmware images from the lzma compressed uImage

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

11 years agompc52xx: remove 3.3 support
Gabor Juhos [Tue, 12 Mar 2013 07:18:37 +0000 (07:18 +0000)]
mpc52xx: remove 3.3 support

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

11 years agompc52xx: switch to 3.8
Gabor Juhos [Tue, 12 Mar 2013 07:18:36 +0000 (07:18 +0000)]
mpc52xx: switch to 3.8

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

11 years agompc52xx: add support for 3.8
Gabor Juhos [Tue, 12 Mar 2013 07:18:34 +0000 (07:18 +0000)]
mpc52xx: add support for 3.8

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

11 years agohostapd: fix client reassociation after too many ACK failures
Felix Fietkau [Tue, 12 Mar 2013 00:19:25 +0000 (00:19 +0000)]
hostapd: fix client reassociation after too many ACK failures

SVN-Revision: 35973

11 years agoramips: add profile and build image for the Upvel UR-326N4G board
Gabor Juhos [Mon, 11 Mar 2013 21:02:45 +0000 (21:02 +0000)]
ramips: add profile and build image for the Upvel UR-326N4G board

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35972

11 years agoramips: add user-space support for the Upvel UR-326N4G board
Gabor Juhos [Mon, 11 Mar 2013 21:02:43 +0000 (21:02 +0000)]
ramips: add user-space support for the Upvel UR-326N4G board

[juhosg: fix mac address setup]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35971

11 years agoramips: add kernel support for the Upvel UR-326N4G board
Gabor Juhos [Mon, 11 Mar 2013 21:02:40 +0000 (21:02 +0000)]
ramips: add kernel support for the Upvel UR-326N4G board

[juhosg: add missing symbols to config-3.{7,8}]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35970

11 years agofirewall3: update to git head
Jo-Philipp Wich [Mon, 11 Mar 2013 20:52:20 +0000 (20:52 +0000)]
firewall3: update to git head

 * Fixes compilation against eglibc
 * Fixes tracking logic when selectively restarting IPv4 or IPv6 firewall
 * Fixes tracking logic for user chains by differentiating between reloads and restarts
 * Introduces per-zone user chains {input,output,forwarding,prerouting,postrouting}_$zone_rule
 * Supports legacy "tcpudp" protocol notation again

SVN-Revision: 35969

11 years agoar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Gabor Juhos [Mon, 11 Mar 2013 19:52:54 +0000 (19:52 +0000)]
ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality

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

11 years agoar71xx: add AR934X_GPIO_FUNC_* defines
Gabor Juhos [Mon, 11 Mar 2013 19:52:51 +0000 (19:52 +0000)]
ar71xx: add AR934X_GPIO_FUNC_* defines

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

11 years agoar71xx: makefile changes to build image for MR3420v2
Gabor Juhos [Mon, 11 Mar 2013 15:55:25 +0000 (15:55 +0000)]
ar71xx: makefile changes to build image for MR3420v2

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3440/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35964

11 years agofirmware-utils/mktplinkfw: Add support for MR3420v2
Gabor Juhos [Mon, 11 Mar 2013 15:55:23 +0000 (15:55 +0000)]
firmware-utils/mktplinkfw: Add support for MR3420v2

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3441/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35963

11 years agoar71xx: add user-space support for MR3420v2
Gabor Juhos [Mon, 11 Mar 2013 15:55:22 +0000 (15:55 +0000)]
ar71xx: add user-space support for MR3420v2

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3442/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35962

11 years agoar71xx: add kernel support for MR3420v2
Gabor Juhos [Mon, 11 Mar 2013 15:55:20 +0000 (15:55 +0000)]
ar71xx: add kernel support for MR3420v2

[juhosg: use gpio_request_one to enable the USB power]

Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>
SVN-Revision: 35961

11 years agoar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U
Gabor Juhos [Mon, 11 Mar 2013 15:55:19 +0000 (15:55 +0000)]
ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U

LAN1 and LAN2 LEDs not present (it pulled to ground via
resistors) on MR3040 and MR11U devices. This little patch
enabling ability to control GPIO14 and GPIO15.

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3439/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35960

11 years agoar71xx: add profile support for dir-835-a1
Gabor Juhos [Mon, 11 Mar 2013 15:55:17 +0000 (15:55 +0000)]
ar71xx: add profile support for dir-835-a1

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3427/mbox/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35959

11 years agoar71xx: add user space support for dir-835-a1
Gabor Juhos [Mon, 11 Mar 2013 15:55:15 +0000 (15:55 +0000)]
ar71xx: add user space support for dir-835-a1

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35958

11 years agoar71xx: add kernel support for dir-835-a1
Gabor Juhos [Mon, 11 Mar 2013 15:55:13 +0000 (15:55 +0000)]
ar71xx: add kernel support for dir-835-a1

[juhosg:
  - remove custom mdio bus info and platform data for ar8327, clear the
    .led_cfg field from dir835a1_setup instead,
  - remove arguments of dir835c1_generic_setup function, register the
    LEDs directly from the board specific setup instead]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35957

11 years agocns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory...
Felix Fietkau [Mon, 11 Mar 2013 02:29:53 +0000 (02:29 +0000)]
cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory pressure

SVN-Revision: 35953

11 years agocns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit...
Felix Fietkau [Mon, 11 Mar 2013 02:29:47 +0000 (02:29 +0000)]
cns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit handler

SVN-Revision: 35952

11 years agocns3xxx: increase number of ethernet driver rx buffers
Felix Fietkau [Sun, 10 Mar 2013 21:59:32 +0000 (21:59 +0000)]
cns3xxx: increase number of ethernet driver rx buffers

SVN-Revision: 35951

11 years agocns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor...
Felix Fietkau [Sun, 10 Mar 2013 21:59:28 +0000 (21:59 +0000)]
cns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor entries

SVN-Revision: 35950

11 years agocns3xxx: minor ethernet driver cleanup
Felix Fietkau [Sun, 10 Mar 2013 21:59:21 +0000 (21:59 +0000)]
cns3xxx: minor ethernet driver cleanup

SVN-Revision: 35949

11 years agobrcm47xx: refresh config
Hauke Mehrtens [Sun, 10 Mar 2013 20:42:26 +0000 (20:42 +0000)]
brcm47xx: refresh config

SVN-Revision: 35948

11 years agoxburst: fix compilation: remove the __dev attributes
Hauke Mehrtens [Sun, 10 Mar 2013 20:26:28 +0000 (20:26 +0000)]
xburst: fix compilation: remove the __dev attributes

SVN-Revision: 35946

11 years agokernel: add some missing config options found by the buildbot.
Hauke Mehrtens [Sun, 10 Mar 2013 20:25:19 +0000 (20:25 +0000)]
kernel: add some missing config options found by the buildbot.

SVN-Revision: 35945

11 years agomac80211: b43: increase number of rx slots to 256 again.
Hauke Mehrtens [Sun, 10 Mar 2013 20:24:15 +0000 (20:24 +0000)]
mac80211: b43: increase number of rx slots to 256 again.

SVN-Revision: 35944

11 years agocns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers
Felix Fietkau [Sun, 10 Mar 2013 18:25:20 +0000 (18:25 +0000)]
cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers

SVN-Revision: 35943

11 years agocns3xxx: fix an rx irq handling corner case
Felix Fietkau [Sun, 10 Mar 2013 18:25:16 +0000 (18:25 +0000)]
cns3xxx: fix an rx irq handling corner case

When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

SVN-Revision: 35942

11 years agocns3xxx: fix ethernet driver memory barrier usage
Felix Fietkau [Sun, 10 Mar 2013 18:25:11 +0000 (18:25 +0000)]
cns3xxx: fix ethernet driver memory barrier usage

SVN-Revision: 35941

11 years agorealview: remove 3.3 support
Gabor Juhos [Sun, 10 Mar 2013 18:06:31 +0000 (18:06 +0000)]
realview: remove 3.3 support

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

11 years agorealview: switch to 3.8
Gabor Juhos [Sun, 10 Mar 2013 18:06:29 +0000 (18:06 +0000)]
realview: switch to 3.8

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