openwrt/staging/981213.git
13 years agoadd some missing 2.6.39 config symbols
Florian Fainelli [Sat, 4 Jun 2011 13:36:00 +0000 (13:36 +0000)]
add some missing 2.6.39 config symbols

SVN-Revision: 27105

13 years agoupdate to 2.6.39.1
Florian Fainelli [Sat, 4 Jun 2011 13:35:55 +0000 (13:35 +0000)]
update to 2.6.39.1

patch from Peter Wagner

SVN-Revision: 27104

13 years agocompcache does not build on 2.6.38+
Florian Fainelli [Sat, 4 Jun 2011 13:35:48 +0000 (13:35 +0000)]
compcache does not build on 2.6.38+

SVN-Revision: 27103

13 years agoar71xx: setup wdt_clock for AR913X to avoid a kernel bug
Gabor Juhos [Sat, 4 Jun 2011 12:30:10 +0000 (12:30 +0000)]
ar71xx: setup wdt_clock for AR913X to avoid a kernel bug

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

13 years agoar71xx: select the internal antenna by default on the ZCN-1523H boards
Gabor Juhos [Sat, 4 Jun 2011 12:30:09 +0000 (12:30 +0000)]
ar71xx: select the internal antenna by default on the ZCN-1523H boards

SVN-Revision: 27101

13 years agoacx-mac80211: remove patch
Hauke Mehrtens [Sat, 4 Jun 2011 09:33:02 +0000 (09:33 +0000)]
acx-mac80211: remove patch

This patch is already incorporated into the original source code.

closes #9499

SVN-Revision: 27100

13 years agosoloscli: fix new lines in soloscli
Florian Fainelli [Thu, 2 Jun 2011 14:38:01 +0000 (14:38 +0000)]
soloscli: fix new lines in soloscli

If the string received from the ADSL firmware is missing \n, add it in.

Signed-off-by: Nathan Williams <nathan@traverse.com.au>
SVN-Revision: 27096

13 years agoacx-mac80211: add io endianness patch
Florian Fainelli [Thu, 2 Jun 2011 14:37:56 +0000 (14:37 +0000)]
acx-mac80211: add io endianness patch

Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
SVN-Revision: 27095

13 years agoupdate to 2.6.39
Florian Fainelli [Thu, 2 Jun 2011 13:45:20 +0000 (13:45 +0000)]
update to 2.6.39

SVN-Revision: 27090

13 years agoRevert "ar71xx: only enable the rx engine after the link is up..."
Felix Fietkau [Wed, 1 Jun 2011 18:15:43 +0000 (18:15 +0000)]
Revert "ar71xx: only enable the rx engine after the link is up..."

It messes up the DMA state when the link goes down

SVN-Revision: 27088

13 years agokernel.mk: add a new helper for comparing kernel versions, which can take 1 - 4 field...
Felix Fietkau [Wed, 1 Jun 2011 18:08:17 +0000 (18:08 +0000)]
kernel.mk: add a new helper for comparing kernel versions, which can take 1 - 4 field kernel versions

implement CompareKernelPatchVer using this new helper
implement kernel_patchver_{gt,ge,eq,le,lt}, which are more convenient for use with inline $(if)

SVN-Revision: 27087

13 years agonetfilter.mk: remove a few obsolete CompareKernelPatchVer calls
Felix Fietkau [Wed, 1 Jun 2011 18:08:12 +0000 (18:08 +0000)]
netfilter.mk: remove a few obsolete CompareKernelPatchVer calls

SVN-Revision: 27086

13 years agomac80211: add initial support for AR9330
Gabor Juhos [Wed, 1 Jun 2011 13:12:31 +0000 (13:12 +0000)]
mac80211: add initial support for AR9330

SVN-Revision: 27084

13 years agoar71xx: init external_reset for AR933X
Gabor Juhos [Wed, 1 Jun 2011 13:12:30 +0000 (13:12 +0000)]
ar71xx: init external_reset for AR933X

