Commit graph

1494 commits

Author SHA1 Message Date
John Crispin
76a54a424c ar8216: fix "unused variable" compiler warning
Most likely a copy & paste error when deriving ar8327_sw_set_ports
from ar8xxx_sw_set_ports.
Remove unused variable.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43273
2014-11-14 17:06:09 +00:00
Hauke Mehrtens
a69ebe234d kernel: update kernel 3.18 to rc4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43229
2014-11-10 22:51:30 +00:00
Rafał Miłecki
93b3924128 kernel: backport bcm47xxpart changes queued for 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43223
2014-11-08 21:41:21 +00:00
Rafał Miłecki
fcc8fe9bd2 kernel: ssb: add PCI ID 0x4351
Backports commit 9837baa99717c7526e4bae9c68e8728dea4af183

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43221
2014-11-08 20:51:24 +00:00
John Crispin
2c72ffc154 ar71xx: add support for Netgear WNR2000v4
Signed-off-by: Michaël Burtin <mburtin@gmail.com>

SVN-Revision: 43173
2014-11-03 20:20:56 +00:00
Felix Fietkau
101289156b kernel: add missing config symbol for 3.13+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43152
2014-11-02 20:06:41 +00:00
Zoltan Herpai
7aa2950165 kernel: 3.18: fix config typo
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43150
2014-11-02 10:12:46 +00:00
Hauke Mehrtens
6deeb3513c kernel: add missing patch for AR8216_PHY_LEDS
The patch adding AR8216_PHY_LEDS was not ported to more recent kernel
versions.
Thank you swalker for spotting this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43139
2014-10-31 23:53:32 +00:00
Hauke Mehrtens
553ed34def kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43138
2014-10-31 23:50:42 +00:00
Hauke Mehrtens
e1078da32a kernel: 3.18: add some missing parts in 721-phy_packets.patch
Some changes from the header file were not ported from older kernel.
Thank you swalker for spotting this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43137
2014-10-31 23:48:43 +00:00
Hauke Mehrtens
071570426b kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43136
2014-10-31 23:43:10 +00:00
Hauke Mehrtens
622ea2a66c kernel: remove wrongly added SYS_HAS_DMA_OPS in r43134
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43135
2014-10-31 23:39:34 +00:00
Hauke Mehrtens
5e3d188e89 kernel: add patch header and missing part in 132-mips_inline_dma_ops.patch again
The select SYS_HAS_DMA_OPS in CPU_CAVIUM_OCTEON was from the kernel
patch in 3.13, but it is only included in kernel 3.14 and not in 3.13
and 3.18, add it again.

Thank you swalker for spotting this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43134
2014-10-31 23:32:22 +00:00
Hauke Mehrtens
b63cfc9530 mac80211: configuration: Better handling of LIB80211 configuration
Apply patch for kernel 3.10 from r43112 also in 3.12, 3.14 and 3.18.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43133
2014-10-31 23:27:27 +00:00
Hauke Mehrtens
e770d60e47 kernel: kernel 3.18 fix compilation on mips
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43130
2014-10-31 21:54:16 +00:00
Zoltan Herpai
d7e981ca4c kernel: add missing symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43121
2014-10-30 10:15:20 +00:00
John Crispin
ca28f9c515 mac80211: configuration: Better handling of LIB80211 configuration
OpenWRT patch 255-lib80211_kconfig_hacks gives user possiblity to select
LIB80211 dependant settings (LIB80211_CRYPT_*) without having LIB80211
selected which is wrong.
My patch changes OpenWRT patch so LIB80211 is vissible and all
LIB80211_CRYPT_* options selects LIB80211 automatically.

Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com>

SVN-Revision: 43112
2014-10-29 21:04:30 +00:00
John Crispin
62107ff367 swconfig: last vs tail
sorry .....

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43107
2014-10-29 19:24:16 +00:00
John Crispin
ab5d70e046 swconfig: "swconfig list" shows devices in reverse order
Boards that have more than one swconfig enabled switch will show the devices in
reverse order when call swconfig list. Fix this by using list_add_tail().

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43106
2014-10-29 18:51:06 +00:00
Hauke Mehrtens
fb543b63a9 kernel: add closing " to REGMAP_I2C's tristate
Thanks swalker for reporting.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43099
2014-10-27 23:14:21 +00:00
Hauke Mehrtens
d8d692342f kernel: add generic config for kernel 3.18
There are still many options missing.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43096
2014-10-27 22:58:12 +00:00
Hauke Mehrtens
a76ee3b1d5 kernel: make the kernel 3.18 patches apply and boot on arm.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43095
2014-10-27 22:55:39 +00:00
Rafał Miłecki
1513b39a8c kernel: start working on 3.18 support
This commit:
1) Copies 3.14 patches
2) Drops mainlined stuff
3) Modifies some patches to apply

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43093
2014-10-27 18:14:39 +00:00
Rafał Miłecki
e168852ed9 kernel: 3.14: use patch that is really upstreamed for hso 0af0:9200
Patch 060 we had in repo was never sent/accepted.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43091
2014-10-27 16:00:36 +00:00
Felix Fietkau
7004b79665 kernel: refresh generic 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43050
2014-10-24 20:39:36 +00:00
Felix Fietkau
0aca075a97 kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
All platforms which are using 3.10.x at the moment are upgraded.

Changelogs:
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58

A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f
("x86-espfix-make-it-possible-to-disable-16-bit-support.patch")
I defaults to 'unset', but it's worth a discussion to enable it
("turn off support for any 16-bit software").

Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e
("fix build failure on memcpy() in decompress.c")
and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream.
included in kernel 3.10.56

