openwrt/staging/chunkeey.git
13 years agoramips: add input drivers to the default package list
Gabor Juhos [Mon, 15 Aug 2011 18:55:50 +0000 (18:55 +0000)]
ramips: add input drivers to the default package list

SVN-Revision: 28003

13 years agoramips: rt305x: make config and factory partitions read-only on the ATP-52B
Gabor Juhos [Mon, 15 Aug 2011 18:55:48 +0000 (18:55 +0000)]
ramips: rt305x: make config and factory partitions read-only on the ATP-52B

SVN-Revision: 28002

13 years agoramips: add uci-defaults scripts to preconfigure USB LEDs
Gabor Juhos [Mon, 15 Aug 2011 14:12:00 +0000 (14:12 +0000)]
ramips: add uci-defaults scripts to preconfigure USB LEDs

SVN-Revision: 28000

13 years agoramips: rt305x: add some USB modules to the default profile
Gabor Juhos [Mon, 15 Aug 2011 14:11:58 +0000 (14:11 +0000)]
ramips: rt305x: add some USB modules to the default profile

SVN-Revision: 27999

13 years agopackage/kernel: create package for the RT305x dwc_otg driver
Gabor Juhos [Mon, 15 Aug 2011 14:11:57 +0000 (14:11 +0000)]
package/kernel: create package for the RT305x dwc_otg driver

Based on a patch by Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 27998

13 years agoramips: rt305x: add dwc_otg driver
Gabor Juhos [Mon, 15 Aug 2011 14:11:55 +0000 (14:11 +0000)]
ramips: rt305x: add dwc_otg driver

Based on a patch by Layne Edwards <ledwards@astrumtech.net>

SVN-Revision: 27997

13 years agoramips: rt305x: register the dwc_otg device on the relevant boards
Gabor Juhos [Mon, 15 Aug 2011 14:11:52 +0000 (14:11 +0000)]
ramips: rt305x: register the dwc_otg device on the relevant boards

SVN-Revision: 27996

13 years agoramips: rt305x: add dwc_otg platform device
Gabor Juhos [Mon, 15 Aug 2011 14:11:51 +0000 (14:11 +0000)]
ramips: rt305x: add dwc_otg platform device

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 27995

13 years agobutton-hotplug: add autoload feature
Gabor Juhos [Mon, 15 Aug 2011 14:11:49 +0000 (14:11 +0000)]
button-hotplug: add autoload feature

Reported-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27994

13 years agoramips: sync kernel config
Gabor Juhos [Mon, 15 Aug 2011 14:11:48 +0000 (14:11 +0000)]
ramips: sync kernel config

SVN-Revision: 27993

13 years agoramips: load the input drivers during preinit
Gabor Juhos [Mon, 15 Aug 2011 14:11:47 +0000 (14:11 +0000)]
ramips: load the input drivers during preinit

SVN-Revision: 27992

13 years agoramips: add support for Argus ATP-52B
Gabor Juhos [Mon, 15 Aug 2011 14:11:45 +0000 (14:11 +0000)]
ramips: add support for Argus ATP-52B

[The ESW related changes has been removed - juhosg]

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 27991

13 years agoramips: allow to specify port layout for the switch of the RT305x/RT3350
Gabor Juhos [Mon, 15 Aug 2011 14:11:43 +0000 (14:11 +0000)]
ramips: allow to specify port layout for the switch of the RT305x/RT3350

Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27990

13 years agogeneric: ar8216: add support for get link status
Gabor Juhos [Mon, 15 Aug 2011 14:11:41 +0000 (14:11 +0000)]
generic: ar8216: add support for get link status

SVN-Revision: 27989

13 years agokernel: remove kmod-input-core just for some x86 profiles.
Hauke Mehrtens [Mon, 15 Aug 2011 11:05:35 +0000 (11:05 +0000)]
kernel: remove kmod-input-core just for some x86 profiles.

