Florian Fainelli [Wed, 18 Jan 2012 07:56:02 +0000 (07:56 +0000)]
 
[kernel] fix thinko in 102-ehci_hcd_ignore_oc patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29773 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 04:03:15 +0000 (04:03 +0000)]
 
[scripts] ext-toolchain.sh: properly handle toolchains without sysroot support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 03:54:09 +0000 (03:54 +0000)]
 
[package] openssl: don't fail with empty TARGET_LDFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29770 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 03:32:30 +0000 (03:32 +0000)]
 
[scripts] ext-toolchain.sh:
	- use GCC's own idea of the target name (-dumpmachine)
	- display help if called without args
	- add copyright foo
	- remove some leftover flag handling code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29769 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 03:15:22 +0000 (03:15 +0000)]
 
[toolchain] invoke patch-specs.sh in the gcc/final install stage.
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from
TARGET_LDFLAGS and TARGET_CPPFLAGS.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 03:11:45 +0000 (03:11 +0000)]
 
[scripts] add patch-specs.sh, a utility for modifying GCC specs
The patch-specs.sh utility dumps the GCC specs of a given toolchain
and modifies them to always include $STAGING_DIR in the link and
compiler command lines, this makes most -I and -L flags unnecessary
and lets the compiler automatically find libraries and headers in
the staging dir, also solves the majority of -rpath issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29767 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 03:08:09 +0000 (03:08 +0000)]
 
[buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or
CONFIG_IPV6 are enabled but not supported by the toolchain.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 18 Jan 2012 03:03:24 +0000 (03:03 +0000)]
 
[scripts] add ext-toolchain.sh, a utility for external toolchains
The ext-toolchain.sh utility script implements various external toolchain tasks:
  * Testing of available features, like c++, soft-float or ipv6 support
  * Finding the libc implementation (uclibc or eglibc/glibc)
  * Inferring the GNU target name
  * Finding shared objects for packaging (libc, libpthread, ...)
  * Finding executables for packaging (ldd, gdbserver, ...)
  * Generating wrapper scripts for toolchain commands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29765 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Tue, 17 Jan 2012 12:10:35 +0000 (12:10 +0000)]
 
[lantiq] gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29763 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Tue, 17 Jan 2012 11:23:11 +0000 (11:23 +0000)]
 
ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.
This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29762 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Mon, 16 Jan 2012 08:14:27 +0000 (08:14 +0000)]
 
rt2x00: add a patch to avoid excessive memmove() on packet contents to improve performance (patch by Helmut Schaa)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29760 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 15 Jan 2012 21:18:34 +0000 (21:18 +0000)]
 
brcm47xx: add support for kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29756 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sun, 15 Jan 2012 14:53:32 +0000 (14:53 +0000)]
 
brcm47xx: run kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29755 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 15 Jan 2012 11:43:13 +0000 (11:43 +0000)]
 
tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre Kaloz [Sat, 14 Jan 2012 23:02:56 +0000 (23:02 +0000)]
 
[target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29753 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre Kaloz [Sat, 14 Jan 2012 22:56:22 +0000 (22:56 +0000)]
 
[package/mac80211]: build and package the wl12xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29751 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre Kaloz [Sat, 14 Jan 2012 22:55:04 +0000 (22:55 +0000)]
 
[generic/3.2]: fixup arm xz support with recent changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29750 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre Kaloz [Sat, 14 Jan 2012 22:53:28 +0000 (22:53 +0000)]
 
[generic/3.2]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29749 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Imre Kaloz [Sat, 14 Jan 2012 22:52:40 +0000 (22:52 +0000)]
 
[toolchain/gcc]: upgrade to latest linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 14 Jan 2012 14:57:03 +0000 (14:57 +0000)]
 
kernel: disable bridge igmp snooping in 3.2 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29747 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 14 Jan 2012 13:50:30 +0000 (13:50 +0000)]
 
ath9k: fix handling of the KeyMiss flag for received packets - fixes connection stability issues with crypto enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29745 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 14 Jan 2012 13:50:25 +0000 (13:50 +0000)]
 
kernel: disable bridge igmp snooping by default to avoid multicast issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29744 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 14 Jan 2012 13:50:21 +0000 (13:50 +0000)]
 
libnl-tiny: export unl_genl_multicast_id()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29743 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Sat, 14 Jan 2012 12:04:17 +0000 (12:04 +0000)]
 
kernel: ppc40x: ppc44x: add missing kernel config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29742 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Fri, 13 Jan 2012 20:21:15 +0000 (20:21 +0000)]
 
broadcom-diag: add support for some new devices
There is still no Ethernet driver for these devices in trunk.
Thanks George Kashperko for the patch.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29735 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Fri, 13 Jan 2012 20:11:23 +0000 (20:11 +0000)]
 
brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.
This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29734 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 13 Jan 2012 19:17:58 +0000 (19:17 +0000)]
 
