openwrt/staging/jogo.git
12 years agoprereq-build.mk: do not perform static linking tests on Darwin
Jo-Philipp Wich [Sun, 12 Aug 2012 12:34:28 +0000 (12:34 +0000)]
prereq-build.mk: do not perform static linking tests on Darwin

SVN-Revision: 33139

12 years agohost-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on...
Jo-Philipp Wich [Sun, 12 Aug 2012 12:34:25 +0000 (12:34 +0000)]
host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems

SVN-Revision: 33138

12 years agogeneric: use __meminit annotation for crashlog_init_memblock
Gabor Juhos [Sun, 12 Aug 2012 10:30:41 +0000 (10:30 +0000)]
generic: use __meminit annotation for crashlog_init_memblock

Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

SVN-Revision: 33137

12 years agonetifd: bump to git head, userspace routes are installed with RTPROT_STATIC from...
Jo-Philipp Wich [Sat, 11 Aug 2012 16:07:36 +0000 (16:07 +0000)]
netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on

SVN-Revision: 33132

12 years agoonly support 128KiB erase block sizes
Florian Fainelli [Sat, 11 Aug 2012 12:56:09 +0000 (12:56 +0000)]
only support 128KiB erase block sizes

SVN-Revision: 33131

12 years agodisable PCI support
Florian Fainelli [Sat, 11 Aug 2012 12:56:00 +0000 (12:56 +0000)]
disable PCI support

None of the boards we support have PCI connectors

SVN-Revision: 33130

12 years agostrip a bit more the kernel config
Florian Fainelli [Sat, 11 Aug 2012 12:55:51 +0000 (12:55 +0000)]
strip a bit more the kernel config

SVN-Revision: 33129

12 years agoproperly advertise OHCI and EHCI capabilities
Florian Fainelli [Sat, 11 Aug 2012 12:55:41 +0000 (12:55 +0000)]
properly advertise OHCI and EHCI capabilities

SVN-Revision: 33128

12 years agochange partition names to be more in line with other OpenWrt devices
Florian Fainelli [Sat, 11 Aug 2012 12:55:30 +0000 (12:55 +0000)]
change partition names to be more in line with other OpenWrt devices

SVN-Revision: 33127

12 years agogenerate upgrade files suffixed with filesystem type
Florian Fainelli [Sat, 11 Aug 2012 12:55:15 +0000 (12:55 +0000)]
generate upgrade files suffixed with filesystem type

SVN-Revision: 33126

12 years ago6rd: missing config option `ipaddr`.
Jo-Philipp Wich [Sat, 11 Aug 2012 00:25:23 +0000 (00:25 +0000)]
6rd: missing config option `ipaddr`.

This option is necessary when configuring 6rd behind NAT.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
SVN-Revision: 33123

12 years agoadd remaining missing build prereq checks
Jo-Philipp Wich [Sat, 11 Aug 2012 00:05:18 +0000 (00:05 +0000)]
add remaining missing build prereq checks

SVN-Revision: 33122

12 years agoadd a build preeq check for glibc-static
Jo-Philipp Wich [Fri, 10 Aug 2012 23:35:20 +0000 (23:35 +0000)]
add a build preeq check for glibc-static

SVN-Revision: 33121

12 years agosed: disable further SELinux features
Jo-Philipp Wich [Fri, 10 Aug 2012 22:38:09 +0000 (22:38 +0000)]
sed: disable further SELinux features

SVN-Revision: 33120

12 years agosed: unconditionally disable SELinux, NLS and ACL support (#12007)
Jo-Philipp Wich [Fri, 10 Aug 2012 21:41:44 +0000 (21:41 +0000)]
sed: unconditionally disable SELinux, NLS and ACL support (#12007)

SVN-Revision: 33119

12 years agoRevert "[tools] cmake: link statically"
Jo-Philipp Wich [Fri, 10 Aug 2012 21:25:45 +0000 (21:25 +0000)]
Revert "[tools] cmake: link statically"

Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking.

SVN-Revision: 33118

12 years agofirmware-utils: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:08 +0000 (19:27 +0000)]
firmware-utils: link statically

SVN-Revision: 33117

12 years agoe2fsprogs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:07 +0000 (19:27 +0000)]
e2fsprogs: link statically

SVN-Revision: 33116

12 years agodosfstools: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:06 +0000 (19:27 +0000)]
dosfstools: link statically

SVN-Revision: 33115

12 years agocmake: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:04 +0000 (19:27 +0000)]
cmake: link statically