Not all x86 profiles have CONFIG_INPUT=y in their configuration. Just remove kmod-input-core for them.

Thank you Philip Prindeville for pointing out this problem.

SVN-Revision: 27988

13 years agokernel: disable cfi cmdset 0002 erase suspend
Felix Fietkau [Mon, 15 Aug 2011 00:15:36 +0000 (00:15 +0000)]
kernel: disable cfi cmdset 0002 erase suspend

on some platforms, erase suspend leads to data corruption and lockups when write
ops collide with erase ops. this has been observed on the buffalo wzr-hp-g300nh.
rather than play whack-a-mole with a hard to reproduce issue on a variety of devices,
simply disable erase suspend, as it will usually not produce any useful gain on
the small filesystems used on embedded hardware.

SVN-Revision: 27984

13 years agopackage/kernel: kmod-hid: can't mix and match DEPENDS:= and $(call SetDepends/...)
Jonas Gorski [Sun, 14 Aug 2011 23:36:45 +0000 (23:36 +0000)]
package/kernel: kmod-hid: can't mix and match DEPENDS:= and $(call SetDepends/...)

Since the SetDepends macro does a:

  DEPENDS:= ...

it can't be used after setting DEPENDS:= explicitly, or it will clobber the previous value.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27983

13 years agopackage/kernel: Fix AddDepends/SetDepends calls with make 3.82
Jonas Gorski [Sun, 14 Aug 2011 23:36:42 +0000 (23:36 +0000)]
package/kernel: Fix AddDepends/SetDepends calls with make 3.82

The module definitions depend on 001-depends.mk being the first included,
but make 3.82 does not sort the results of wildcards anymore, so do an
explicit sort of the includes.

Found by Philip Prindeville, thanks!

SVN-Revision: 27982