SVN-Revision: 27083

13 years agoar71xx: add external_reset field to ath9k_platform_data
Gabor Juhos [Wed, 1 Jun 2011 13:12:28 +0000 (13:12 +0000)]
ar71xx: add external_reset field to ath9k_platform_data

SVN-Revision: 27082

13 years agoar71xx: init get_mac_revision on AR9330 rev 1
Gabor Juhos [Wed, 1 Jun 2011 13:12:27 +0000 (13:12 +0000)]
ar71xx: init get_mac_revision on AR9330 rev 1

SVN-Revision: 27081

13 years agoar71xx: add get_mac_revision to ath9k_platform_data
Gabor Juhos [Wed, 1 Jun 2011 13:12:26 +0000 (13:12 +0000)]
ar71xx: add get_mac_revision to ath9k_platform_data

SVN-Revision: 27080

13 years agoar71xx: export SoC revision
Gabor Juhos [Wed, 1 Jun 2011 13:12:24 +0000 (13:12 +0000)]
ar71xx: export SoC revision

SVN-Revision: 27079

13 years agorefresh patches
Imre Kaloz [Wed, 1 Jun 2011 07:24:41 +0000 (07:24 +0000)]
refresh patches

SVN-Revision: 27078

13 years agofixup second led, patch from Chris
Imre Kaloz [Wed, 1 Jun 2011 07:21:25 +0000 (07:21 +0000)]
fixup second led, patch from Chris

SVN-Revision: 27077

13 years agoar71xx: add profile and image building code for wzr-hp-ag300h
Felix Fietkau [Wed, 1 Jun 2011 02:23:30 +0000 (02:23 +0000)]
ar71xx: add profile and image building code for wzr-hp-ag300h

SVN-Revision: 27076

13 years agoar71xx: add kernel support for the buffalo wzr-hp-ag300h
Felix Fietkau [Wed, 1 Jun 2011 02:23:26 +0000 (02:23 +0000)]
ar71xx: add kernel support for the buffalo wzr-hp-ag300h

SVN-Revision: 27075

13 years agofix a crash in mtd_concat when the .sync op is not implemented
Felix Fietkau [Wed, 1 Jun 2011 02:23:22 +0000 (02:23 +0000)]
fix a crash in mtd_concat when the .sync op is not implemented

SVN-Revision: 27074

13 years agom25p80: add the chip id for the winbond w25q128 chip
Felix Fietkau [Wed, 1 Jun 2011 02:23:18 +0000 (02:23 +0000)]
m25p80: add the chip id for the winbond w25q128 chip

SVN-Revision: 27073

13 years agofixup pcie clock, thanks Chris
Imre Kaloz [Tue, 31 May 2011 23:55:33 +0000 (23:55 +0000)]
fixup pcie clock, thanks Chris

SVN-Revision: 27072

13 years agomac80211: update to wireless-testing 2011-05-27
Felix Fietkau [Tue, 31 May 2011 23:07:29 +0000 (23:07 +0000)]
mac80211: update to wireless-testing 2011-05-27

SVN-Revision: 27071

13 years agoar71xx: build images for the AP121 boards
Gabor Juhos [Tue, 31 May 2011 22:53:47 +0000 (22:53 +0000)]
ar71xx: build images for the AP121 boards

SVN-Revision: 27070

13 years agoar71xx: add sysupgrade support for the AP121 boards
Gabor Juhos [Tue, 31 May 2011 22:53:45 +0000 (22:53 +0000)]
ar71xx: add sysupgrade support for the AP121 boards

SVN-Revision: 27069

13 years agoar71xx: add default network config for the AP121 boards
Gabor Juhos [Tue, 31 May 2011 22:53:44 +0000 (22:53 +0000)]
ar71xx: add default network config for the AP121 boards

SVN-Revision: 27068

