openwrt/openwrt.git
12 years agolantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api...
John Crispin [Tue, 22 Nov 2011 18:50:51 +0000 (18:50 +0000)]
lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups

Signed-of-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
SVN-Revision: 29292

12 years agopackage/mac80211: fix atomic64 issues on x86 / uml
Nicolas Thill [Mon, 21 Nov 2011 21:40:26 +0000 (21:40 +0000)]
package/mac80211: fix atomic64 issues on x86 / uml

SVN-Revision: 29289

12 years agodon't package gpioctl by default
Florian Fainelli [Mon, 21 Nov 2011 16:36:39 +0000 (16:36 +0000)]
don't package gpioctl by default

SVN-Revision: 29288

12 years agotarget/uml: export atomic64_* functions on 32-bit x86
Nicolas Thill [Mon, 21 Nov 2011 14:28:33 +0000 (14:28 +0000)]
target/uml: export atomic64_* functions on 32-bit x86

SVN-Revision: 29287

12 years agomac80211: revert unrelated change in previous commit
Jo-Philipp Wich [Mon, 21 Nov 2011 13:35:19 +0000 (13:35 +0000)]
mac80211: revert unrelated change in previous commit

SVN-Revision: 29285

12 years agomac80211: fix reversed WARN_ON() condition which causes a stray stacktrace on boot
Jo-Philipp Wich [Mon, 21 Nov 2011 13:33:11 +0000 (13:33 +0000)]
mac80211: fix reversed WARN_ON() condition which causes a stray stacktrace on boot

SVN-Revision: 29284

12 years agoar71xx: set GE0 phy_mask for AR933x
Gabor Juhos [Sun, 20 Nov 2011 11:30:10 +0000 (11:30 +0000)]
ar71xx: set GE0 phy_mask for AR933x

SVN-Revision: 29274

12 years agoath9k: merge a pending aggregation fix
Felix Fietkau [Sun, 20 Nov 2011 09:29:42 +0000 (09:29 +0000)]
ath9k: merge a pending aggregation fix

SVN-Revision: 29273

12 years agomac80211: refresh p54spi patches
Felix Fietkau [Sun, 20 Nov 2011 09:29:34 +0000 (09:29 +0000)]
mac80211: refresh p54spi patches

SVN-Revision: 29272

12 years agomac80211: fix a workqueue compat backport
Felix Fietkau [Sun, 20 Nov 2011 09:29:27 +0000 (09:29 +0000)]
mac80211: fix a workqueue compat backport

SVN-Revision: 29271

12 years agofix D-Link DSL-2650U image generation
Jo-Philipp Wich [Sat, 19 Nov 2011 21:34:51 +0000 (21:34 +0000)]
fix D-Link DSL-2650U image generation

SVN-Revision: 29266

12 years agolinux: update 3.0 to 3.0.9
Jonas Gorski [Sat, 19 Nov 2011 18:39:12 +0000 (18:39 +0000)]
linux: update 3.0 to 3.0.9

SVN-Revision: 29264

12 years agoscripts/env: improve the wording of the question when starting repository (patch...
Felix Fietkau [Sat, 19 Nov 2011 17:15:53 +0000 (17:15 +0000)]
scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)

SVN-Revision: 29262