13 years agofirewall: further tune ICMPv6 default rules according to RFC4890 (#9893)
Jo-Philipp Wich [Sun, 14 Aug 2011 00:33:29 +0000 (00:33 +0000)]
firewall: further tune ICMPv6 default rules according to RFC4890 (#9893)

SVN-Revision: 27979

13 years agomac80211: use first available channel from current phy if channel is set to "auto"
Jo-Philipp Wich [Sat, 13 Aug 2011 22:55:59 +0000 (22:55 +0000)]
mac80211: use first available channel from current phy if channel is set to "auto"

SVN-Revision: 27976

13 years agoar71xx: add some code to detect DMA stuck conditions on ar7240
Felix Fietkau [Sat, 13 Aug 2011 22:30:14 +0000 (22:30 +0000)]
ar71xx: add some code to detect DMA stuck conditions on ar7240

SVN-Revision: 27975

13 years agoar71xx: on ar724x only reset the link status in the restart handler, the fast reset...
Felix Fietkau [Sat, 13 Aug 2011 21:49:46 +0000 (21:49 +0000)]
ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues

SVN-Revision: 27973

13 years agoath9k: merge a few more pending fixes, including a fix for the bogus WARN_ON in pci...
Felix Fietkau [Sat, 13 Aug 2011 16:25:15 +0000 (16:25 +0000)]
ath9k: merge a few more pending fixes, including a fix for the bogus WARN_ON in pci.c and fixes for Rx DMA stop issues

SVN-Revision: 27972

13 years agocrda: update regulatory database to 2011-04-28, adds fixes for NL (#9931)
Felix Fietkau [Sat, 13 Aug 2011 14:07:01 +0000 (14:07 +0000)]
crda: update regulatory database to 2011-04-28, adds fixes for NL (#9931)

SVN-Revision: 27970

13 years agoinclude/site: add powerpc-openwrt-linux-*spe sitefiles for mpc85xx
Felix Fietkau [Fri, 12 Aug 2011 19:34:20 +0000 (19:34 +0000)]
include/site: add powerpc-openwrt-linux-*spe sitefiles for mpc85xx

SVN-Revision: 27969

13 years agolibubox: update to fix a compile error
Felix Fietkau [Fri, 12 Aug 2011 17:15:22 +0000 (17:15 +0000)]
libubox: update to fix a compile error

SVN-Revision: 27968

13 years agobrcm47xx: fix flash detection on chipcommon less devices.
Hauke Mehrtens [Fri, 12 Aug 2011 16:37:22 +0000 (16:37 +0000)]
brcm47xx: fix flash detection on chipcommon less devices.

This closes #9906
Thank you for the report Kim

SVN-Revision: 27967

13 years agobase-files: fix arp() procedure to properly detect /usr/bin/arp
Jo-Philipp Wich [Fri, 12 Aug 2011 14:34:39 +0000 (14:34 +0000)]
base-files: fix arp() procedure to properly detect /usr/bin/arp

SVN-Revision: 27965

13 years agoupdate libubox and ubus to latest, libubox now includes jshn
Felix Fietkau [Thu, 11 Aug 2011 22:09:11 +0000 (22:09 +0000)]
update libubox and ubus to latest, libubox now includes jshn

SVN-Revision: 27963

13 years agoiptables: drop iptables-utils and ip6tables-utils, ship needed symlinks in iptables...
Jo-Philipp Wich [Thu, 11 Aug 2011 21:26:44 +0000 (21:26 +0000)]
iptables: drop iptables-utils and ip6tables-utils, ship needed symlinks in iptables and ip6tables packages (#9691)

SVN-Revision: 27961

13 years agoinitramfs: allow preinit to enable switching from initramfs to tmpfs to allow overlay...
Felix Fietkau [Thu, 11 Aug 2011 20:32:57 +0000 (20:32 +0000)]
initramfs: allow preinit to enable switching from initramfs to tmpfs to allow overlayfs to be mounted on top of it

SVN-Revision: 27960

13 years agoar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout...
Felix Fietkau [Thu, 11 Aug 2011 13:52:40 +0000 (13:52 +0000)]
ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout (fixes #9922)

SVN-Revision: 27959

13 years agomac80211: update to 2011-08-10
Felix Fietkau [Thu, 11 Aug 2011 13:52:27 +0000 (13:52 +0000)]
mac80211: update to 2011-08-10

SVN-Revision: 27958

13 years agopackage more board specific modules:
Florian Fainelli [Thu, 11 Aug 2011 11:18:44 +0000 (11:18 +0000)]
package more board specific modules:

- keyboard matrix driver
- SoC sound support

based on patch by KanjiMonster

SVN-Revision: 27957

13 years agoadd more missing touchscren symbols (3.0+)
Florian Fainelli [Thu, 11 Aug 2011 11:18:41 +0000 (11:18 +0000)]
add more missing touchscren symbols (3.0+)

SVN-Revision: 27956

13 years agodisable hardware perf support to work in qemu
Florian Fainelli [Thu, 11 Aug 2011 11:18:37 +0000 (11:18 +0000)]
disable hardware perf support to work in qemu

SVN-Revision: 27955

13 years agokernel: revert r27953
Hauke Mehrtens [Thu, 11 Aug 2011 09:54:02 +0000 (09:54 +0000)]
kernel: revert r27953

KanjiMonster did the right patch, I was just confused because of linux-3.0 and linux-2.6.30

SVN-Revision: 27954

13 years agokernel: fix ocf patch for kernel 2.6.30
Hauke Mehrtens [Thu, 11 Aug 2011 09:47:36 +0000 (09:47 +0000)]
kernel: fix ocf patch for kernel 2.6.30

find_task_by_vpid is already exported by the kernel without any patches needed.

SVN-Revision: 27953

13 years agokernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF
Jonas Gorski [Thu, 11 Aug 2011 09:46:30 +0000 (09:46 +0000)]
kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF

find_task_by_vpid is already exported, thus breaking builds.

SVN-Revision: 27952

13 years agoar71xx: make ehci patch apply again
Jonas Gorski [Wed, 10 Aug 2011 23:02:56 +0000 (23:02 +0000)]
ar71xx: make ehci patch apply again

SVN-Revision: 27951

13 years agoar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images (...
Felix Fietkau [Wed, 10 Aug 2011 22:24:56 +0000 (22:24 +0000)]
ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images (#9918)

SVN-Revision: 27950

13 years agoath9k: add a regdomain code used on newer ubiquiti networks devices
Felix Fietkau [Wed, 10 Aug 2011 16:35:43 +0000 (16:35 +0000)]
ath9k: add a regdomain code used on newer ubiquiti networks devices

SVN-Revision: 27947

13 years agofix ehci build on 3.0+
Florian Fainelli [Wed, 10 Aug 2011 11:37:25 +0000 (11:37 +0000)]
fix ehci build on 3.0+

SVN-Revision: 27946

13 years agoadd ignore_oc in struct ehci_hcd
Florian Fainelli [Wed, 10 Aug 2011 11:37:21 +0000 (11:37 +0000)]
add ignore_oc in struct ehci_hcd

SVN-Revision: 27945

13 years agoupdate to 3.0.1
Florian Fainelli [Tue, 9 Aug 2011 13:13:22 +0000 (13:13 +0000)]
update to 3.0.1

SVN-Revision: 27943

13 years agoadd CONFIG_EARLY_PRINTK
Florian Fainelli [Tue, 9 Aug 2011 13:13:16 +0000 (13:13 +0000)]
add CONFIG_EARLY_PRINTK

SVN-Revision: 27942

13 years agobcm63xx: add support for linux 3.1-rc1
Jonas Gorski [Tue, 9 Aug 2011 12:19:49 +0000 (12:19 +0000)]
bcm63xx: add support for linux 3.1-rc1

SVN-Revision: 27941

13 years agolinux: generic: add support for 3.1-rc1
Jonas Gorski [Tue, 9 Aug 2011 12:19:43 +0000 (12:19 +0000)]
linux: generic: add support for 3.1-rc1

SVN-Revision: 27940

13 years agoinclude/kernel.mk: fix download path for linux 3.x
Jonas Gorski [Tue, 9 Aug 2011 12:19:38 +0000 (12:19 +0000)]
include/kernel.mk: fix download path for linux 3.x

SVN-Revision: 27939

13 years agopackage/acx: mark as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:36 +0000 (12:19 +0000)]
package/acx: mark as broken for linux 3.1

SVN-Revision: 27938

13 years agopackage/madwifi: mark as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:34 +0000 (12:19 +0000)]
package/madwifi: mark as broken for linux 3.1

Madwifi does not compile because of VLAN API changes.

SVN-Revision: 27937

13 years agopackage/kernel: Mark mvswitch as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:32 +0000 (12:19 +0000)]
package/kernel: Mark mvswitch as broken for linux 3.1

mvswitch does not compile because of VLAN API changes.

SVN-Revision: 27936

13 years agopackage/mac80211: mark as broken for linux 3.1
Jonas Gorski [Tue, 9 Aug 2011 12:19:30 +0000 (12:19 +0000)]
package/mac80211: mark as broken for linux 3.1

compat-wireless does not support 3.1 yet.

SVN-Revision: 27935

13 years agopackage/kernel: invert dependencies for current kernel features
Jonas Gorski [Tue, 9 Aug 2011 12:19:27 +0000 (12:19 +0000)]
package/kernel: invert dependencies for current kernel features

Instead of depending on new kernel versions, depend on not having one
of the older ones (or vice versa for modules removed in current kernels).

SVN-Revision: 27934

13 years agob43: fix reloading config settings after channel changes or hostapd restart (#8033)
Felix Fietkau [Mon, 8 Aug 2011 11:28:24 +0000 (11:28 +0000)]
b43: fix reloading config settings after channel changes or hostapd restart (#8033)

SVN-Revision: 27930

13 years agoAdd packages that will be relant as "There's a new Alix platform driver hitting linux...
Daniel Dickinson [Mon, 8 Aug 2011 02:33:18 +0000 (02:33 +0000)]
Add packages that will be relant as "There's a new Alix platform driver hitting linux-next upstream. Get ready for it in 2.6.39.4 and 3.0.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>"
SVN-Revision: 27929

13 years agokernel: fix another typo in the netfilter optimization patches
Felix Fietkau [Sun, 7 Aug 2011 21:17:18 +0000 (21:17 +0000)]
kernel: fix another typo in the netfilter optimization patches

SVN-Revision: 27927

13 years agomac80211: always store broadcom firmware in b43 and b43legacy dir
Hauke Mehrtens [Sat, 6 Aug 2011 17:07:42 +0000 (17:07 +0000)]
mac80211: always store broadcom firmware in b43 and b43legacy dir

This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897

SVN-Revision: 27926

13 years agokernel: add missing option
Hauke Mehrtens [Sat, 6 Aug 2011 16:46:04 +0000 (16:46 +0000)]
kernel: add missing option

SVN-Revision: 27925

13 years agokernel: typo in cs5535 and cs5536 pata driver kernel definitions
Hauke Mehrtens [Sat, 6 Aug 2011 16:44:10 +0000 (16:44 +0000)]
kernel: typo in cs5535 and cs5536 pata driver kernel definitions

closes #9773

SVN-Revision: 27924

13 years agokernel: add missing checks in the netfilter optimization patch which broke some rules...
Felix Fietkau [Sat, 6 Aug 2011 12:39:31 +0000 (12:39 +0000)]
kernel: add missing checks in the netfilter optimization patch which broke some rules containing only source/destination address checks

SVN-Revision: 27923

13 years agouml: add some missing options
Hauke Mehrtens [Sat, 6 Aug 2011 11:23:45 +0000 (11:23 +0000)]
uml: add some missing options

SVN-Revision: 27921

13 years agokernel: add some missing config options
Hauke Mehrtens [Sat, 6 Aug 2011 10:41:15 +0000 (10:41 +0000)]
kernel: add some missing config options

These options where found by buildbot

SVN-Revision: 27920

13 years agobinutils: add binutils 2.21.1
Hauke Mehrtens [Sat, 6 Aug 2011 09:53:58 +0000 (09:53 +0000)]
binutils: add binutils 2.21.1

SVN-Revision: 27919

13 years agokernel: update to kernel version 3.0.1
Hauke Mehrtens [Sat, 6 Aug 2011 09:51:55 +0000 (09:51 +0000)]
kernel: update to kernel version 3.0.1

SVN-Revision: 27918

13 years agomkimage/getline.h - Mac OS X 10.7 (Lion) fix
Lars-Peter Clausen [Fri, 5 Aug 2011 16:53:43 +0000 (16:53 +0000)]
mkimage/getline.h - Mac OS X 10.7 (Lion) fix

This mends mkimage for getline() in Mac OS X 10.7.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>
SVN-Revision: 27917

13 years agohost/include/getline.h - Mac OS X 10.7 (Lion) fix
Lars-Peter Clausen [Fri, 5 Aug 2011 16:52:46 +0000 (16:52 +0000)]
host/include/getline.h - Mac OS X 10.7 (Lion) fix

Apple has finally updated their version of Libc, and it now includes getline(). \o/

The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The one
caveat is, the includes (at least stdio.h) are needed before the #ifdef so that
__DARWIN_C_LEVEL could be properly defined (it is not a compiler built-in define
like __linux__ or __APPLE__).

This one fixes the host/include/getline.h. The next patch will mend the mkimage
package.

Signed-off-by: Joe Roback <openwrt-devel at roback.cc>
SVN-Revision: 27916

13 years agokernel-headers: fix compile error caused by wrong host include path when the toolchai...
Felix Fietkau [Fri, 5 Aug 2011 16:39:04 +0000 (16:39 +0000)]
kernel-headers: fix compile error caused by wrong host include path when the toolchain is already built

SVN-Revision: 27915

13 years agoupdate to kernel 3.0
Florian Fainelli [Fri, 5 Aug 2011 13:48:42 +0000 (13:48 +0000)]
update to kernel 3.0

SVN-Revision: 27912

13 years agoadd more missing config symbols
Florian Fainelli [Fri, 5 Aug 2011 13:48:38 +0000 (13:48 +0000)]
add more missing config symbols

SVN-Revision: 27911

13 years agoupdate to kernel 3.0
Florian Fainelli [Fri, 5 Aug 2011 13:48:35 +0000 (13:48 +0000)]
update to kernel 3.0

SVN-Revision: 27910

13 years agoadd 101-perf_arm_uclibc.patch to 3.0 patches
Florian Fainelli [Fri, 5 Aug 2011 13:48:31 +0000 (13:48 +0000)]
add 101-perf_arm_uclibc.patch to 3.0 patches

SVN-Revision: 27909

13 years agoadd missing config symbol
Florian Fainelli [Fri, 5 Aug 2011 13:48:28 +0000 (13:48 +0000)]
add missing config symbol

SVN-Revision: 27908

13 years agoar71xx: fix image generation
Gabor Juhos [Fri, 5 Aug 2011 10:31:52 +0000 (10:31 +0000)]
ar71xx: fix image generation

SVN-Revision: 27907

13 years agobrcm47xx: use kernel 3.0
Hauke Mehrtens [Thu, 4 Aug 2011 20:10:24 +0000 (20:10 +0000)]
brcm47xx: use kernel 3.0

As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.

SVN-Revision: 27906

13 years agobroadcom-diag: add support for bcma
Hauke Mehrtens [Thu, 4 Aug 2011 20:08:57 +0000 (20:08 +0000)]
broadcom-diag: add support for bcma

SVN-Revision: 27905

13 years agoswitch: update for brcm47xx target
Hauke Mehrtens [Thu, 4 Aug 2011 20:07:58 +0000 (20:07 +0000)]
switch: update for brcm47xx target

* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904

13 years agortc-rv5c386a: add support for kernel 3.0
Hauke Mehrtens [Thu, 4 Aug 2011 20:06:17 +0000 (20:06 +0000)]
rtc-rv5c386a: add support for kernel 3.0

remove BKL and adds support for changes in bcm47xx code

SVN-Revision: 27903

13 years agobrcm47xx: update patches
Hauke Mehrtens [Thu, 4 Aug 2011 20:04:54 +0000 (20:04 +0000)]
brcm47xx: update patches

* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902

13 years agoar71xx: enable sysupgrade on the AP96 and DB120 boards
Gabor Juhos [Thu, 4 Aug 2011 19:41:18 +0000 (19:41 +0000)]
ar71xx: enable sysupgrade on the AP96 and DB120 boards

SVN-Revision: 27901

13 years agoar71xx: use the same test for AP121 and Zcomax sysupgrade images
Gabor Juhos [Thu, 4 Aug 2011 19:41:17 +0000 (19:41 +0000)]
ar71xx: use the same test for AP121 and Zcomax sysupgrade images

SVN-Revision: 27900

13 years agoar71xx: cleanup image generation Makefile
Gabor Juhos [Thu, 4 Aug 2011 19:41:16 +0000 (19:41 +0000)]
ar71xx: cleanup image generation Makefile

SVN-Revision: 27899

13 years agoar71xx: fix ethernet FIFO state corruption on ar7240
Felix Fietkau [Thu, 4 Aug 2011 17:36:31 +0000 (17:36 +0000)]
ar71xx: fix ethernet FIFO state corruption on ar7240

When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

SVN-Revision: 27896

13 years agoag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
Felix Fietkau [Thu, 4 Aug 2011 17:36:27 +0000 (17:36 +0000)]
ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop

When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

SVN-Revision: 27895

13 years agoar71xx: fix MAC/MDIO reset mask handling
Felix Fietkau [Thu, 4 Aug 2011 17:36:23 +0000 (17:36 +0000)]
ar71xx: fix MAC/MDIO reset mask handling

SVN-Revision: 27894

13 years agoath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
Felix Fietkau [Thu, 4 Aug 2011 09:23:57 +0000 (09:23 +0000)]
ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)

SVN-Revision: 27891

13 years agoath9k: add some code to control internal driver queue length limits
Felix Fietkau [Thu, 4 Aug 2011 00:35:20 +0000 (00:35 +0000)]
ath9k: add some code to control internal driver queue length limits

SVN-Revision: 27890

13 years agoath9k: reduce the number of software retries, include hardware a-mpdu retries in...
Felix Fietkau [Thu, 4 Aug 2011 00:35:16 +0000 (00:35 +0000)]
ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting

SVN-Revision: 27889

13 years agoath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer...
Felix Fietkau [Thu, 4 Aug 2011 00:35:12 +0000 (00:35 +0000)]
ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes

SVN-Revision: 27888

13 years agogeneric: Add missing config symbol
Jonas Gorski [Wed, 3 Aug 2011 23:28:00 +0000 (23:28 +0000)]
generic: Add missing config symbol

SVN-Revision: 27887

13 years agoremove 8*1-usb_serial_endpoint_size.patch
Florian Fainelli [Wed, 3 Aug 2011 13:23:21 +0000 (13:23 +0000)]
remove 8*1-usb_serial_endpoint_size.patch

This is breaking some devices out there such as Winchiphead CH341 adapters (#9601)

SVN-Revision: 27885

13 years agotoolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*
Jonas Gorski [Tue, 2 Aug 2011 23:32:44 +0000 (23:32 +0000)]
toolchain/uClibc: Make sure there's always a UCLIBC_VERSION_*

UCLIBC_VERSION_* was only defined when toolchain options was enabled,
breaking packages depending on (not) having certain uClibc versions.

SVN-Revision: 27882

13 years agoadd support for BCM6345 Ethernet DMA engine
Florian Fainelli [Tue, 2 Aug 2011 18:55:55 +0000 (18:55 +0000)]
add support for BCM6345 Ethernet DMA engine

SVN-Revision: 27881

13 years agoimprove BCM6345 support
Florian Fainelli [Tue, 2 Aug 2011 18:55:46 +0000 (18:55 +0000)]
improve BCM6345 support

- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

SVN-Revision: 27880

13 years agorefresh 3.0 patches
Florian Fainelli [Tue, 2 Aug 2011 18:55:38 +0000 (18:55 +0000)]
refresh 3.0 patches

SVN-Revision: 27879

13 years agoar71xx: add some hacks to work around the misalignment in IP packets received on...
Felix Fietkau [Tue, 2 Aug 2011 15:12:08 +0000 (15:12 +0000)]
ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%

SVN-Revision: 27878

13 years agofix r6040 multicast patch, thanks nicolas le falher
Florian Fainelli [Tue, 2 Aug 2011 14:13:00 +0000 (14:13 +0000)]
fix r6040 multicast patch, thanks nicolas le falher

SVN-Revision: 27876

13 years agolinux/generic: remove obsolete kernel options from 3.0
Jonas Gorski [Tue, 2 Aug 2011 09:58:16 +0000 (09:58 +0000)]
linux/generic: remove obsolete kernel options from 3.0

Also fix one typo.

SVN-Revision: 27875

13 years agokernel: Fix firewire for 2.6.37+
Jonas Gorski [Tue, 2 Aug 2011 09:53:19 +0000 (09:53 +0000)]
kernel: Fix firewire for 2.6.37+

The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874

13 years agoimagebuilder: clean opkg files if requested (patch from #9866)
Felix Fietkau [Mon, 1 Aug 2011 23:58:11 +0000 (23:58 +0000)]
imagebuilder: clean opkg files if requested (patch from #9866)

SVN-Revision: 27872