13 years agoar71xx: add support for the AP121/AP121-MINI reference boards
Gabor Juhos [Tue, 31 May 2011 22:53:43 +0000 (22:53 +0000)]
ar71xx: add support for the AP121/AP121-MINI reference boards

SVN-Revision: 27067

13 years agoar71xx: register UART for the AR933X SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:42 +0000 (22:53 +0000)]
ar71xx: register UART for the AR933X SoCs

SVN-Revision: 27066

13 years agoar71xx: add serial driver for the AR933X UART
Gabor Juhos [Tue, 31 May 2011 22:53:40 +0000 (22:53 +0000)]
ar71xx: add serial driver for the AR933X UART

SVN-Revision: 27065

13 years agoar71xx: add WMAC initialization code for the AR933X SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:39 +0000 (22:53 +0000)]
ar71xx: add WMAC initialization code for the AR933X SoCs

SVN-Revision: 27064

13 years agoar71xx: add ethernet initialization for the AR933X SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:37 +0000 (22:53 +0000)]
ar71xx: add ethernet initialization for the AR933X SoCs

SVN-Revision: 27063

13 years agoar71xx: enable USB support for the AR933x SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:36 +0000 (22:53 +0000)]
ar71xx: enable USB support for the AR933x SoCs

SVN-Revision: 27062

13 years agoar71xx: add AR933x specific glue for ar71xx_device{start,stop}
Gabor Juhos [Tue, 31 May 2011 22:53:35 +0000 (22:53 +0000)]
ar71xx: add AR933x specific glue for ar71xx_device{start,stop}

SVN-Revision: 27061

13 years agoar71xx: the watchdog uses the reference clock on the AR933x SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:34 +0000 (22:53 +0000)]
ar71xx: the watchdog uses the reference clock on the AR933x SoCs

SVN-Revision: 27060

13 years agoar71xx: add AR933x specific glue code for IRQ initialization
Gabor Juhos [Tue, 31 May 2011 22:53:32 +0000 (22:53 +0000)]
ar71xx: add AR933x specific glue code for IRQ initialization

SVN-Revision: 27059

13 years agoar71xx: don't register 8250 UART on the AR933x SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:31 +0000 (22:53 +0000)]
ar71xx: don't register 8250 UART on the AR933x SoCs

SVN-Revision: 27058

13 years agoar71xx: enable GPIO support for the AR933x SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:30 +0000 (22:53 +0000)]
ar71xx: enable GPIO support for the AR933x SoCs

SVN-Revision: 27057

13 years agoar71xx: add AR933x specific frequency initialization code
Gabor Juhos [Tue, 31 May 2011 22:53:29 +0000 (22:53 +0000)]
ar71xx: add AR933x specific frequency initialization code

SVN-Revision: 27056

13 years agoar71xx: add AR933x specific early_printk support
Gabor Juhos [Tue, 31 May 2011 22:53:27 +0000 (22:53 +0000)]
ar71xx: add AR933x specific early_printk support

SVN-Revision: 27055

13 years agoar71xx: add preliminary support for the Atheros AR933x SoCs
Gabor Juhos [Tue, 31 May 2011 22:53:26 +0000 (22:53 +0000)]
ar71xx: add preliminary support for the Atheros AR933x SoCs

SVN-Revision: 27054

13 years agoar71xx: stop producing -NA factory images and tag factory images with hd_id for WNDR3...
Gabor Juhos [Tue, 31 May 2011 22:53:25 +0000 (22:53 +0000)]
ar71xx: stop producing -NA factory images and tag factory images with hd_id for WNDR3700v2

NETGEAR doesn\92t produce a distinct North American image for
WNDR3700v2, they use the same image worldwide. This is a change from
earlier models such as WNDR3700 (v1). NETGEAR's v2 images now contain
an "hd_id" parameter, as well. All observed WNDR3700v2, WNDR3800, and
WNDRMAC images use 29763654+16+64 as their hd_id value.