SVN-Revision: 33114

12 years agoccache: fix compilation, link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:03 +0000 (19:27 +0000)]
ccache: fix compilation, link statically

SVN-Revision: 33113

12 years agoyaffs2: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:01 +0000 (19:27 +0000)]
yaffs2: link statically

SVN-Revision: 33112

12 years agoxz: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:27:00 +0000 (19:27 +0000)]
xz: link statically

SVN-Revision: 33111

12 years agowrt350nv2-builder: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:58 +0000 (19:26 +0000)]
wrt350nv2-builder: link statically

SVN-Revision: 33110

12 years agoupx: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:57 +0000 (19:26 +0000)]
upx: link statically

SVN-Revision: 33109

12 years agoupslug2: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:55 +0000 (19:26 +0000)]
upslug2: link statically

SVN-Revision: 33108

12 years agosstrip: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:54 +0000 (19:26 +0000)]
sstrip: link statically

SVN-Revision: 33107

12 years agosquashfs4: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:52 +0000 (19:26 +0000)]
squashfs4: link statically

SVN-Revision: 33106

12 years agosquashfs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:50 +0000 (19:26 +0000)]
squashfs: link statically

SVN-Revision: 33105

12 years agosdcc: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:49 +0000 (19:26 +0000)]
sdcc: link statically

SVN-Revision: 33104

12 years agoqemu: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:48 +0000 (19:26 +0000)]
qemu: link statically

SVN-Revision: 33103

12 years agopkg-config: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:46 +0000 (19:26 +0000)]
pkg-config: link statically

SVN-Revision: 33102

12 years agopatch-cmdline: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:45 +0000 (19:26 +0000)]
patch-cmdline: link statically

SVN-Revision: 33101

12 years agopadjffs2: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:43 +0000 (19:26 +0000)]
padjffs2: link statically

SVN-Revision: 33100

12 years agomtools: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:42 +0000 (19:26 +0000)]
mtools: link statically

SVN-Revision: 33099

12 years agomtd-utils: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:40 +0000 (19:26 +0000)]
mtd-utils: link statically

SVN-Revision: 33098

12 years agomklibs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:36 +0000 (19:26 +0000)]
mklibs: link statically

SVN-Revision: 33097

12 years agomkimage: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:34 +0000 (19:26 +0000)]
mkimage: link statically

SVN-Revision: 33096

12 years agom4: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:31 +0000 (19:26 +0000)]
m4: link statically

SVN-Revision: 33095

12 years agolzma: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:30 +0000 (19:26 +0000)]
lzma: link statically

SVN-Revision: 33094

12 years agogenext2fs: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:28 +0000 (19:26 +0000)]
genext2fs: link statically

SVN-Revision: 33093

12 years agoflock: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:26 +0000 (19:26 +0000)]
flock: link statically

SVN-Revision: 33092

12 years agoflex: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:24 +0000 (19:26 +0000)]
flex: link statically

SVN-Revision: 33091

12 years agobison: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:19 +0000 (19:26 +0000)]
bison: link statically

SVN-Revision: 33090

12 years agosed: link statically
Jo-Philipp Wich [Fri, 10 Aug 2012 19:26:17 +0000 (19:26 +0000)]
sed: link statically

SVN-Revision: 33089

12 years agoremove duplicate HOSTCC_NOCACHE
John Crispin [Fri, 10 Aug 2012 19:07:03 +0000 (19:07 +0000)]
remove duplicate HOSTCC_NOCACHE

SVN-Revision: 33088

12 years agofix ccache build
John Crispin [Fri, 10 Aug 2012 19:05:22 +0000 (19:05 +0000)]
fix ccache build

SVN-Revision: 33087

12 years agomove LIB_SUFFIX from base-files to rules.mk
Florian Fainelli [Fri, 10 Aug 2012 14:15:06 +0000 (14:15 +0000)]
move LIB_SUFFIX from base-files to rules.mk

Some packages are going to need fixups based on LIB_SUFFIX

SVN-Revision: 33080

12 years agonuport-mac: delay call to napi_start() until fully able to process RX
Florian Fainelli [Fri, 10 Aug 2012 07:04:21 +0000 (07:04 +0000)]
nuport-mac: delay call to napi_start() until fully able to process RX

SVN-Revision: 33079

12 years agoset a compatible command-line to boot from flash
Florian Fainelli [Fri, 10 Aug 2012 07:04:16 +0000 (07:04 +0000)]
set a compatible command-line to boot from flash

SVN-Revision: 33078