12 years agoscripts/env: make mv and cp operations more robust (treat dotfiles appropriately...
Felix Fietkau [Sat, 19 Nov 2011 17:15:50 +0000 (17:15 +0000)]
scripts/env: make mv and cp operations more robust (treat dotfiles appropriately) (based on patch by Rolf Leggewie)

SVN-Revision: 29261

12 years agoscripts/env: fix indentation (patch by Rolf Leggewie)
Felix Fietkau [Sat, 19 Nov 2011 17:15:45 +0000 (17:15 +0000)]
scripts/env: fix indentation (patch by Rolf Leggewie)

SVN-Revision: 29260

12 years agoRevert "package/mac80211: fix atomic64 compat"
Felix Fietkau [Sat, 19 Nov 2011 16:56:47 +0000 (16:56 +0000)]
Revert "package/mac80211: fix atomic64 compat"

SVN-Revision: 29258

12 years agoath9k: allow run-time change of the chanbw debugfs file
Felix Fietkau [Sat, 19 Nov 2011 16:56:44 +0000 (16:56 +0000)]
ath9k: allow run-time change of the chanbw debugfs file

SVN-Revision: 29257

12 years agobase-files: kill remaining processes after running user hooks (#10461)
Jo-Philipp Wich [Sat, 19 Nov 2011 16:50:25 +0000 (16:50 +0000)]
base-files: kill remaining processes after running user hooks (#10461)

SVN-Revision: 29256

12 years agomac80211: update to wireless-testing 2011-11-15
Felix Fietkau [Fri, 18 Nov 2011 11:27:19 +0000 (11:27 +0000)]
mac80211: update to wireless-testing 2011-11-15

SVN-Revision: 29240

12 years agobuild images for D-Link DSL-2650U (#9003)
Florian Fainelli [Fri, 18 Nov 2011 10:37:03 +0000 (10:37 +0000)]
build images for D-Link DSL-2650U (#9003)

SVN-Revision: 29238

12 years agoomap24xx: Fix cbus nested IRQ acking
Michael Büsch [Thu, 17 Nov 2011 22:31:27 +0000 (22:31 +0000)]
omap24xx: Fix cbus nested IRQ acking

SVN-Revision: 29237

12 years agoomap24xx: Fix initialization of software IRQ mask
Michael Büsch [Thu, 17 Nov 2011 21:02:00 +0000 (21:02 +0000)]
omap24xx: Fix initialization of software IRQ mask

SVN-Revision: 29236

12 years agoomap24xx: Update 3.1 config
Michael Büsch [Thu, 17 Nov 2011 19:35:57 +0000 (19:35 +0000)]
omap24xx: Update 3.1 config

SVN-Revision: 29234

12 years agoomap24xx: Some retu/tahvo IRQ fixes
Michael Büsch [Thu, 17 Nov 2011 18:06:19 +0000 (18:06 +0000)]
omap24xx: Some retu/tahvo IRQ fixes

SVN-Revision: 29233

12 years agoomap24xx: Add basic kexec fixes.
Michael Büsch [Thu, 17 Nov 2011 14:57:34 +0000 (14:57 +0000)]
omap24xx: Add basic kexec fixes.

SVN-Revision: 29232

12 years agopackage/mac80211: fix atomic64 compat
Nicolas Thill [Thu, 17 Nov 2011 09:57:00 +0000 (09:57 +0000)]
package/mac80211: fix atomic64 compat

SVN-Revision: 29209

12 years agobase-files: another empty password check fix (#10440)
Jo-Philipp Wich [Thu, 17 Nov 2011 09:40:06 +0000 (09:40 +0000)]
base-files: another empty password check fix (#10440)

SVN-Revision: 29208

12 years agobase-files: now that we have date -k, adjust the kernel timezone after setting up...
Jo-Philipp Wich [Thu, 17 Nov 2011 01:18:22 +0000 (01:18 +0000)]
base-files: now that we have date -k, adjust the kernel timezone after setting up TZ and localtime

SVN-Revision: 29204

12 years agobusybox: add a "date -k" to set the kernel timezone from the current localtime utc...
Jo-Philipp Wich [Thu, 17 Nov 2011 01:11:56 +0000 (01:11 +0000)]
busybox: add a "date -k" to set the kernel timezone from the current localtime utc offset

SVN-Revision: 29203

12 years agop54spi: workqueue deadlock fix
Michael Büsch [Wed, 16 Nov 2011 22:45:23 +0000 (22:45 +0000)]
p54spi: workqueue deadlock fix

SVN-Revision: 29202

12 years agoomap24xx: Add workaround for omapfb locking bug.
Michael Büsch [Wed, 16 Nov 2011 22:34:38 +0000 (22:34 +0000)]
omap24xx: Add workaround for omapfb locking bug.

SVN-Revision: 29201

12 years agop54spi: Lock fixes
Michael Büsch [Wed, 16 Nov 2011 22:26:12 +0000 (22:26 +0000)]
p54spi: Lock fixes

SVN-Revision: 29200

12 years agoRevert r29193
Michael Büsch [Wed, 16 Nov 2011 19:03:23 +0000 (19:03 +0000)]
Revert r29193

SVN-Revision: 29195

12 years agoomap24xx: Set platform specific optimization flags
Michael Büsch [Wed, 16 Nov 2011 19:02:12 +0000 (19:02 +0000)]
omap24xx: Set platform specific optimization flags

SVN-Revision: 29194

12 years agon810: Add xmodmap to profile
Michael Büsch [Wed, 16 Nov 2011 19:01:19 +0000 (19:01 +0000)]
n810: Add xmodmap to profile

SVN-Revision: 29193

12 years agomconf: Fix compile warning: "warning: conflicting types for ‘sym_set_all_changed’"
Michael Büsch [Wed, 16 Nov 2011 17:27:36 +0000 (17:27 +0000)]
mconf: Fix compile warning: "warning: conflicting types for ‘sym_set_all_changed’"

SVN-Revision: 29190

12 years agoAdd xorg feed to feeds.conf.default
Michael Büsch [Wed, 16 Nov 2011 16:05:23 +0000 (16:05 +0000)]
Add xorg feed to feeds.conf.default

SVN-Revision: 29188

12 years agobase-files: rewrite killing of nonessential services to not rely on top, use the...
Jo-Philipp Wich [Wed, 16 Nov 2011 15:01:18 +0000 (15:01 +0000)]
base-files: rewrite killing of nonessential services to not rely on top, use the proc filesystem only

SVN-Revision: 29187

12 years agobusybox: fix empty password detection in telnetd init (#10432)
Jo-Philipp Wich [Wed, 16 Nov 2011 13:17:35 +0000 (13:17 +0000)]
busybox: fix empty password detection in telnetd init (#10432)

SVN-Revision: 29183

12 years agopackage/ppp: fix typo in r28868 (closes: #10429)
Nicolas Thill [Tue, 15 Nov 2011 23:40:39 +0000 (23:40 +0000)]
package/ppp: fix typo in r28868 (closes: #10429)

SVN-Revision: 29165

12 years agoinclude bridge and 8021q modules by default
Florian Fainelli [Tue, 15 Nov 2011 22:24:22 +0000 (22:24 +0000)]
include bridge and 8021q modules by default

SVN-Revision: 29164

12 years agoallow building 8021q and bridge as modules
Florian Fainelli [Tue, 15 Nov 2011 22:24:18 +0000 (22:24 +0000)]
allow building 8021q and bridge as modules

SVN-Revision: 29163

12 years agokmod-r6040 depends on kmod-libphy
Florian Fainelli [Tue, 15 Nov 2011 19:15:42 +0000 (19:15 +0000)]
kmod-r6040 depends on kmod-libphy

SVN-Revision: 29162

12 years agolantiq: add runtime generation of /etc/config/network
John Crispin [Tue, 15 Nov 2011 18:21:00 +0000 (18:21 +0000)]
lantiq: add runtime generation of /etc/config/network

SVN-Revision: 29161

12 years agobusybox: revert accidentally committed debugging flag
Jo-Philipp Wich [Tue, 15 Nov 2011 17:54:02 +0000 (17:54 +0000)]
busybox: revert accidentally committed debugging flag

SVN-Revision: 29158

12 years agobusybox: fix hexdump segmentation fault with an empty leading format unit
Jo-Philipp Wich [Tue, 15 Nov 2011 17:38:55 +0000 (17:38 +0000)]
busybox: fix hexdump segmentation fault with an empty leading format unit

SVN-Revision: 29156

12 years agoath9k: reorganize patches, reset hardware after full sleep (fixes #10349)
Felix Fietkau [Tue, 15 Nov 2011 14:53:21 +0000 (14:53 +0000)]
ath9k: reorganize patches, reset hardware after full sleep (fixes #10349)

SVN-Revision: 29155

12 years agouhttpd: prevent linking uhttpd binary against crypto libraries
Jo-Philipp Wich [Tue, 15 Nov 2011 10:17:59 +0000 (10:17 +0000)]
uhttpd: prevent linking uhttpd binary against crypto libraries

SVN-Revision: 29152

12 years agobroadcom-wl: align RADIUS options with r26482, patch by Etienne Champetier <etienne...
Jo-Philipp Wich [Mon, 14 Nov 2011 21:37:53 +0000 (21:37 +0000)]
broadcom-wl: align RADIUS options with r26482, patch by Etienne Champetier <etienne.champetier@free.fr>

SVN-Revision: 29136

12 years agoath9k: do not put the hardware to full-sleep while tx is pending
Felix Fietkau [Mon, 14 Nov 2011 21:21:24 +0000 (21:21 +0000)]
ath9k: do not put the hardware to full-sleep while tx is pending

SVN-Revision: 29133

12 years agoath9k: rework radio stop/start cleanup, avoid duplicate rx/tx stop, avoid early phy...
Felix Fietkau [Mon, 14 Nov 2011 21:21:03 +0000 (21:21 +0000)]
ath9k: rework radio stop/start cleanup, avoid duplicate rx/tx stop, avoid early phy stop

SVN-Revision: 29132

12 years agobase-files: prime root password with "x" to notify programs that there is a shadow...
Jo-Philipp Wich [Mon, 14 Nov 2011 19:02:01 +0000 (19:02 +0000)]
base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935.

SVN-Revision: 29130

12 years agolantiq: fix falcon build breakage
John Crispin [Mon, 14 Nov 2011 18:55:58 +0000 (18:55 +0000)]
lantiq: fix falcon build breakage

dev-wifi-rt2x00 fails to build on falcon due to missing pci

SVN-Revision: 29129

12 years agoar71xx: fix USB LED on the DB120 board
Gabor Juhos [Mon, 14 Nov 2011 17:43:15 +0000 (17:43 +0000)]
ar71xx: fix USB LED on the DB120 board

SVN-Revision: 29126

12 years agoar71xx: add a function for selecting output signal on a given GPIO pin
Gabor Juhos [Mon, 14 Nov 2011 17:43:14 +0000 (17:43 +0000)]
ar71xx: add a function for selecting output signal on a given GPIO pin

SVN-Revision: 29125

12 years agoar71xx: fix GPIO function handling on AR934x
Gabor Juhos [Mon, 14 Nov 2011 17:43:13 +0000 (17:43 +0000)]
ar71xx: fix GPIO function handling on AR934x

SVN-Revision: 29124

12 years agoar71xx: add AR71XX_ prefix to GPIO_REG_* defines
Gabor Juhos [Mon, 14 Nov 2011 17:43:11 +0000 (17:43 +0000)]
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines

SVN-Revision: 29123

12 years agoar71xx: merge nand scan patch
Gabor Juhos [Mon, 14 Nov 2011 17:43:10 +0000 (17:43 +0000)]
ar71xx: merge nand scan patch

SVN-Revision: 29122

12 years agomac80211: enable support for RaLink Rt53xx USB devices in rt2800usb
Felix Fietkau [Mon, 14 Nov 2011 14:06:37 +0000 (14:06 +0000)]
mac80211: enable support for RaLink Rt53xx USB devices in rt2800usb

The driver works quite nice and stable for me using a RaLink Rt5370 USB device.

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

12 years agonetifd: update to latest version, fixes tcp connection loss issues on dhcp rekey
Felix Fietkau [Mon, 14 Nov 2011 14:06:32 +0000 (14:06 +0000)]
netifd: update to latest version, fixes tcp connection loss issues on dhcp rekey

SVN-Revision: 29115

12 years agouci: update to latest git rev 7289b2d69aaffa9299b47aaaa0da1e9969ace6c1
Jo-Philipp Wich [Mon, 14 Nov 2011 13:18:09 +0000 (13:18 +0000)]
uci: update to latest git rev 7289b2d69aaffa9299b47aaaa0da1e9969ace6c1

SVN-Revision: 29111

12 years agoar71xx: fix a compiler warning
Gabor Juhos [Mon, 14 Nov 2011 13:07:47 +0000 (13:07 +0000)]
ar71xx: fix a compiler warning

SVN-Revision: 29110

12 years agoar71xx: fix GPIO count for AR934x
Gabor Juhos [Mon, 14 Nov 2011 13:07:45 +0000 (13:07 +0000)]
ar71xx: fix GPIO count for AR934x

SVN-Revision: 29109

12 years agoar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
Gabor Juhos [Mon, 14 Nov 2011 11:49:53 +0000 (11:49 +0000)]
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X

SVN-Revision: 29108

12 years agoar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
Gabor Juhos [Mon, 14 Nov 2011 11:49:51 +0000 (11:49 +0000)]
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling

SVN-Revision: 29107

12 years agoar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
Gabor Juhos [Mon, 14 Nov 2011 11:49:49 +0000 (11:49 +0000)]
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines

SVN-Revision: 29106

12 years agoar71xx: add an irq parameter for ar724x_pcibios_init
Gabor Juhos [Mon, 14 Nov 2011 11:49:47 +0000 (11:49 +0000)]
ar71xx: add an irq parameter for ar724x_pcibios_init

SVN-Revision: 29105

12 years agoar71xx: remove hardwired interface parameters from mach-* files
Gabor Juhos [Mon, 14 Nov 2011 07:38:09 +0000 (07:38 +0000)]
ar71xx: remove hardwired interface parameters from mach-* files

SVN-Revision: 29103

12 years agoar71xx: force hardwired interface parameters in ar71xx_add_device_eth
Gabor Juhos [Mon, 14 Nov 2011 07:38:07 +0000 (07:38 +0000)]
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth

SVN-Revision: 29102

12 years agoar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
Gabor Juhos [Mon, 14 Nov 2011 07:38:05 +0000 (07:38 +0000)]
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth

SVN-Revision: 29101

12 years agobuild images for Pirelli A226M (#10409)
Florian Fainelli [Sun, 13 Nov 2011 19:19:22 +0000 (19:19 +0000)]
build images for Pirelli A226M (#10409)

SVN-Revision: 29045

12 years agoregister uart0 on DWV-S0 boards (#10409)
Florian Fainelli [Sun, 13 Nov 2011 19:19:18 +0000 (19:19 +0000)]
register uart0 on DWV-S0 boards (#10409)

SVN-Revision: 29044

12 years agorefresh 3.0 patches
Florian Fainelli [Sun, 13 Nov 2011 19:19:14 +0000 (19:19 +0000)]
refresh 3.0 patches

SVN-Revision: 29043

12 years agorefresh 2.6.39 patches
Florian Fainelli [Sun, 13 Nov 2011 19:19:10 +0000 (19:19 +0000)]
refresh 2.6.39 patches

SVN-Revision: 29042

12 years agorename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
Florian Fainelli [Sun, 13 Nov 2011 19:19:05 +0000 (19:19 +0000)]
rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch

SVN-Revision: 29041

12 years agofix typo, load ip17xx switch module
Florian Fainelli [Sun, 13 Nov 2011 18:41:26 +0000 (18:41 +0000)]
fix typo, load ip17xx switch module

SVN-Revision: 29039

12 years agoar71xx: enable has_gbit flag on AR724{0,1}
Gabor Juhos [Sun, 13 Nov 2011 17:36:36 +0000 (17:36 +0000)]
ar71xx: enable has_gbit flag on AR724{0,1}

SVN-Revision: 29026

12 years agoar71xx: fixup onboard PCIe chip registration on the DB120 board
Gabor Juhos [Sun, 13 Nov 2011 12:48:03 +0000 (12:48 +0000)]
ar71xx: fixup onboard PCIe chip registration on the DB120 board

SVN-Revision: 29022

12 years agoar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
Gabor Juhos [Sun, 13 Nov 2011 12:48:01 +0000 (12:48 +0000)]
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed

SVN-Revision: 29021

12 years agomadwifi: rename patch from ifxmips -> lantiq
John Crispin [Sun, 13 Nov 2011 12:10:52 +0000 (12:10 +0000)]
madwifi: rename patch from ifxmips -> lantiq

SVN-Revision: 29020

12 years agouboot-lantiq: not all configs were using lzma for compression, add gigaset ramboot...
John Crispin [Sun, 13 Nov 2011 12:09:34 +0000 (12:09 +0000)]
uboot-lantiq: not all configs were using lzma for compression, add gigaset ramboot image

Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
SVN-Revision: 29019

12 years agoinclude/kernel.mk: don't check for modules.builtin on 2.6.32-
Jonas Gorski [Sun, 13 Nov 2011 11:45:09 +0000 (11:45 +0000)]
include/kernel.mk: don't check for modules.builtin on 2.6.32-

modules.builtin is only available in 2.6.33 and later, so fall back to
assuming it's built-in for older kernels.

SVN-Revision: 29018

12 years agoar71xx: ag71xx: add support for getting switch port link status
Gabor Juhos [Sun, 13 Nov 2011 11:27:04 +0000 (11:27 +0000)]
ar71xx: ag71xx: add support for getting switch port link status

SVN-Revision: 29017

12 years agoar71xx: remove mii_ctrl resources of the ethernet devices
Gabor Juhos [Sun, 13 Nov 2011 11:27:03 +0000 (11:27 +0000)]
ar71xx: remove mii_ctrl resources of the ethernet devices

SVN-Revision: 29016

12 years agoar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
Gabor Juhos [Sun, 13 Nov 2011 11:27:01 +0000 (11:27 +0000)]
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx

SVN-Revision: 29015

12 years agoar71xx: ag71xx: remove unused mii_cfg related functions and defines
Gabor Juhos [Sun, 13 Nov 2011 11:27:00 +0000 (11:27 +0000)]
ar71xx: ag71xx: remove unused mii_cfg related functions and defines

SVN-Revision: 29014

12 years agoar71xx: set MII interface speed from the set_speed callbacks
Gabor Juhos [Sun, 13 Nov 2011 11:26:59 +0000 (11:26 +0000)]
ar71xx: set MII interface speed from the set_speed callbacks

SVN-Revision: 29013

12 years agoar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Gabor Juhos [Sun, 13 Nov 2011 11:26:57 +0000 (11:26 +0000)]
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data

Also rename the corresponding callback functions.

SVN-Revision: 29012

12 years agoar71xx: ag71xx: remove MII interface setup code
Gabor Juhos [Sun, 13 Nov 2011 11:26:56 +0000 (11:26 +0000)]
ar71xx: ag71xx: remove MII interface setup code

SVN-Revision: 29011

12 years agoar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
Gabor Juhos [Sun, 13 Nov 2011 11:26:54 +0000 (11:26 +0000)]
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode

SVN-Revision: 29010

12 years agoar71xx: fix occasional kernel hangs during boot on AR934x
Gabor Juhos [Sun, 13 Nov 2011 11:26:52 +0000 (11:26 +0000)]
ar71xx: fix occasional kernel hangs during boot on AR934x

The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009

12 years agoar71xx: refresh kernel patches
Gabor Juhos [Sun, 13 Nov 2011 11:26:51 +0000 (11:26 +0000)]
ar71xx: refresh kernel patches

SVN-Revision: 29008

12 years agolinux: update 3.1 to 3.1.1
Jonas Gorski [Sun, 13 Nov 2011 10:48:05 +0000 (10:48 +0000)]
linux: update 3.1 to 3.1.1

SVN-Revision: 29007

12 years agolantiq: add uci-defaults code for handling leds
John Crispin [Sat, 12 Nov 2011 23:40:21 +0000 (23:40 +0000)]
lantiq: add uci-defaults code for handling leds

SVN-Revision: 29004

12 years agolantiq: add /lib/lantiq.sh and make hotplug handlers use it
John Crispin [Sat, 12 Nov 2011 23:40:16 +0000 (23:40 +0000)]
lantiq: add /lib/lantiq.sh and make hotplug handlers use it

SVN-Revision: 29003

12 years agolantiq: rename leds
John Crispin [Sat, 12 Nov 2011 23:40:12 +0000 (23:40 +0000)]
lantiq: rename leds

SVN-Revision: 29002

12 years agolantiq: split compat headers out of bsp header patch
John Crispin [Sat, 12 Nov 2011 23:40:07 +0000 (23:40 +0000)]
lantiq: split compat headers out of bsp header patch

SVN-Revision: 29001

12 years agolantiq: adds hotplug handler for loading rt2x00 firmware
John Crispin [Sat, 12 Nov 2011 23:40:01 +0000 (23:40 +0000)]
lantiq: adds hotplug handler for loading rt2x00 firmware

SVN-Revision: 29000

12 years agolantiq: adds hotplug handler for handling buttons and makes w303v work with it
John Crispin [Sat, 12 Nov 2011 23:39:56 +0000 (23:39 +0000)]
lantiq: adds hotplug handler for handling buttons and makes w303v work with it

SVN-Revision: 28999

12 years agolantiq: cleanup default package selection
John Crispin [Sat, 12 Nov 2011 23:39:51 +0000 (23:39 +0000)]
lantiq: cleanup default package selection

SVN-Revision: 28998