This patch changes the OpenWrt WNDR3700v2 "factory" image generation
to stop producing the extraneous -NA version and to tag the image with
the same hd_id used in NETGEAR's images.

There is no change to WNDR3700 (v1) image generation, as NETGEAR
continues to produce distinct -NA and worldwide images, neither of
which are tagged with hd_id.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27053

13 years agotools/firmware-utils: add support for hd_id tag into mkdniimg
Gabor Juhos [Tue, 31 May 2011 22:53:24 +0000 (22:53 +0000)]
tools/firmware-utils: add support for hd_id tag into mkdniimg

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27052

13 years agoar71xx: create factory images for the WZR-HP-G30{0,1}NH boards
Gabor Juhos [Tue, 31 May 2011 22:53:22 +0000 (22:53 +0000)]
ar71xx: create factory images for the WZR-HP-G30{0,1}NH boards

SVN-Revision: 27051

13 years agotools/firmware-utils: add buffalo specific fw tools
Gabor Juhos [Tue, 31 May 2011 22:53:21 +0000 (22:53 +0000)]
tools/firmware-utils: add buffalo specific fw tools

SVN-Revision: 27050

13 years agoar71xx: Fix header offset for newer WRT160NL models
Gabor Juhos [Tue, 31 May 2011 22:53:20 +0000 (22:53 +0000)]
ar71xx: Fix header offset for newer WRT160NL models

Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).

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

13 years agoar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
Gabor Juhos [Tue, 31 May 2011 22:53:19 +0000 (22:53 +0000)]
ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols

SVN-Revision: 27048

13 years agoar71xx: reduce the size of the squashfs-4k binaries
Gabor Juhos [Tue, 31 May 2011 22:53:18 +0000 (22:53 +0000)]
ar71xx: reduce the size of the squashfs-4k binaries

SVN-Revision: 27047

13 years agomac80211: make ath9k available even if PCI support is disabled
Gabor Juhos [Tue, 31 May 2011 22:53:16 +0000 (22:53 +0000)]
mac80211: make ath9k available even if PCI support is disabled

SVN-Revision: 27046

13 years agoar71xx: initialize is_clk_25mhz field for AR9340 WMAC
Gabor Juhos [Tue, 31 May 2011 22:53:15 +0000 (22:53 +0000)]
ar71xx: initialize is_clk_25mhz field for AR9340 WMAC

SVN-Revision: 27045

13 years agoar71xx: sync ath9k_platform_data.h with compat-wireless
Gabor Juhos [Tue, 31 May 2011 22:53:14 +0000 (22:53 +0000)]
ar71xx: sync ath9k_platform_data.h with compat-wireless

SVN-Revision: 27044

13 years agoar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
Gabor Juhos [Tue, 31 May 2011 22:53:13 +0000 (22:53 +0000)]
ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards

SVN-Revision: 27043

13 years agoar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
Gabor Juhos [Tue, 31 May 2011 22:53:12 +0000 (22:53 +0000)]
ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards

SVN-Revision: 27042

13 years agoar71xx: ag71xx: make ring sizes configurable via ethtool
Gabor Juhos [Tue, 31 May 2011 22:53:10 +0000 (22:53 +0000)]
ar71xx: ag71xx: make ring sizes configurable via ethtool

SVN-Revision: 27041

13 years agoar71xx: ag71xx: prepare to make ring sizes configurable
Gabor Juhos [Tue, 31 May 2011 22:53:09 +0000 (22:53 +0000)]
ar71xx: ag71xx: prepare to make ring sizes configurable

SVN-Revision: 27040

13 years agoar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Gabor Juhos [Tue, 31 May 2011 22:53:07 +0000 (22:53 +0000)]
ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define

Reported-by: Dave Täht <dave.taht@gmail.com>
SVN-Revision: 27039