12 years agogeneric: rtl8366_smi: increase delay after switch hw reset
Gabor Juhos [Fri, 10 Aug 2012 06:32:00 +0000 (06:32 +0000)]
generic: rtl8366_smi: increase delay after switch hw reset

SVN-Revision: 33077

12 years agonetifd: call "wifi down" before "wifi up"
Jo-Philipp Wich [Thu, 9 Aug 2012 22:44:52 +0000 (22:44 +0000)]
netifd: call "wifi down" before "wifi up"

When the underlying /etc/config/wireless got changed since the last "wifi up"
has been performed, the uci vap ifname state vars become inconsistent on a
subsequent "wifi up" and multiple vaps get mapped to the same ifnames which
confuses the gui and other processes relying on them.

For now call an explicit "wifi down" prior to each "wifi up" which will clear
up the state accordingly.

SVN-Revision: 33076

12 years agobase-files: fix option parsing of -F/--force parameter
Jo-Philipp Wich [Thu, 9 Aug 2012 18:30:47 +0000 (18:30 +0000)]
base-files: fix option parsing of -F/--force parameter

SVN-Revision: 33075

12 years agopackage: linux-atm: br2684ct: fix nas interface bringup on boot
Jonas Gorski [Thu, 9 Aug 2012 13:13:26 +0000 (13:13 +0000)]
package: linux-atm: br2684ct: fix nas interface bringup on boot

Give nas interface time to setup them selves before configuring them.
Should fix #11826.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 33074

12 years agoFix hard reset of alix/soekris hardware under heavy NIC load
Jo-Philipp Wich [Thu, 9 Aug 2012 09:41:22 +0000 (09:41 +0000)]
Fix hard reset of alix/soekris hardware under heavy NIC load

The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>
SVN-Revision: 33072

12 years agonuport-mac: use dma_mapping_error() instead of checking pointers
Florian Fainelli [Thu, 9 Aug 2012 09:06:35 +0000 (09:06 +0000)]
nuport-mac: use dma_mapping_error() instead of checking pointers

Thanks Gabor for spotting this

SVN-Revision: 33071

12 years agonuport-mac: rework PHY interrupt configuration to avoid races
Florian Fainelli [Wed, 8 Aug 2012 21:51:18 +0000 (21:51 +0000)]
nuport-mac: rework PHY interrupt configuration to avoid races

SVN-Revision: 33070

12 years agonuport-mac: close possible race condition during start
Florian Fainelli [Wed, 8 Aug 2012 21:51:13 +0000 (21:51 +0000)]
nuport-mac: close possible race condition during start

SVN-Revision: 33069

12 years agonuport-mac: unmap the DMA buffer when closing device
Florian Fainelli [Wed, 8 Aug 2012 21:51:09 +0000 (21:51 +0000)]
nuport-mac: unmap the DMA buffer when closing device

SVN-Revision: 33068

12 years agonuport-mac: check dma_map_single address return values
Florian Fainelli [Wed, 8 Aug 2012 21:51:04 +0000 (21:51 +0000)]
nuport-mac: check dma_map_single address return values

SVN-Revision: 33067

12 years agobuild a Devolo dLAN USB Extender specific image
Florian Fainelli [Wed, 8 Aug 2012 21:51:00 +0000 (21:51 +0000)]
build a Devolo dLAN USB Extender specific image

The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066

12 years agocleanup image generation
Florian Fainelli [Wed, 8 Aug 2012 21:50:55 +0000 (21:50 +0000)]
cleanup image generation

SVN-Revision: 33065

12 years agoath9k: fix handling of decryption errors, should improve link stability
Felix Fietkau [Wed, 8 Aug 2012 18:23:04 +0000 (18:23 +0000)]
ath9k: fix handling of decryption errors, should improve link stability

SVN-Revision: 33063

12 years agoath5k: revert a buggy tx power related patch
Felix Fietkau [Wed, 8 Aug 2012 18:23:00 +0000 (18:23 +0000)]
ath5k: revert a buggy tx power related patch

SVN-Revision: 33062