compile tested on all platforms with:
make tools/install
make toolchain/install
make target/linux/compile

user@box:~/user/openwrt$ cat /tmp/log.txt
[Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK
[Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK
[Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK
[Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK
[Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK
[Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK
[Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK
[Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK
[Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK
[Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK
[Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK
[Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK
[Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK
[Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK
[Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK
[Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK
[Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK

run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43049
2014-10-24 20:39:26 +00:00
Florian Fainelli
2c62ad1fda kernel: add a memmove() implementation for MIPS boot decompressor
This is required due to 306-mips_mem_functions_performance.patch, just
add a memmove() implementation to satisfy the lzma2 decompressor code.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43036
2014-10-24 00:16:10 +00:00
John Crispin
24d886c472 kernel: add another missing symbol for 3.14
SENSORS_VEXPRESS is masked by HWMON

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 42984
2014-10-20 06:28:57 +00:00
John Crispin
cc292d7de8 generic: fix yaffs compilation on 3.14
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42909
2014-10-14 11:32:48 +00:00
Steven Barth
195a618877 kernel: add missing symbols for 3.14
spotted by buildbot brcm2708:
http://buildbot.openwrt.org:8010/builders/brcm2708/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 42858
2014-10-09 07:18:07 +00:00
Rafał Miłecki
b9d3767ada kernel: move old "rootfs" splitter into separated file
This will simplify removing it in the future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42828
2014-10-07 07:35:17 +00:00
Rafał Miłecki
d30e92884e kernel: add some warnings to the old (built-in) rootfs splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42806
2014-10-06 15:07:54 +00:00
Rafał Miłecki
a58a4bb580 kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT
This enables dedicated "rootfs" splitter by default. We still keep
CONFIG_MTD_SPLIT_SQUASHFS_ROOT, so the old (built-in) splitter will be
used as a fallback in case of problems.
Once we decide the dedicated partitioner works stable, we should remove
the old one completely.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42805
2014-10-06 14:02:06 +00:00
Rafał Miłecki
b87ff2cae7 kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT
We want to remove that old (built-in) splitter at some point.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42804
2014-10-06 13:49:11 +00:00
Felix Fietkau
156b296b20 ar8216: set the pvid based on runtime state instead of port number to fix learning with enable_vlan = 0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42753
2014-10-02 20:00:41 +00:00
Rafał Miłecki
59b965194d kernel: update bcma to the tag master-2014-09-30 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42710
2014-10-01 13:37:36 +00:00
Florian Fainelli
04c0ef5263 kernel: add missing CONFIG_BACKLIGHT_GPIO to 3.14
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42679
2014-09-27 19:11:06 +00:00
Rafał Miłecki
71a03fb168 kernel: merge two mtdpart.c patches
It does not make sense to add some code and remove is 4 patches later.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42673
2014-09-27 09:44:24 +00:00
Rafał Miłecki
8e525a43b4 kernel: update bcma to the tag master-2014-09-26 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42672
2014-09-27 07:49:48 +00:00
Felix Fietkau
38a8f5ae63 ar71xx: ar8216: tagged+untagged on ar8327 (#12181)
This allows tagged and untagged traffic together on the same port on ar8327
switch devices.

I looked at the first attempt to do this in r40777 (ar71xx: Fix tagged+untagged
operation on AR8327N (#12181)). I also set the vlan and port egress policies
like that change. But I change vlan_tagged in an less intrusive way. The
tagged/untagged decision is now based on the following rules:
- if vid != pvid then traffic is always tagged
- if vid == pvid then vlan_tagged stores if the traffic should be tagged

Tested on TP-Link WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

SVN-Revision: 42653
2014-09-23 10:19:58 +00:00
Felix Fietkau
1c675ee9be ar71xx: ar8216: move policies, pvid to setup_port
This moves ingress, egress policy and pvid decisions to setup_port methods.
They arenow device type dependent.

This allows policy changes on only one device type which is needed to allow
tagged + untagged operation on ar8327.

Tested on TP-LINK WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

SVN-Revision: 42652
2014-09-23 10:18:38 +00:00
Zoltan Herpai
e02dd2f19c kernel: add missing symbols for 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42629
2014-09-21 16:24:28 +00:00
Rafał Miłecki
da74f722e1 kernel: fix backport of bcma init patch
Upstream bcma patch:
bcma: use separated function to initialize bus on SoC
was backported incompletely. I missed arch code change.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42603
2014-09-17 21:25:36 +00:00
Hauke Mehrtens
150224d91e kernel: add missing config option
This missing option was found by the build bots.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42583
2014-09-16 21:39:24 +00:00
Rafał Miłecki
7cd532623e kernel: update bcma to the tag master-2014-09-11 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42537
2014-09-14 17:31:13 +00:00
Hauke Mehrtens
f032f66318 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42536
2014-09-14 15:00:33 +00:00
Rafał Miłecki
a9d06501b2 kernel: move bcma patches pushed to wireless-next
We used separated patch for patches that were sent but not accepted yet.
It has changed now, so let's use the standard patch file for them.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42535
2014-09-14 14:58:13 +00:00
Hauke Mehrtens
61d02a8df4 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42532
2014-09-14 12:06:59 +00:00
Hauke Mehrtens
eb35b82275 kernel: add missing config options
These missing option were found by the build bots.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42527
2014-09-13 21:25:21 +00:00
Hauke Mehrtens
9a428dd8d5 kernel: Backport essential fixes for ad799x
This series of patches ports back some fixes of the ad799x driver, which were
commited between 3.10 and 3.15.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 42523
2014-09-13 20:34:44 +00:00