13 years agox86: add additional companion chip drivers to alix2 and geos
Felix Fietkau [Tue, 31 May 2011 16:57:05 +0000 (16:57 +0000)]
x86: add additional companion chip drivers to alix2 and geos

Add the MFGPT high precision timers, and integration into the schedule (clock events).

Use OHCI, not UHCI usb module.

Remove VIA SATA driver from Alix2... that was accidentally cloned from net5501 platform.

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

13 years agox86: remove pata-amd driver from generic x86 images, add addition cs553x modules
Felix Fietkau [Tue, 31 May 2011 16:57:01 +0000 (16:57 +0000)]
x86: remove pata-amd driver from generic x86 images, add addition cs553x modules

The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.

Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).

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

13 years agopurge out CONFIG_CRYPTO* symbols out of target specific kernel configs since OpenWrt...
Mirko Vogt [Tue, 31 May 2011 09:47:30 +0000 (09:47 +0000)]
purge out CONFIG_CRYPTO* symbols out of target specific kernel configs since OpenWrt is taking care of them

SVN-Revision: 27036

13 years agoar71xx: only enable the rx engine after the link is up, fixes a race condition that...
Felix Fietkau [Mon, 30 May 2011 23:08:01 +0000 (23:08 +0000)]
ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)

SVN-Revision: 27035

13 years agoar71xx: disable flow control for ar724x, it can get stuck in a loop of continously...
Felix Fietkau [Mon, 30 May 2011 23:07:57 +0000 (23:07 +0000)]
ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames

SVN-Revision: 27034

13 years agoremove the now unused Target-Kernel field from the target metadata
Felix Fietkau [Mon, 30 May 2011 23:07:53 +0000 (23:07 +0000)]
remove the now unused Target-Kernel field from the target metadata

SVN-Revision: 27033

13 years agoremove kernel major version specific kernelpackage overrides
Felix Fietkau [Mon, 30 May 2011 23:07:48 +0000 (23:07 +0000)]
remove kernel major version specific kernelpackage overrides

SVN-Revision: 27032

13 years agoupgrade to 2.6.39
Imre Kaloz [Mon, 30 May 2011 13:55:34 +0000 (13:55 +0000)]
upgrade to 2.6.39

SVN-Revision: 27030

13 years agoath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work...
Felix Fietkau [Mon, 30 May 2011 13:38:54 +0000 (13:38 +0000)]
ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory

SVN-Revision: 27029

13 years ago* backport 2.6.8 patches to .39 / .32.33
John Crispin [Sun, 29 May 2011 21:19:26 +0000 (21:19 +0000)]
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support

SVN-Revision: 27026

13 years agoath9k: merge a few bugfixes
Felix Fietkau [Sat, 28 May 2011 16:45:17 +0000 (16:45 +0000)]
ath9k: merge a few bugfixes

SVN-Revision: 27025

13 years agoath5k: disable fast channel changes, some people have reported that they introduce...
Felix Fietkau [Sat, 28 May 2011 16:27:24 +0000 (16:27 +0000)]
ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues

SVN-Revision: 27024

13 years agoremove legacy package/foo-compile wrapper targets, people should be used to the corre...
Felix Fietkau [Sat, 28 May 2011 16:27:21 +0000 (16:27 +0000)]
remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now

SVN-Revision: 27023

13 years agohostapd: fix a race condition related to assoc response tx status processing
Felix Fietkau [Sat, 28 May 2011 16:27:17 +0000 (16:27 +0000)]
hostapd: fix a race condition related to assoc response tx status processing

SVN-Revision: 27022

13 years agohostapd: update to 20110527, includes a client mode wpa auth fix
Felix Fietkau [Sat, 28 May 2011 16:27:12 +0000 (16:27 +0000)]
hostapd: update to 20110527, includes a client mode wpa auth fix

SVN-Revision: 27021