12 years agobase-files: check for ldd presence and executability (#11991)
Florian Fainelli [Wed, 8 Aug 2012 15:37:34 +0000 (15:37 +0000)]
base-files: check for ldd presence and executability (#11991)

SVN-Revision: 33057

12 years agoath9k: fix hang issues on hw reset caused by interrupt storms
Felix Fietkau [Wed, 8 Aug 2012 12:56:44 +0000 (12:56 +0000)]
ath9k: fix hang issues on hw reset caused by interrupt storms

SVN-Revision: 33055

12 years agopci gpio mapping
John Crispin [Wed, 8 Aug 2012 12:14:43 +0000 (12:14 +0000)]
pci gpio mapping

This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card.

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

12 years agohostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
Jo-Philipp Wich [Wed, 8 Aug 2012 11:13:12 +0000 (11:13 +0000)]
hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)

SVN-Revision: 33053

12 years agobusybox: support V=c toplevel verboseness flag (#11799)
Florian Fainelli [Tue, 7 Aug 2012 16:08:11 +0000 (16:08 +0000)]
busybox: support V=c toplevel verboseness flag (#11799)

Signed-off-by: Gregory M. Turner <gmt@malth.us>
SVN-Revision: 33035

12 years agow1-gpio-custom: set enable_external_pullup to null (#8952)
Florian Fainelli [Tue, 7 Aug 2012 16:08:08 +0000 (16:08 +0000)]
w1-gpio-custom: set enable_external_pullup to null (#8952)

SVN-Revision: 33034

12 years agoath9k: completely disable the MIB interrupt from the interrupt mask register to preve...
Felix Fietkau [Tue, 7 Aug 2012 09:36:24 +0000 (09:36 +0000)]
ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms

SVN-Revision: 33032

12 years agoath9k: extend and enable PA predistortion
Felix Fietkau [Mon, 6 Aug 2012 22:11:30 +0000 (22:11 +0000)]
ath9k: extend and enable PA predistortion

SVN-Revision: 33031

12 years agomac80211: do not delete linux/*_platform.h, they are touched by patches. instead...
Felix Fietkau [Mon, 6 Aug 2012 20:18:07 +0000 (20:18 +0000)]
mac80211: do not delete linux/*_platform.h, they are touched by patches. instead make the build fail if they differ from the ones in the kernel tree to prevent subtle runtime issues (see #11981)

SVN-Revision: 33030

12 years agofixes tapi dependencies
John Crispin [Mon, 6 Aug 2012 18:56:38 +0000 (18:56 +0000)]
fixes tapi dependencies

SVN-Revision: 33029

12 years agofixes package description
John Crispin [Mon, 6 Aug 2012 18:54:36 +0000 (18:54 +0000)]
fixes package description

SVN-Revision: 33028

12 years agoath5k: add various pending tx power fixes, vastly improves stability and performance...
Felix Fietkau [Mon, 6 Aug 2012 15:33:24 +0000 (15:33 +0000)]
ath5k: add various pending tx power fixes, vastly improves stability and performance with various cards

SVN-Revision: 33014

12 years agomac80211: remove header files used to share struct with platform code.
Hauke Mehrtens [Sun, 5 Aug 2012 23:43:36 +0000 (23:43 +0000)]
mac80211: remove header files used to share struct with platform code.

The structs defined in these header files should be the same as the
structes used by the platform code otherwise it will cause strange
runtime errors. By removing them from compat-wireless we will get a
compile error instead of a runtime error if they are out of sync.

SVN-Revision: 33006

12 years agobcm63xx: fix USB base registers and IRQs for BCM6328
Jonas Gorski [Sun, 5 Aug 2012 23:18:22 +0000 (23:18 +0000)]
bcm63xx: fix USB base registers and IRQs for BCM6328

SVN-Revision: 33005

12 years agoupdate tg3 driver
Hauke Mehrtens [Sun, 5 Aug 2012 20:27:40 +0000 (20:27 +0000)]
update tg3 driver

SVN-Revision: 33004

12 years agogenerate image for Linksys e3200
Hauke Mehrtens [Sun, 5 Aug 2012 13:14:00 +0000 (13:14 +0000)]
generate image for Linksys e3200

SVN-Revision: 33003

12 years agoswitch: clean up robo switch driver
Hauke Mehrtens [Sun, 5 Aug 2012 13:10:43 +0000 (13:10 +0000)]
switch: clean up robo switch driver

 * remove use_et, all supported drivers are using mii ioctls
 * remove robo.phy_addr, phy_addr was always set to ROBO_PHY_ADDR.
 * remove support for old kernel versions
 * do_ioctl is allways called with buff == NULL
 * use if_mii

SVN-Revision: 33002

12 years agobrcm47xx: update gpio patch
Hauke Mehrtens [Sun, 5 Aug 2012 12:40:05 +0000 (12:40 +0000)]
brcm47xx: update gpio patch

SVN-Revision: 33001

12 years agobrcm47xx: fix patch which moves the flash struct in wgt634u code
Hauke Mehrtens [Sun, 5 Aug 2012 12:39:15 +0000 (12:39 +0000)]
brcm47xx: fix patch which moves the flash struct in wgt634u code

SVN-Revision: 33000

12 years agofix xen pci module, partially fixes #11970
John Crispin [Sun, 5 Aug 2012 08:16:50 +0000 (08:16 +0000)]
fix xen pci module, partially fixes #11970

SVN-Revision: 32996

12 years agoW502V/ARV4525 wireless mac bugfix
John Crispin [Sat, 4 Aug 2012 20:14:52 +0000 (20:14 +0000)]
W502V/ARV4525 wireless mac bugfix

The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 32993

12 years agobrcm47xx: use libgpio instaed of implementing the gpio interface ourself.
Hauke Mehrtens [Sat, 4 Aug 2012 19:46:25 +0000 (19:46 +0000)]
brcm47xx: use libgpio instaed of implementing the gpio interface ourself.

SVN-Revision: 32992

12 years agogspca-sn9c20x.ko was not insmod'ed due to typo
John Crispin [Sat, 4 Aug 2012 19:17:49 +0000 (19:17 +0000)]
gspca-sn9c20x.ko was not insmod'ed due to typo

fixes #11973

SVN-Revision: 32991

12 years agowrt55agv2-spidevs needs <linux/modules.h>
John Crispin [Fri, 3 Aug 2012 09:38:24 +0000 (09:38 +0000)]
wrt55agv2-spidevs needs <linux/modules.h>

SVN-Revision: 32956

12 years agocleanup patches
John Crispin [Fri, 3 Aug 2012 08:53:02 +0000 (08:53 +0000)]
cleanup patches

SVN-Revision: 32953

12 years agonuport-mac: properly protect the phy interrupt handler
Florian Fainelli [Thu, 2 Aug 2012 18:13:17 +0000 (18:13 +0000)]
nuport-mac: properly protect the phy interrupt handler

SVN-Revision: 32951

12 years agoCodel: avoid a nul rec_inv_sqrt
John Crispin [Thu, 2 Aug 2012 13:39:50 +0000 (13:39 +0000)]
Codel: avoid a nul rec_inv_sqrt

One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
SVN-Revision: 32950

12 years agofixes i2c clock enable
John Crispin [Thu, 2 Aug 2012 13:29:49 +0000 (13:29 +0000)]
fixes i2c clock enable

SVN-Revision: 32949

12 years agoar71xx: simplify misc IRQ handling
Gabor Juhos [Thu, 2 Aug 2012 11:25:49 +0000 (11:25 +0000)]
ar71xx: simplify misc IRQ handling

SVN-Revision: 32948

12 years agoar71xx: fix AR934X_EHCI_SIZE
Gabor Juhos [Thu, 2 Aug 2012 11:25:46 +0000 (11:25 +0000)]
ar71xx: fix AR934X_EHCI_SIZE

SVN-Revision: 32947

12 years agoar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
Gabor Juhos [Thu, 2 Aug 2012 09:54:41 +0000 (09:54 +0000)]
ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND

SVN-Revision: 32946

12 years agoar71xx: image: allow to use board specific code in the lzma-loader
Gabor Juhos [Thu, 2 Aug 2012 09:54:33 +0000 (09:54 +0000)]
ar71xx: image: allow to use board specific code in the lzma-loader

SVN-Revision: 32945

12 years agoar71xx: init switch hw_reset on the TL-WR1043ND board
Gabor Juhos [Thu, 2 Aug 2012 09:54:28 +0000 (09:54 +0000)]
ar71xx: init switch hw_reset on the TL-WR1043ND board

SVN-Revision: 32944

12 years agogeneric: rtl836x: add hw_reset field to struct rtl8366_smi
Gabor Juhos [Thu, 2 Aug 2012 09:54:21 +0000 (09:54 +0000)]
generic: rtl836x: add hw_reset field to struct rtl8366_smi

It will be used to start/stop the switch if that is
supported by the given board.

SVN-Revision: 32943

12 years agogeneric: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
Gabor Juhos [Thu, 2 Aug 2012 09:54:13 +0000 (09:54 +0000)]
generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls

SVN-Revision: 32942

12 years agoadd missing netmask to the network config
Florian Fainelli [Wed, 1 Aug 2012 22:09:13 +0000 (22:09 +0000)]
add missing netmask to the network config

SVN-Revision: 32941