[generic] rtl8366: fix rtl8366_smi_detect() after r29677
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29732 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:59:50 +0000 (14:59 +0000)]
 
brcm63xx: add support for linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29731 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:55:07 +0000 (14:55 +0000)]
 
kernel: add support for linux 3.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29730 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:49:19 +0000 (14:49 +0000)]
 
package: iptables: fix compilation with linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29729 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:47:30 +0000 (14:47 +0000)]
 
mac80211: current revisions build with 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29728 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:42:53 +0000 (14:42 +0000)]
 
kernel: backport overlayfs v11 to 3.0 and 2.6.39
Should fix whiteout issues and missing files when using extroot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29727 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:38:28 +0000 (14:38 +0000)]
 
kernel: update linux 3.1 to 3.1.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29726 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 13 Jan 2012 14:10:44 +0000 (14:10 +0000)]
 
kernel: update linux 3.0 to 3.0.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29725 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 13 Jan 2012 00:54:25 +0000 (00:54 +0000)]
 
[package] iwinfo: plug memory leak in nl80211 backend, nl80211_close() did not put the family pointer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29723 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 12 Jan 2012 10:15:20 +0000 (10:15 +0000)]
 
gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 12 Jan 2012 10:15:18 +0000 (10:15 +0000)]
 
libnl-tiny: fix a potential memleak in an error path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29720 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 12 Jan 2012 10:15:11 +0000 (10:15 +0000)]
 
ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured
this makes enable_vlan=0 practical for vlan passthrough
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29719 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 12 Jan 2012 10:15:08 +0000 (10:15 +0000)]
 
ar8216: do not strip vlan tags when running with vlan_enable=0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29718 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 18:00:50 +0000 (18:00 +0000)]
 
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Daniel Dickinson [Wed, 11 Jan 2012 13:47:48 +0000 (13:47 +0000)]
 
[brcm63xx] Remove invalid LED GPIO from GW6200 board definition.  GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29712 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:19 +0000 (09:14 +0000)]
 
ar71xx: disable ath79 in order to get rid of Kconfig warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:18 +0000 (09:14 +0000)]
 
ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:17 +0000 (09:14 +0000)]
 
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:15 +0000 (09:14 +0000)]
 
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:14 +0000 (09:14 +0000)]
 
ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:13 +0000 (09:14 +0000)]
 
ar71xx: ar71xx_spi: save and restore regs from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 11 Jan 2012 09:14:11 +0000 (09:14 +0000)]
 
ar71xx: ar71xx_wdt: add shutdown handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Mon, 9 Jan 2012 05:42:04 +0000 (05:42 +0000)]
 
[include] cmake.mk: fix passing of LDFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29701 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 16:52:41 +0000 (16:52 +0000)]
 
[include] make prepare_kernel_conf target depend on quilt instead of sed. Preparing the source tree requires quilt and installing quilt implies installing sed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29697 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:49:20 +0000 (15:49 +0000)]
 
[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29695 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:41:34 +0000 (15:41 +0000)]
 
[package] pptp: remove support for underlying ipproto, it is adviced since a while that pptp should be declared as separate interface alognside wan - in this configuration the ipproto will cause stray udhcpc errors due to not existent interfaces, so remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29694 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:39:42 +0000 (15:39 +0000)]
 
[package] cyassl: use patch-libtool pkg fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29693 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 8 Jan 2012 15:39:11 +0000 (15:39 +0000)]
 
zlib: fix duplicate function declarations for largefile support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29690 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:34:23 +0000 (15:34 +0000)]
 
[toolchain] introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN
Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or
even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem
by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29689 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:30:37 +0000 (15:30 +0000)]
 
[package] base-files: implement a --force option for sysupgrade to override image checks, useful to upgrade old ar71xx installations to current trunk ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29688 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:29:24 +0000 (15:29 +0000)]
 
[package] firewall: add support for "local" port forwards which target an internal address on the router itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29687 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 8 Jan 2012 15:23:11 +0000 (15:23 +0000)]
 
include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version.
The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom
*.ko files, e.g. for development purpose, is still possible.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29686 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 7 Jan 2012 20:54:33 +0000 (20:54 +0000)]
 
ath9k: merge a channel change fix from linux-wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29684 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:43 +0000 (19:36 +0000)]
 
ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:42 +0000 (19:36 +0000)]
 
ar71xx: add a profile and build images for the TL-WR2543N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:40 +0000 (19:36 +0000)]
 
firware-utils/mktplinkfw: add TL-WR2543N/ND support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:35 +0000 (19:36 +0000)]
 
ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:33 +0000 (19:36 +0000)]
 
ar71xx: allow to specify max read size for m25p80
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.
Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:31 +0000 (19:36 +0000)]
 
generic: add driver for the RTL8367R/M switches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29678 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:30 +0000 (19:36 +0000)]
 