13 years agobcm63xx: Add support for 2.6.39
Florian Fainelli [Fri, 27 May 2011 09:54:52 +0000 (09:54 +0000)]
bcm63xx: Add support for 2.6.39

Add support for Kernel 2.6.39. Boots fine on a BCM6358.

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

13 years agobcm63xx: Add support for 2.6.38
Florian Fainelli [Fri, 27 May 2011 09:54:48 +0000 (09:54 +0000)]
bcm63xx: Add support for 2.6.38

Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.

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

13 years agofold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
Florian Fainelli [Thu, 26 May 2011 13:53:00 +0000 (13:53 +0000)]
fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch

SVN-Revision: 27014

13 years agorenumber patches accordingly
Florian Fainelli [Thu, 26 May 2011 13:52:56 +0000 (13:52 +0000)]
renumber patches accordingly

SVN-Revision: 27013

13 years agorenumber board patches
Florian Fainelli [Thu, 26 May 2011 12:09:15 +0000 (12:09 +0000)]
renumber board patches

SVN-Revision: 27012

13 years agokernel: exportfs: reallow building as a module
Hauke Mehrtens [Wed, 25 May 2011 20:57:13 +0000 (20:57 +0000)]
kernel: exportfs: reallow building as a module

It was originally tristate, but was changed to bool to prevent a build
breakage in an earlier patch revision (for a new syscall). The actual
commit[1] changed it in a way this isn't needed anymore, but
accidentially left the EXPORTFS change in. There's no reason for it
not being buildable as a module, so changing it back to tristate is
fine.

see: https://patchwork.kernel.org/patch/812832/

Thank you Jonas Gorski for the patch.

SVN-Revision: 27011

13 years agokernel: generic: Update 2.6.39 to final
Hauke Mehrtens [Wed, 25 May 2011 19:51:40 +0000 (19:51 +0000)]
kernel: generic: Update 2.6.39 to final

* Add missing config symbols
* Update package/kernel for 2.6.39

CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.

Thank you Jonas Gorski for the patch

SVN-Revision: 27010

13 years agokernel: some updates for kernel 2.6.39
Hauke Mehrtens [Wed, 25 May 2011 19:32:00 +0000 (19:32 +0000)]
kernel: some updates for kernel 2.6.39

* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile

Thank you Peter Wagner for the patch

SVN-Revision: 27009

13 years agobrcm47xx: initial 2.6.39 support for brcm47xx
Hauke Mehrtens [Wed, 25 May 2011 19:27:08 +0000 (19:27 +0000)]
brcm47xx: initial 2.6.39 support for brcm47xx

Thank you Peter Wagner for the patch

SVN-Revision: 27008

13 years agofix mtd warnings
Florian Fainelli [Wed, 25 May 2011 19:16:58 +0000 (19:16 +0000)]
fix mtd warnings

Fixes for the following warnings:

drivers/mtd/devices/block2mtd.c: In function '_open_bdev':
drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code
drivers/mtd/devices/block2mtd.c: In function 'add_device':
drivers/mtd/devices/block2mtd.c:399:13: warning: assignment discards qualifiers from pointer target type

In the case of 442-block2mtd_probe.patch, it's not until the insertion of a executable statement before the definition that causes a warning, so I've chosen to resolve the issue here by splitting the definition and the initialization into a definition and a statement (and assignment) instead.

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

13 years agobrcm47xx: remove old kernel
Hauke Mehrtens [Wed, 25 May 2011 18:05:54 +0000 (18:05 +0000)]
brcm47xx: remove old kernel

SVN-Revision: 27006

13 years agobrcm47xx: fix partition layout on SimpleShare devices.
Hauke Mehrtens [Wed, 25 May 2011 17:46:34 +0000 (17:46 +0000)]
brcm47xx: fix partition layout on SimpleShare devices.

The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.

This fixes #9323

Thank you Will Holmes for the patch.

