Commit Graph

56 Commits (5d67de1cfde804fca01c07f4518e4a343c3d1cc9)

Author SHA1 Message Date
Florian Fainelli e15963161a [kernel] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:16:58 +00:00
Felix Fietkau 60972ff36c kernel: backport some ssb changes to support a mac80211 update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:20 +00:00
Jo-Philipp Wich f1c0febd72 [generic] add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 19:17:31 +00:00
Hauke Mehrtens f708e80573 kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 17:23:02 +00:00
John Crispin 3a033d5456 [PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC
This patch adds 802.1Q VLAN support for the ADM6996M chip.

The driver is loaded for both the FC and M model. It will detect which of the
two chips is connected. The FC model is initialised, but no further
functionality is offered.

The PHY driver will always report "100 Mbit/s, link up", for both the M and FC
models. This reflects the fact that the link between switch chip and Ethernet
MAC is always on[1].

Further documentation can be found in the kernel's
Documentation/networking/adm6996.txt

Signed-of-By: Peter Lebbing <peter@digitalbrains.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-09 15:21:58 +00:00
Travis Kemen 7775f5339e [PATCH] ipv6: restore correct ECN handling on TCP xmit
Thanks Dave Taht

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 17:08:06 +00:00
Felix Fietkau d49cb1d62f rootfs_split: Allow using MTDPART_OFS_APPEND macro for offset of rootfs.
Use offset from struct mtd_part instead of struct mtd_partition for defining
the new partitions. This enables the usage of MTDPART_OFS_APPEND macro in
struct mtd_partition.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 18:32:28 +00:00
Felix Fietkau 80a4ffa1e2 kernel: reorganize 2.6.38 patches, clean up block2mtd patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 18:30:57 +00:00
Gabor Juhos 08862255f8 generic: add support for the MX25L1606E SPI flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:13 +00:00
Hauke Mehrtens 84534f9fd5 kernel: l2tp: fix possible oops on l2tp_eth module unload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:20:41 +00:00
Felix Fietkau 75e26d2568 kernel: add a missing dependency for the mv_cesa crypto driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 15:25:22 +00:00
Daniel Dickinson 61e56c03f4 [generic] flash_chips: Removed forced recognition of Macronix MX29LV640T flash chip. It should be recognized by the CFI and not need forcing. User has not since replied.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 05:44:46 +00:00
Michael Büsch 10bb6c326a shmem_set_file: Remove ima_counts_get()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 16:49:18 +00:00
Michael Büsch 870be5cdfe 2.6.38 vm_exports.patch: Fix merge error introduced in r26332
Thanks to acoul for noticing.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 16:43:23 +00:00
Michael Büsch c445330512 Update 2.6.38 to 2.6.38.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-28 15:44:03 +00:00
Felix Fietkau 338c3d3cbc Revert "kernel: remove all local symbols from kernel modules at link time to reduce their size"
Use -x when stripping kernel modules instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 15:29:53 +00:00
Felix Fietkau 8254833475 kernel: use -fno-caller-saves
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 01:07:16 +00:00
Felix Fietkau 21eafc2aa4 kernel: remove all local symbols from kernel modules at link time to reduce their size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 23:47:04 +00:00
Felix Fietkau 614123e801 kernel: remove wrong chunks from the 2.6.37 and 2.6.38 version of the mips oprofile fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 22:18:17 +00:00
Felix Fietkau e8d8ba19e1 kernel: fix an overlayfs deadlock on rmdir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 23:14:17 +00:00
Felix Fietkau 2c2c5a0c70 kernel: replace mini_fo with overlayfs for 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 20:23:14 +00:00
Felix Fietkau 9498b1c0db kernel: refresh 2.6.38 patches for final release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-16 18:31:23 +00:00
Hauke Mehrtens b2b9c9a950 ssb: update ssb to version from linux-next-20110311
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 17:24:28 +00:00
Felix Fietkau 08bf5d26f0 kernel: allow EAP frames to pass through bridges even in learning state - fixes issues with WDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:00:41 +00:00
Michael Büsch 51261269ad 2.6.38: Let mac80211 select CONFIG_AVERAGE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 18:55:00 +00:00
Imre Kaloz a5d02e6297 [generic/2.6.38]: update arm mach-types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 11:24:43 +00:00
Imre Kaloz b0e540648e [generic/2.6.38]: refresh patches with -rc6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 11:24:08 +00:00
Michael Büsch 4dc308f3e7 block2mtd: More 2.6.38 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 15:52:03 +00:00
Michael Büsch 49bea4ecac mtd: Fix compile warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 15:32:45 +00:00
Michael Büsch d6353b1054 jffs2-lzma: Fix compile warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 15:19:45 +00:00
Michael Büsch f65dafd491 mini_fo: More 2.6.38 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 15:10:55 +00:00
Felix Fietkau 209f49313e kernel: the usb pci quirks removal patch was a bit overzealous, leave in some functions referenced from other modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 01:20:49 +00:00
Felix Fietkau 073c175868 kernel: when disabling common quirks, disable them in the usb subsystem as well - bios handover is useless for most platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 19:52:43 +00:00
Felix Fietkau bd59d24b34 kernel: de-bloat the lzma library used by jffs2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 19:52:38 +00:00
Felix Fietkau d9cdd5cc17 kernel: add a patch for isolating individual bridge ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 19:52:13 +00:00
Alexandros C. Couloumbis c4b79f3904 linux/generic: fix block2mtd for 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 19:13:05 +00:00
Alexandros C. Couloumbis 30a044d10f linux/generic: fix r25699 take II
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 19:08:49 +00:00
Alexandros C. Couloumbis a6772a1087 linux/generic: fix r25699 (thanks nbd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 14:52:13 +00:00
Alexandros C. Couloumbis 770d2d1493 linux/generic: fix mini_fo for kernels >= 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 14:45:53 +00:00
Felix Fietkau ca62cf4f7f kernel: the patch to disable the crypto tests is no longer necessary since 2.6.36, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 01:11:11 +00:00
Michael Büsch cdf7ee759e 2.6.38: Remove patches that are upstream in -rc6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 23:44:59 +00:00
Felix Fietkau d41be9f54b kernel: remove imq support, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 02:06:51 +00:00
Felix Fietkau 45385bb7e7 kernel: add a new scheduler action for restoring the connection tracking mark - useful for ingress shaping, will be used for replacing IMQ later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 00:03:20 +00:00
Florian Fainelli d4ce1edb5a [kernel] add two solos-releated patches from Philip Prindeville
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 19:59:25 +00:00
Jo-Philipp Wich 0a604b02ba [generic] update ARM mach-types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 23:13:09 +00:00
Imre Kaloz 20fbe608b4 [target/generic/mips]: we don't support gcc 4.1.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:33:53 +00:00
Gabor Juhos 9f834b62be generic: remove en25pxx support patch, it is in mainline since 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-25 10:24:27 +00:00
Felix Fietkau e05c574520 kernel: when bridging, do not forward EAP frames to other ports, only deliver them locally
fixes WPA authentication issues with multiples APs that are connected to each other via bridges

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-25 00:25:49 +00:00
Imre Kaloz 6e46e0d3cf [target/generic/2.6.38]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 12:36:18 +00:00
Imre Kaloz 9ebc3c5754 [target/generic/2.6.38]: replace the mips_boot patch with one that makes BOOT_RAW selectable, and enable it in the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 12:33:25 +00:00