generic: rtl8366: preparing for RTL8367 support
* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29677 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 19:36:25 +0000 (19:36 +0000)]
 
generic: rtl8366_smi: add timeout message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29676 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)]
 
ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.
This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.
Patch-by: Dave Taht <dave.taht@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sat, 7 Jan 2012 16:29:16 +0000 (16:29 +0000)]
 
generic: improve MIPS kexec support
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/
Now the kernel can use the command line parameter from kexec-tools.
Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Fri, 6 Jan 2012 15:54:59 +0000 (15:54 +0000)]
 
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 6 Jan 2012 15:18:30 +0000 (15:18 +0000)]
 
[package] openssl: bump to v1.0.0f (CVE-2011-4108, CVE-2011-4576, CVE-2011-4577, CVE-2011-4619, CVE-2012-0027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29670 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Fri, 6 Jan 2012 07:20:59 +0000 (07:20 +0000)]
 
ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Fri, 6 Jan 2012 07:20:54 +0000 (07:20 +0000)]
 
ar71xx: fix RB-750 network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Thu, 5 Jan 2012 18:08:33 +0000 (18:08 +0000)]
 
ar71xx: fix sections mismatch warnings in the nand drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Thu, 5 Jan 2012 18:08:28 +0000 (18:08 +0000)]
 
ar71xx: fix LED configuration on the RB-750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 21:16:21 +0000 (21:16 +0000)]
 
package/kernel: add package for the PCF2123 RTC driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29664 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 21:13:57 +0000 (21:13 +0000)]
 
ar71xx: create profile and build image for the ALFA AP96 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 21:13:54 +0000 (21:13 +0000)]
 
ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:59 +0000 (17:30 +0000)]
 
ar71xx: specify console kernel parameter for the Compex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:58 +0000 (17:30 +0000)]
 
ar71xx: allow to use the command line hack on compex devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:57 +0000 (17:30 +0000)]
 
ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:55 +0000 (17:30 +0000)]
 
ar71xx: show correct model name on TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:54 +0000 (17:30 +0000)]
 
ar71xx: add profile and build image for the TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:53 +0000 (17:30 +0000)]
 
firmware-utils/mktplinkfw: add support for TL-WA701N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:52 +0000 (17:30 +0000)]
 
ar71xx: fix network configuration for the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:50 +0000 (17:30 +0000)]
 
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:49 +0000 (17:30 +0000)]
 
ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:47 +0000 (17:30 +0000)]
 
ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.
I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020
USB is working and has been tested with USB mass storage and USB UMTS
stick.
Wifi also seems to work.
Ethernet is working too.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:44 +0000 (17:30 +0000)]
 
firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29650 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:42 +0000 (17:30 +0000)]
 
package: remove the om2p-watchdog package
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29649 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:41 +0000 (17:30 +0000)]
 
ar71xx: use the new om-watchdog package for OM2P
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29648 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Wed, 4 Jan 2012 17:30:39 +0000 (17:30 +0000)]
 
package: add om-watchdog package
om2p-watchdog package is OM2P specific. However a similar watchdog
mechanism exists on OM1P as well. This new package wants to substitute
om2p-watchdog with a new one which is suitable either for OM1P and OM2P.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29647 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 4 Jan 2012 12:32:47 +0000 (12:32 +0000)]
 
[toolchain] disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29646 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 4 Jan 2012 02:52:54 +0000 (02:52 +0000)]
 
add CT target and TTL/HL match+target
This patch adds the CT target for conntrack (enables manipulation of
conntrack events and supercedes NOTRACK) as well as the TTL/HL target and
match.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29645 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Wed, 4 Jan 2012 00:29:29 +0000 (00:29 +0000)]
 
[netfilter] remove current RTSP support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29643 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Tue, 3 Jan 2012 23:08:15 +0000 (23:08 +0000)]
 
[generic] backport upstream commit 
e1738bd9cecc5c867b0e2996470c1ff20f66ba79 to affected kernels (#9802)
commit 
8efa88540635 (sch_sfq: avoid giving spurious NET_XMIT_CN signals)
forgot to call qdisc_tree_decrease_qlen() to signal upper levels that a
packet (from another flow) was dropped, leading to various problems.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29642 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sun, 1 Jan 2012 19:30:29 +0000 (19:30 +0000)]
 
ar71xx: add profile and build factory image for the Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29637 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sun, 1 Jan 2012 19:30:28 +0000 (19:30 +0000)]
 
ar71xx: build images for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29636 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Gabor Juhos [Sun, 1 Jan 2012 19:30:25 +0000 (19:30 +0000)]
 
ar71xx: add support for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sun, 1 Jan 2012 16:17:10 +0000 (16:17 +0000)]
 
[package] iwinfo: factor txpower offset into info display output, recompile if driver selection changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29634 
3c298f89-4303-0410-b956-
a3cf2f4a3e73