SVN-Revision: 27005

13 years agouse 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'
Mirko Vogt [Tue, 24 May 2011 15:53:15 +0000 (15:53 +0000)]
use 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'

this eliminates a source of reproduceable freezes
http://lists.uclibc.org/pipermail/uclibc/2011-May/045367.html

SVN-Revision: 27001

13 years agolibpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
Felix Fietkau [Tue, 24 May 2011 10:42:49 +0000 (10:42 +0000)]
libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)

SVN-Revision: 27000

13 years agolibpcap: add -fpic, refresh patches
Jo-Philipp Wich [Tue, 24 May 2011 10:36:25 +0000 (10:36 +0000)]
libpcap: add -fpic, refresh patches

SVN-Revision: 26999

13 years agoClean up patch not applying
Hamish Guthrie [Tue, 24 May 2011 10:00:36 +0000 (10:00 +0000)]
Clean up patch not applying

SVN-Revision: 26997

13 years agolibpcap: remove empty patchfiles
Jo-Philipp Wich [Tue, 24 May 2011 09:53:53 +0000 (09:53 +0000)]
libpcap: remove empty patchfiles

SVN-Revision: 26996

13 years agoUpdate libpcap to version 1.1.1
Jo-Philipp Wich [Tue, 24 May 2011 09:51:08 +0000 (09:51 +0000)]
Update libpcap to version 1.1.1

Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>
SVN-Revision: 26995

13 years agobase-files: make the MAC address of bridge interfaces sticky to avoid ARP issues...
Felix Fietkau [Tue, 24 May 2011 09:31:37 +0000 (09:31 +0000)]
base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration

SVN-Revision: 26990

13 years agoAdd support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan...
Jo-Philipp Wich [Tue, 24 May 2011 09:30:24 +0000 (09:30 +0000)]
Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26988

13 years agobase-files: mark /etc/crontabs/ as config directory
Jo-Philipp Wich [Tue, 24 May 2011 09:27:23 +0000 (09:27 +0000)]
base-files: mark /etc/crontabs/ as config directory

SVN-Revision: 26986

13 years agokernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to...
Jo-Philipp Wich [Tue, 24 May 2011 09:14:35 +0000 (09:14 +0000)]
kernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko from kmod-crypto-iv depend on crypto_blkcipher.ko from kmod-crypto-manager.

Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 26984

13 years agodnsmasq: allow hostname assignment without static lease The attached patch for dnsmas...
Jo-Philipp Wich [Tue, 24 May 2011 09:12:50 +0000 (09:12 +0000)]
dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.

It corresponds to the following example in dnsmasq.conf.example:

# Always set the name of the host with hardware address
# 11:22:33:44:55:66 to be "fred"
#dhcp-host=11:22:33:44:55:66,fred

Regards
Mathias

SVN-Revision: 26983

13 years agopackage u32 match and TEE target, patches by Maxim Uvarov
Jo-Philipp Wich [Tue, 24 May 2011 08:14:29 +0000 (08:14 +0000)]
package u32 match and TEE target, patches by Maxim Uvarov

SVN-Revision: 26977

13 years agoncurses: enable C++ bindings (#9442)
Jo-Philipp Wich [Sun, 22 May 2011 16:53:09 +0000 (16:53 +0000)]
ncurses: enable C++ bindings (#9442)

SVN-Revision: 26970

13 years agoiw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator...
Jo-Philipp Wich [Sun, 22 May 2011 12:02:35 +0000 (12:02 +0000)]
iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence

SVN-Revision: 26968

13 years agoadd LD_LIBRARY to cmake.mk
Felix Fietkau [Fri, 20 May 2011 16:21:30 +0000 (16:21 +0000)]
add LD_LIBRARY to cmake.mk

Otherwise cmake programs try to link with host ld.so

Signed-off-by: Jan Willies <jan@willies.info>
SVN-Revision: 26963