Commit Graph

1796 Commits (04053a12174a30922e5b4ae16a95132bfa02fee4)

Author SHA1 Message Date
Felix Fietkau 6dcdc2bb05 ar8216: introduce global constant for number of PHYs
All supported switches have 5 PHYs. Currently partially 5 is hardcoded
and partially switch-specific constants exist.
Replace them with a global constant.

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

SVN-Revision: 43328
10 years ago
John Crispin 5d2c810101 kernel: add the ubifs EOF marker support to 3.14 kernel
Without this patch the UBIFS driver is unable to attach to the mtd
storage and mount the root FS.

Fixes a kernel panic with Netgear WNDR4300/3700v4 devices.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 43287
10 years ago
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
10 years ago
Hauke Mehrtens a69ebe234d kernel: update kernel 3.18 to rc4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43229
10 years ago
Rafał Miłecki 93b3924128 kernel: backport bcm47xxpart changes queued for 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43223
10 years ago
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
10 years ago
John Crispin 2c72ffc154 ar71xx: add support for Netgear WNR2000v4
Signed-off-by: Michaël Burtin <mburtin@gmail.com>

SVN-Revision: 43173
10 years ago
Felix Fietkau 101289156b kernel: add missing config symbol for 3.13+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43152
10 years ago
Zoltan Herpai 7aa2950165 kernel: 3.18: fix config typo
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43150
10 years ago
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
10 years ago
Hauke Mehrtens 553ed34def kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43138
10 years ago
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
10 years ago
Hauke Mehrtens 071570426b kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43136
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Hauke Mehrtens e770d60e47 kernel: kernel 3.18 fix compilation on mips
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43130
10 years ago
Zoltan Herpai d7e981ca4c kernel: add missing symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43121
10 years ago
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
10 years ago
John Crispin 62107ff367 swconfig: last vs tail
sorry .....

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

SVN-Revision: 43107
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau 7004b79665 kernel: refresh generic 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43050
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin cc292d7de8 generic: fix yaffs compilation on 3.14
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 42909
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Florian Fainelli 04c0ef5263 kernel: add missing CONFIG_BACKLIGHT_GPIO to 3.14
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42679
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Zoltan Herpai e02dd2f19c kernel: add missing symbols for 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42629
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Hauke Mehrtens f032f66318 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42536
10 years ago
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
10 years ago
Hauke Mehrtens 61d02a8df4 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42532
10 years ago
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
10 years ago
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
10 years ago
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
10 years ago
Hauke Mehrtens 54cd991725 kernel: drop 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42452
10 years ago
Hauke Mehrtens 8313b329c6 kernel: add bcma patches sent upstream but not pushed yet
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42448
10 years ago
Hauke Mehrtens e030c50502 kernel: update bcma to the version from wireless-testing master-2014-09-04 tag
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42447
10 years ago
Luka Perkov 89d908e9f1 kernel: 3.14: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42296
10 years ago
Luka Perkov b13e12819b kernel: 3.14: backport for igb driver resolving a driver crash
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42295
10 years ago
John Crispin c9813699b6 kernel: add own Kconfig for OpenWrt mtdsplit drivers
There are pretty many OpenWrt patches against mtd subsystem resulting
in a bit of mess and growing maintenance cost.
My idea is to use an extra "mtdsplit" directory with OpenWrt specific
files (including Kconfig).
This is the first step to achieve this. This patch adds a "mtdsplit"
directory with Kconfig and replaces 4 patches with a single one.

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

SVN-Revision: 42287
10 years ago
Florian Fainelli fcfd0cec76 kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was
included in 3.13 and onwards, hence making those patches obsolete.

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

SVN-Revision: 42263
10 years ago
Hauke Mehrtens a8bdf2f1e0 kernel: update bcma to code from v3.17-rc1
This is needed for some new patches.

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

SVN-Revision: 42221
10 years ago
Hauke Mehrtens 4a9acacf53 kernel: 3.14: update bcm47xxpart
It it used by brcm47xx and bcm53xx targets, so put patches in generic.

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

SVN-Revision: 42212
10 years ago
Luka Perkov dcacd65281 imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
 * 7-port Ethernet Switch
  * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
  * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)

This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42147
10 years ago
Luka Perkov a7840a0306 kernel: 3.14: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42113
10 years ago
Jo-Philipp Wich 0cf7cba67b netfilter: consider reply direction on selective flushing
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42095
10 years ago
Jo-Philipp Wich f1b40f9304 netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42093
10 years ago
Jo-Philipp Wich 56be9f4a9a netfilter: support /proc conntrack flushing of specific ip addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42092
10 years ago
Luka Perkov dd8d729096 kernel: update 3.14 to 3.14.16
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42070
10 years ago
Felix Fietkau 053a3a4aaf kernel: add a patch to allow disabling processing of the netfilter "filter" table for established connection packets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42046
10 years ago
Felix Fietkau 3e64341eac kernel: improve ipv4 netfilter optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42045
10 years ago
Felix Fietkau f75f9606ad kernel: add a few more generic config symbols for 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42037
10 years ago
Felix Fietkau e6083fc8b1 kernel/3.1{3, 4}: fix IFF_NO_IP_ALIGN flag location
Fix IFF_NO_IP_ALIGN location which is collide with new netdev private flag
IFF_MACVLAN.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41992
10 years ago
Felix Fietkau fe295cd178 kernel: when using --gc-sections, add --sort-section=name to get a more stable sorting order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41951
10 years ago
Felix Fietkau 428539a3a2 kernel: add a small xfrm related performance optimization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41950
10 years ago
Jo-Philipp Wich baa7c211f5 netfilter: introduce xt_id match
This commit implements a new netfilter match "xt_id" which can be used to
attach unsigned 32bit IDs to iptables rules.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41945
10 years ago
Hauke Mehrtens 2b32939040 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41909
10 years ago
Hauke Mehrtens b1df24f00e kernel: update bcma to version master-2014-07-29-1
This is a backport of bcma from wireless-tesing/master tag master-2014-07-29-1.

For kernel < 3.10 this only adds the header changes needed by more
recent b43 versions.

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

SVN-Revision: 41899
10 years ago
Luka Perkov f548b18353 kernel: update 3.14 to 3.14.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41898
10 years ago
Hauke Mehrtens 009e36806b kernel: remove kernel 3.6
kernel 3.6 is not used by any target any more, remove it.

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

SVN-Revision: 41834
10 years ago
Felix Fietkau ea76a0b78e kernel: annotate bridge multicast backport patch with upstream commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41819
10 years ago
Felix Fietkau dd7650f67c kernel: backport upstream bridge multicast snooping fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41817
10 years ago
Hauke Mehrtens 0d3690a202 kernel: update bcma and ssb to version master-2014-07-22
This is a backport of bcma and ssb from wireless-tesing/master tag
master-2014-07-22.

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

SVN-Revision: 41804
10 years ago
John Crispin 2b48ee80f9 kernel: refresh 3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41777
10 years ago
Felix Fietkau 1d232f354a kernel: mtd: allow partial block erase
This fixes error erasing partial mtd partition which does not start on
eraseblock boundary and allows using fconfig to configure redboot on
devices such as the Gateworks Cambria.

Signed-off-by: Maciej Skrzypek <maciej.skrzypek@flytronic.pl>

SVN-Revision: 41733
10 years ago
Felix Fietkau daae0b7c93 kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling
Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not
compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41702
10 years ago
Hauke Mehrtens d84579def5 kernel: add CONFIG_I2C_AU1550 config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41678
10 years ago
John Crispin de5fd0a189 ar8216: add new phyid 0x004dd043 (ar8326)
Used in ubiquity nanostation xw boards

SVN-Revision: 41635
10 years ago
Gabor Juhos d0ad8c00b6 kernel: sort Kconfig options in kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41614
10 years ago
Luka Perkov 2bc22025dd kernel: remove 3.12 support since none of the targets is using it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41581
10 years ago
Felix Fietkau a17a58e310 ar8216: disable EEE by default on AR8327 to fix stability issues (#14597)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41577
10 years ago
Felix Fietkau f98306bef4 kernel: revert an upstream linux-stable commit that is causing usb regressions on some brcm47xx and ar71xx devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41554
10 years ago
Luka Perkov f9c04c8722 kernel: 3.13: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41553
10 years ago
Luka Perkov 82abc5c1d9 kernel: ledtrig-netdev: use netdev_notifier_info
Since kernel 3.11, the third parameter passed to notifier_call()
is of type struct netdev_notifier_info. This patch fixes an oops
when setting a netdev LED trigger.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 41552
10 years ago
Luka Perkov 90b53991a0 kernel: update 3.14 to 3.14.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41551
10 years ago
Luka Perkov 354a1042cc kernel: update 3.14 to 3.14.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41533
10 years ago
Hauke Mehrtens ed0dc1c97e b53: hardcode reset GPIO for Linksys WRT300N 1.1
According to the thread https://forum.openwrt.org/viewtopic.php?id=48281
b53 uses GPIO 7:
[    4.470000] b53_common: [DBG] b53_switch_reset_gpio using 7
and causes device to self-reboot. GPIO 8 was found in CFE boot log:
"Reset switch via GPIO 8 ..."

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

SVN-Revision: 41526
10 years ago
Hauke Mehrtens 7f2f585c13 kernel: add missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41521
10 years ago
Hauke Mehrtens 286ff7e322 adm6996: the GPIO interface for the adm6996l does not support switch statistics.
This patch deactivates the statistics, adds a missing lock
initialization and fixes a waring.

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

SVN-Revision: 41511
10 years ago
Hauke Mehrtens 30a900cab8 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41499
10 years ago
John Crispin b4e46a807c kernel: disable CONFIG_IRQ_ALL_CPUS by default
this fixes the mpc85xx build error

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

SVN-Revision: 41477
10 years ago
Jonas Gorski f9aeee6a6a kernel: add missing config symbols
Spotted by several buildbots.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Patchwork: http://patchwork.openwrt.org/patch/5768/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41391
10 years ago
Felix Fietkau 8fe75736d8 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41378
10 years ago
Felix Fietkau a75354ef53 kernel: implement optinal multicast->unicast conversion for igmp snooping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41367
10 years ago
Felix Fietkau 33ad14a920 kernel: enable bridge igmp snooping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41366
10 years ago
Luka Perkov abc694b463 kernel: update 3.14 to 3.14.9
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41362
10 years ago
John Crispin fbf8b288e1 kernel: refresh generic patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41352
10 years ago
John Crispin 994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
10 years ago
Luka Perkov 70a27a518e kernel: update 3.14 to 3.14.8
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41309
10 years ago
Imre Kaloz e1de4e27c1 coding style cleanups, drop old kernel support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41293
10 years ago
John Crispin 0d5a6fd819 kernel: drop now unused ubi forced detach patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41272
10 years ago
John Crispin c5461a78d2 kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
This flash is used in newer Ubnt UniFi AP Pro

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41219
10 years ago
John Crispin ae8caf216f kernel: replace a ubifs patch by upstream commit
A modified version of 552-ubifs-respect-silent-mount-flag.patch has
been merged upstream. Replace the patch in OpenWrt with the version
which has been merged.

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

SVN-Revision: 41218
10 years ago
Felix Fietkau 841b730f98 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41178
10 years ago
Luka Perkov f45b1a671a kernel: update 3.14 to 3.14.7
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41150
10 years ago
John Crispin c8d472c37f kernel: backport the ubiblock patches from 3.14->3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41120
10 years ago
John Crispin acbcd5f5b5 kernel: rootfs auto-mount on ubi
Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

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

SVN-Revision: 41119
10 years ago
John Crispin d494983d02 kernel: backport ubiblock support from 3.15
Backport ubiblock support from kernel 3.15 as well as all follow-up
fixes related to ubiblock.

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

 create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch
 create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch
 create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch
 create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch
 create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch
 create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch
 create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch
 create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch

SVN-Revision: 41118
10 years ago
Luka Perkov b6c0aca054 kernel: add another new config symbol for kernel 3.14
It was augmented by CONFIG_USB_GADGET...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40986
10 years ago
Luka Perkov aa2ff3f105 kernel: update 3.14 to 3.14.5
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40901
10 years ago
Felix Fietkau 2108ca0d9a ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
550-ubifs-symlink-xattr-support.patch contains a reference to the
by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to
the functionality originally added by the patch in r30794 being
left-out during compile since commit 1bdcc63112a0
("UBIFS: remove xattr Kconnfig option") in v3.5.
Fix this by removing the #ifdef from all affected kernels as XATTR
support is now always enabled for UBIFS as well.

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

SVN-Revision: 40864
10 years ago
Jo-Philipp Wich f6e7074924 Revert "ar71xx: Fix tagged+untagged operation on AR8327N (#12181)"
Revert the tagged + untagged rework for now due to regressions in
vlan setup on certain AR83xx switches.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40842
10 years ago
Felix Fietkau 32d1e0ed2c kernel: add a ssb backport required for a new mac80211 update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40833
10 years ago
Steven Barth 874b26933d Add missing bracket in MAP-E FMR kernel support
SVN-Revision: 40830
10 years ago
Steven Barth 3224643614 Add kernel support for MAP-E FMRs
SVN-Revision: 40822
10 years ago
Felix Fietkau 8513629e3e mac80211: update to wireless-testing 2014-05-19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40800
10 years ago
Jo-Philipp Wich 443b2dfe3c ar71xx: Fix tagged+untagged operation on AR8327N (#12181)
Replace the global "vlan_tagged" variable with an array storing the
tagging state per vlan.

The code was taken from #12181, tested and cleaned up by Saverio Proto
with additional bug fixes supplied by Álvaro Fernández.

Tested-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Saverio Proto <zioproto@gmail.com>
Signed-off-by: Álvaro Fernández <noltari@gmail.com>

SVN-Revision: 40777
10 years ago
Luka Perkov 645596489f kernel: update 3.14 to 3.14.4
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40769
10 years ago
Hauke Mehrtens de2585c79b kernel-3.14: add missing config symbols
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40760
10 years ago
Hauke Mehrtens a49ef16272 kernel: update to kernel 3.14.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40736
10 years ago
Hauke Mehrtens 6ae2278463 kernel: add missing config options for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40735
10 years ago
Hauke Mehrtens ff12bcef16 kernel: fix some compile warnings with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40734
10 years ago
Hauke Mehrtens 100e795bcc kernel: fix warning in swconfig.c with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40733
10 years ago
Hauke Mehrtens c09007c1af kernel/generic: modify mtd related patches for 3.14
Function register_mtd_parser always returned 0 (at least since v3.3)
before being changed to return void in v3.14-rc1~65^2~93 (mtd: make
register_mtd_parser return void), so it's not needed to check the
return value of this function. Also add __init flag to caller.

This fix compile errors in 3.14 kernel like:
drivers/mtd/mtdsplit_seama.c: In function 'mtdsplit_seama_init':
drivers/mtd/mtdsplit_seama.c:99:2: error: void value not ignored as it ought to be
  return register_mtd_parser(&mtdsplit_seama_parser);
  ^

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40731
10 years ago
Hauke Mehrtens d064b747af kernel: add missing config options
These options are missing and were spotted by the buildbots.

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

SVN-Revision: 40661
10 years ago
Hauke Mehrtens e2cd04bfb3 kernel: fix compile error with gcc-4.8 and kernel 3.3
With gcc-4.8 I get a compile error with kernel 3.3.
This patch fixes this problem by backporting a patch from a more recent kernel version.

  CC      arch/mips/mm/page.o
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/mm/page.o] Error 1

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

SVN-Revision: 40619
10 years ago
Hauke Mehrtens 31ccc84c37 kernel: add missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40599
10 years ago
Hauke Mehrtens b6ad77229f kernel: deactivate fs cache config option
r40587 added some kernel config options, on which these two ones depend.
This fixes the build of the buildbots.

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

SVN-Revision: 40588
10 years ago
John Crispin 1b96cf30a9 linux/generic: add MIB counters and port status to ADM6996 switch
This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

SVN-Revision: 40542
10 years ago
Zoltan Herpai 248678fccd add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40540
10 years ago
Zoltan Herpai 86e77c57f2 add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40539
10 years ago
Zoltan Herpai d2b3c52238 add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40538
10 years ago
Felix Fietkau 25a1dcb37b generic: remove obsolete symbol export from block2mtd init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40445
10 years ago
Felix Fietkau f02e3a2a4a x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40444
10 years ago
Hauke Mehrtens 64f54741e3 kernel: bgmac: rework patch checking packet length
This bgmac patch was an attempt to fix/workaround bug reported in
https://dev.openwrt.org/ticket/7198 noticed on WNR3500L.
Patch assumed length reported by the hardware was 0 and was trying to
read it until getting a different value. This was actually the opposite.
Lenghts were some invalid & huge values that resulted in skb_over_panic.
For example:
skbuff: skb_over_panic: text:83b21074 len:57222 (...)
skbuff: skb_over_panic: text:87af1024 len:43226 (...)
skbuff: skb_over_panic: text:87af5024 len:8739 (...)

So instead of that not-working patch checking for 0, write a new one
checking for huge values. In case something like that happens, dump
hardware state and drop the packet.

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

SVN-Revision: 40424
10 years ago
John Crispin 1978620045 kernel: add a ubi forced detach ioctl
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40417
10 years ago
Jonas Gorski a8363fadcd kernel: make sched_act_connmark compile for 3.14
The upstream API changed, which allowed to simplify the code a bit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 40376
10 years ago
Jonas Gorski 96c4e3eed0 kernel: make sched_esfq compile for 3.14
net_random was replaced with prandom_u32.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 40375
10 years ago
Jonas Gorski e24b601b56 kernel: add missing config symbol for linux 3.14
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 40374
10 years ago
Imre Kaloz 36fefbb60e 3.14 final is out
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40352
10 years ago
Hauke Mehrtens bdde12b13a kernel: backport BCM5357 fix for GPIOs
This backports: bcma: gpio: register 32 GPIOs on BCM5357

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40347
10 years ago
John Crispin 3972b47458 revert: kernel: rtl8306: fix max pvid & remove port isolation
apparently this one was nt a good idea to merge

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

SVN-Revision: 40330
10 years ago
John Crispin bc03add273 kernel: export gluebi info to sysfs
Export the ubi_num and vol_id into the sysfs record of the gluebi-
emulated mtd device. Previously userspace didn't have a way to
map gluebi-emulated devices back to their corresponding ubi volumes.

SVN-Revision: 40306
10 years ago
John Crispin deba38f2a7 kernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfx
If the CPU port is not forced up, the link, at least on this board, is lost after
changes are applied. This makes sure that the link is restored. Regression tests
should confirm it doesn't break other boards.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40305
10 years ago
John Crispin 72cdb34ae8 kernel: rtl8306: fix max pvid & remove port isolation
- hide port pvid - vlan index relation
- switch initialises with vlans disabled so port isolation is not used
- remove special treatment of cpu port

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40304
10 years ago
John Crispin 6a72dc4082 kernel: rtl8306: cosmetic changes for swconfig
Changes to:
- show the correct "enable_vlan" value under "Global attributes"
- show tagged ports under "Vlan: ports"
- use get_port_link method to report link status

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40303
10 years ago
Gabor Juhos 627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
10 years ago
Imre Kaloz 132f7d3cc9 update to 3.14-rc8
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40023
10 years ago
Imre Kaloz b8e295aa7b upgrade 3.13 targets to 3.13.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40022
10 years ago
Felix Fietkau 479b0c82a2 kernel/generic: fix define in 642-bridge_port_isolate.patch
Patch 642-bridge_port_isolate.patch needs to be updated
for kernels 3.12, 3.13 and 3.14 as the define for BR_ISOLATE_MODE
conflicts with BR_LEARNING

Signed-off-by: Jonas Eymann <j.eymann@gmx.net>

SVN-Revision: 39955
10 years ago
Hauke Mehrtens fbb5b8af8e kernel: fix 990-gpio_wdt.patch patch
This uses the correct include now.

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

SVN-Revision: 39906
11 years ago
Hauke Mehrtens 128bb9f1a3 kernel: add missing config options for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39904
11 years ago
Florian Fainelli f664976483 kernel: backport ARM memset fixes for GCC 4.7/4.8
Now that GCC 4.8 is the default, make sure that we have the relevant
memset fixes to avoid nasty kernel crashes.

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

SVN-Revision: 39902
11 years ago
Luka Perkov c8b116d930 kernel/generic: drop already upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39855
11 years ago
Imre Kaloz 074af75668 add preliminary 3.14 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39789
11 years ago
Zoltan Herpai 2c771cc71f kernel: add missing config symbols to 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39781
11 years ago
Jonas Gorski 8ffe7e9d41 kernel: add missing config symbol to 3.13
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39745
11 years ago
Gabor Juhos f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
11 years ago
Jonas Gorski c1f397e1e1 b53: Make b53_switch_init static
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4869/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39683
11 years ago
Jonas Gorski 9eb60826f2 b53: Add BCM53128 switch support
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4867/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39682
11 years ago
Gabor Juhos ab6e3af7fc kernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP cases
This is a backport of code to improve the quality of fq_codel
hashing for 3.10 for some encapsulated protocols.

Not needed in 3.11 and later.

Patch-by: Dave Taht <dave.taht@bufferbloat.net>
Patchwork: http://patchwork.openwrt.org/patch/4902/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39640
11 years ago
Nicolas Thill cd164501b9 sunxi: move a lost CONFIG_CHARGER symbol to generic
SVN-Revision: 39634
11 years ago
Gabor Juhos 2288dd072b kernel: refresh configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39627
11 years ago
Zoltan Herpai f57f19ed81 3.13: revert r39601 as the symbol is already there
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39602
11 years ago
Zoltan Herpai a3dfcac7ba 3.13: add missing NF_TABLES symbol - until someone packages it
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39601
11 years ago
Zoltan Herpai e82a230930 3.13: add missing symbol
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39600
11 years ago
Luka Perkov cde033f918 kernel: rtl8306: update reset function
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 39589
11 years ago
Imre Kaloz af63cdf87a upgrade 3.13 targets to 3.13.2, refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org

SVN-Revision: 39582
11 years ago
Imre Kaloz 83d9cec491 upgrade 3.12 to 3.12.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39581
11 years ago
Imre Kaloz 40ad83f70d keep initramfs the default for us
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39561
11 years ago
Hauke Mehrtens f4b6bd8d0b kernel: XHCI PCI quirks for kernel 3.12 and 3.13
This adds empty definitions for the PCI quirks functions when they
should not be included in the kernel.
This is based on a patch by Daniel <daniel@makrotopia.org>

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

SVN-Revision: 39534
11 years ago
Hauke Mehrtens 7790ac5ecc kernel: fix bridge compilation on kernel 3.13
The int brnf_call_ebtables in the header should be extern, otherwise
every object file gets its own int and they will conflict when linking
the binary.

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

SVN-Revision: 39533
11 years ago
Hauke Mehrtens caf2bd456c kernel: add missing config symbol for 3.13.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39531
11 years ago
Zoltan Herpai ee3abfe853 and add some more symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39526
11 years ago
Imre Kaloz 29c6927f14 add more symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39524
11 years ago
Hauke Mehrtens f491623c37 kernel: bgmac: update bgmac to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39465
11 years ago
Hauke Mehrtens 7ae5ff92ae kernel: ssb: update ssb to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39464
11 years ago
Hauke Mehrtens e0d4a548fb kernel: bcma: update bcma to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39463
11 years ago
Felix Fietkau 4425082339 kernel: add missing changes to 220-gc_sections.patch that were accidentally dropped during porting to 3.13
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39458
11 years ago
Zoltan Herpai 3fdf04002c add missing symbol
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39439
11 years ago
Gabor Juhos a558bb4471 kernel/3.1x: yaffs: fix handling of small-page NAND devices
Since the yaffs code update (r39084), it is not
possible to install OpenWrt on RouterBoards with
small-page NAND chips. Fix the yaffs code to make
it work again.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39409
11 years ago
Zoltan Herpai 6ebfa8c33c add missing symbol
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39406
11 years ago
Gabor Juhos 7c137c187f ar71xx: swconfig: use the local helper to set LED brightness on link down
Use the 'swconfig_trig_set_brightness' function to set
the brightness value of the LED when the link goes down.
This ensures that the last brighness value is saved into
a local variable which is used to track the actual LED
status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39402
11 years ago
Gabor Juhos a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
11 years ago
Gabor Juhos 715c7533b9 kernel/3.8: update pci_disable_usb_common_quirks patch
Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39393
11 years ago
Gabor Juhos 89d60314e7 kernel/3.1x: add split code for LZMA compressed kernel based firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39387
11 years ago
Gabor Juhos e89476e0a8 Revert "kernel: create firmware partition from MyLoader partition parser"
This reverts r38197.

The automatically created firmware partition includes
the partition_table partition. Apart from the partition
table, this partition contains sensitive data on some
Compex devices which data can be destroyed when the
firmware partition gets modified. Revert the change to
prevent that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39382
11 years ago
Gabor Juhos bbe086873a kernel/3.10: update pci_disable_usb_common_quirks patch
Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39369
11 years ago
Zoltan Herpai f3c07b8621 modules: swconfig.c: update the error path on 3.13, and behave nicely with return
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39360
11 years ago
Zoltan Herpai 4d26250db1 modules: update swconfig.c to compile on 3.13 (compile-tested)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39359
11 years ago
Zoltan Herpai a7a890d9e8 add missing symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39358
11 years ago
Jonas Gorski d5b4292032 kernel: ocf: add missing dependency for hifn driver
The HIFN driver is a PCI driver, thus requires PCI support to be enabled
to compile. Therefore let it depend on PCI..

Should fix mvebu builds.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39357
11 years ago
Zoltan Herpai 7ee639a81c add missing symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39355
11 years ago
Hauke Mehrtens 1f4e6394ed b53: use drvdata to store driver data
we should not abuse the platform_data pointer.

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

SVN-Revision: 39354
11 years ago
Hauke Mehrtens de266cd1c1 b53: make b53_switch_reset_gpio() static
SVN-Revision: 39353
11 years ago
Zoltan Herpai 2cf8391b75 update ocf patches - as ENT_DEBUG is removed, move the messages into pr_notice
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39350
11 years ago
Imre Kaloz c89e789913 update/fixup overlayfs patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39349
11 years ago
Imre Kaloz 6bd1a37001 add initial 3.13 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39348
11 years ago
Gabor Juhos 2d28a07df7 kernel/3.1[02]: add AR8216_PHY_LEDS option
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39339
11 years ago
Gabor Juhos 0056ac55af generic: ar8216: add custom LED support for the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39338
11 years ago
Gabor Juhos 15d41de1eb generic: ar8216: allow to use chip specific cleanup callback
It will be used for AR8327.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39337
11 years ago
Gabor Juhos c7652f1f9e generic: ar8216: add optimized rmw operation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39336
11 years ago
Gabor Juhos 0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
11 years ago
Hauke Mehrtens 2bc9700c0d bcm53xx: update the ethernet core hacks
The PHY always says there is no link
Instead of doing this dma sync a mdelay does the same trick and it is as unreliable.

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

SVN-Revision: 39202
11 years ago
Hauke Mehrtens 5a55ace3b8 kernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39201
11 years ago
Hauke Mehrtens bc3d934148 kernel: bgmac: update patches
This updates the bgmac backport patch to the current upstream version
and adds some more patches mostly for BCM4707.

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

SVN-Revision: 39165
11 years ago
Luka Perkov 7632535589 kernel: backport upstream inet fix
Without it in some occasions oops is shown on network restart. Problem was
noticed on imx6 targed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39134
11 years ago
Gabor Juhos 0601b5f404 kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39090
11 years ago
Gabor Juhos 852e0f33db kernel/3.1[02]: add Winbond W25X05 SPI flash support
It is used on newer RouterBOARDs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39086
11 years ago
Gabor Juhos 7e3644d3cf kernel: update yaffs code
Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit bc76682d93955cfb33051beb503ad9f8a5450578
  Merge: 3a8580e ffa781d
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Jul 11 17:46:25 2013 +1200

      Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39084
11 years ago
Gabor Juhos 85755deaf6 kernel/3.9: remove yaffs patches
It is not used by any platform.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39083
11 years ago
Gabor Juhos 542e732058 kernel/3.6: remove yaffs support
It is not used by any platform.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39082
11 years ago
Gabor Juhos c05dc6f745 kernel/3.3: remove yaffs support
It is not used by any platform.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39081
11 years ago
Gabor Juhos aeaff0090c generic: ar8216: Enable jumbo frames on AR8327 by default
This patch enables jumbo frames on AR8327 switch by default.
I have tested it on TP-Link TL-WDR3600.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39076
11 years ago
Hauke Mehrtens 952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
11 years ago
Imre Kaloz e504547e4c upgrade 3.12 targets to 3.12.5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39055
11 years ago
Luka Perkov 47d1215dc7 kernel: added defines for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39009
11 years ago
Felix Fietkau 7a260c3620 ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39001
11 years ago
Jo-Philipp Wich 7d725aab9a generic: workaround arptables arpt_arp structure padding issue (#14577)
Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.

When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.

As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38999
11 years ago
Jo-Philipp Wich 21ee73c920 generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header install phase (#12907)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38998
11 years ago
Gabor Juhos f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
11 years ago
Gabor Juhos 9c4c620a11 kernel: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38970
11 years ago
Gabor Juhos c378d5e953 generic: ar8216: add AR8337N switch support
This patch is needed to use the switch inside the Sitecom WLR-8100;
it was unusable and detected as Generic-Phy before.

since ar8337 is behaving like ar8327
generally do the same thing
see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218
forward-ported to trunk

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4469/
[juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38952
11 years ago
Gabor Juhos 74a353f64f generic: ar8216: remove trailing whitespaces
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38951
11 years ago
Imre Kaloz c7d102816c refresh patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38930
11 years ago
Imre Kaloz 9100d559b5 make the wl12xx glue code available with compat-wireless, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38929
11 years ago
Imre Kaloz 412b772e24 add TI wireless symbols and enable the platform glue by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38928
11 years ago
Hauke Mehrtens eea5c0b166 kernel: backport get_cycles() fix
get_cycles() is used in some places as one part of the seed for the
kernel PRNG.

This backports the following commit from mainline linux kernel:
9c9b415c50bc298ac61412dff856eae2f54889ee

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

SVN-Revision: 38834
11 years ago
Zoltan Herpai 9269e58b2a kernel: add fix to block2mtd driver for modified error logging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38827
11 years ago
Zoltan Herpai 3a99e895ff kernel: add missing symbols for 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38826
11 years ago
Zoltan Herpai c4d8ddf1dc kernel: add missing symbols for 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38820
11 years ago
Felix Fietkau 2077361f12 kernel: backport an upstream fix to improve TCP performance for wifi drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38810
11 years ago
Hauke Mehrtens 0cdab0237d kernel: b53: fix untagged shift for BCM5365
The BCM5365 needs a shift of 7 bits and not 6 bits like the BCM5325 for
the untagged ports.

Thank you Russell for reporting this and testing the patch.

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

SVN-Revision: 38793
11 years ago
Hauke Mehrtens 7444a626e2 kernel: bgmac: make it send and receive some packages on BCM4708
This adds some more code for bgmac core rev 4 and it now restarts all
cores when initializing the first one on BCM4708. I am just able to
send under 100 packages and then DMA TX does not work any more.

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

SVN-Revision: 38714
11 years ago
Hauke Mehrtens b4a01fc854 kernel: bcma: detect pci ID 0x4313
This pci ID is used by sprom less BCM4313 devices.
This is a backport from the mainline kernel.

This is part of #13551.

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

SVN-Revision: 38713
11 years ago
Hauke Mehrtens 72b47e69c4 kernel: b53: add initial support for switches in BCM5301X
This is also known as BCM470{7,8,9}.

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

SVN-Revision: 38712
11 years ago
Hauke Mehrtens 7a82667372 kernel: adm6996: add support for ADM6996L and GPIO interface
This patch makes it possible to use adm6996.c on first generation
BCM47XX devices with ADM switches.
The GPIO bit banging protocol implementation was copied from the old
switch driver and adapted to this driver and changed to the mainline
kernel GPIO interface.
The ADM6996L is different from the ADM6996M which is supported, for
both specs are available in the Internet.

This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for
the device.

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

SVN-Revision: 38698
11 years ago
Gabor Juhos 3b89803983 kernel/3.10: add EOF marker support to the UBI layer
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38681
11 years ago
Luka Perkov f14a075cb4 kernel: add some config options
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38660
11 years ago
Imre Kaloz cc4b946fa2 update for 3.12 final
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38657
11 years ago
Gabor Juhos 35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
11 years ago
Gabor Juhos 5dba0a237e kernel/3.1[02]: move MTD root device setup code to mtdcore
The current code only allows to automatically set
root device on MTD partitions. Move the code to MTD
core to allow to use it with all MTD devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38643
11 years ago
Gabor Juhos 866dd2a378 kernel: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38642
11 years ago
Hauke Mehrtens c30346c2e1 kernel: add some config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38640
11 years ago
Hauke Mehrtens 24d73fbd33 kernel: bgmac: update backport patch
This adds some more bgmac patches from mainline kernel.

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

SVN-Revision: 38637
11 years ago
Hauke Mehrtens 0e655122c6 kernel: add missing config options
The buildbots found some new missing config options.

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

SVN-Revision: 38633
11 years ago
Hauke Mehrtens 2ab978d0a3 kernel: add some missing config options
This was spotted by the buildbots.

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

SVN-Revision: 38604
11 years ago
Gabor Juhos 2f27f5d404 generic: mtdsplit_uimage: add uImage magic for the WRN2200 board
Should fix boot failure on the WNR2200 boards.
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38594
11 years ago
Luka Perkov 3aba97dcba kernel: refresh 3.12 patches on -rc7 release
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38572
11 years ago
Hauke Mehrtens 7b7c06d2e3 kernel: add missing config optinons
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38570
11 years ago
Felix Fietkau 32a2f9a1c3 kernel: jffs2: ignore bad blocks after the end-of-filesystem marker
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38568
11 years ago
Luka Perkov be95e24155 kernel: fix compile error in 3.12
Upstream commit c655bc6896b94ee0223393f26155c6daf1e2d148 changed number of
arguments in nf_ct_iterate_cleanup() function.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38547
11 years ago
Luka Perkov fde5493acd kernel: add missing 3.12 config symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38546
11 years ago
Florian Fainelli 531d2b7aae kernel: handle Cavium Octeon Kconfig rename
Upstream commit 9ddebc46 ("MIPS: OCTEON: Rename Kconfig
CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC") renamed a Kconfig
symbol, thus making all MIPS builds ask for this specific Kconfig
symbol, add it.

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

SVN-Revision: 38535
11 years ago
Florian Fainelli 2333212ace kernel: add some missing 3.12 config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38532
11 years ago
Imre Kaloz e72c7e17a4 preliminary 3.12 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38528
11 years ago
Florian Fainelli 857a7a0124 kernel: make swconfig checkpath compliant
Fix the warnings and errors reported by checkpatch on swconfig.c

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

SVN-Revision: 38523
11 years ago
Gabor Juhos b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
11 years ago
Gabor Juhos 2a3df11af8 kernel/3.10: add missing config symbol
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38498
11 years ago
Hauke Mehrtens 81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
11 years ago
Jonas Gorski c08dc5bffa mvswitch: fix compilation for linux 3.10
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38368
11 years ago
Hauke Mehrtens a05d20a60f kernel: add default config for ARM_ERRATA symbols for kernel 3.3
Commit r37470 did not add a default conig for the ARM_ERRATA symbols for kernel 3.3.

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

SVN-Revision: 38352
11 years ago
Hauke Mehrtens 53a2c19c69 kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38307
11 years ago
Hauke Mehrtens 9e5eeb3c38 kernel: bgmac: fix BCM4707 patch
The bool logic was the wrong way around.

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

SVN-Revision: 38292
11 years ago
Hauke Mehrtens 101034fa23 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38291
11 years ago
Hauke Mehrtens fa839274b0 kernel: bcma: update to wireless-testing master-2013-10-01
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38290
11 years ago
Hauke Mehrtens 125fc703bb kernel: bgmac: move other bgmac patches to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.

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

SVN-Revision: 38289
11 years ago
Hauke Mehrtens 06c8b90ebf kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.
These are only the patches already applied in current net-next/master
branch.

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

SVN-Revision: 38288
11 years ago
Felix Fietkau a5e85d5a3e kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38246
11 years ago
Felix Fietkau 50ae6314d8 kernel: add another missing symbol for iio
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38241
11 years ago
Felix Fietkau 08a232c8cf kernel: add missing symbols for iio on older kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38240
11 years ago
Gabor Juhos 9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
11 years ago
Gabor Juhos 8d4eb18740 kernel/3.10: use backported patch for PMC SPI flash support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38218
11 years ago
Gabor Juhos 396c3b023e kernel/3.10: add '003-11-' prefix for patches backported from 3.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38217
11 years ago
Gabor Juhos 5847ec55ab kernel/3.9: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38216
11 years ago
Gabor Juhos 4562eb875b kernel/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38215
11 years ago
Hauke Mehrtens c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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

SVN-Revision: 38198
11 years ago
Gabor Juhos fc79d210e0 kernel: create firmware partition from MyLoader partition parser
This is in preparation for sysupgrade support for Compex devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38197
11 years ago
Gabor Juhos 7530971113 package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38187
11 years ago
Gabor Juhos 1bd2b56081 kernel/3.10: add upstream commit id to the backported hso patches
Also remove the internal patch numbers.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38179
11 years ago
Gabor Juhos 443072fda7 kernel/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38178
11 years ago
Gabor Juhos 2e62ff9320 kernel/3.10: add partition parser for Seama firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38114
11 years ago
Gabor Juhos 2f2ed5c5c1 kernel/3.10: add partition parser for uImage firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38113
11 years ago
Gabor Juhos 98db90576c kernel/3.10: add default partition name defines to mtdsplit.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38112
11 years ago
Gabor Juhos 61c39f923b kernel/3.10: add more helpers to the mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38111
11 years ago
Gabor Juhos daec7ad768 kernel/3.10: add separate rootfs partition parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38110
11 years ago
Gabor Juhos d89bea92b3 kernel/3.10: move squashfs check from rootfs split code into a separate file
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38109
11 years ago
Gabor Juhos 3b71cd94bc kernel/3.10: allow to use partition parsers for rootfs and firmware split
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38108
11 years ago
Gabor Juhos 6f2b80dff1 kernel/3.10: allow to use different MTD parser types
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38107
11 years ago
Felix Fietkau 9158a08983 kernel: backport a fix for multiqueue selection to prevent tcp reordering with fair queueing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38016
11 years ago
Hauke Mehrtens 0294358e11 kernel: add generic GPIO watchdog driver
This is used on Huawei E970 (brcm47xx).

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38010
11 years ago
Gabor Juhos a0d6cd4f49 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38002
11 years ago
Gabor Juhos 554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
11 years ago
Gabor Juhos 4beccfcccb kernel/3.10: move OpenWrt MTD options into a submenu
Separate OpenWrt specific MTD options from the mainline
option by moving those into a new submenu in the kernel
configuration interface.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37997
11 years ago
Hauke Mehrtens f5989e7f59 kernel: b53: detect revision of BCM5325
The revision is stored in a different register than it is in other
Broadcom switches.

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

SVN-Revision: 37995
11 years ago
Hauke Mehrtens 49d7c57fd1 kernel: b53: fix vlan write for BCM5325 revison 3+
These switches are integrated in some recent BCM53XX and BCM47XX SoCs
like the BCM53572.

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

SVN-Revision: 37994
11 years ago
Hauke Mehrtens cde1d53625 kernel: b53: use hard coded switch reset gpio on some boards.
The Linksys wrt310n v1 does not have a robo_reset config variable in
nvram, but GPIO Pin 8 is the pin needed for resetting the external
switch, Linksys hard coded it into their source code.

Thank you Devastator for testing.

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

SVN-Revision: 37988
11 years ago
Hauke Mehrtens 2da56b4ebc kernel: b53: add soft reset for BCM539x switches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37987
11 years ago
Gabor Juhos ec5ee2f269 generic/3.10: remove unused defines from the rootfs split patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37981
11 years ago
Gabor Juhos ac28225e24 generic/3.10: reduce number of ifdefs in the rootfs split code
Use the config_enabled() macro where it is possible.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37980
11 years ago
Gabor Juhos 3a241f67a7 generic/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37975
11 years ago
Gabor Juhos 2d49e32715 generic/3.10: rename mtd patches
- change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37974
11 years ago
Hauke Mehrtens 614e8f44bd kernel: update bcma and ssb to wireless-testing master-2013-09-09
SVN-Revision: 37957
11 years ago
Luka Perkov ed6d759f39 kernel: add support for ESMT F25L32PA with upstream submission
Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37956
11 years ago
Felix Fietkau 8eb57d0cd7 kernel: align the skb padding to power of two
The skb is usually started by a padding which allows the protocols in the
network stack to add their headers in front of the payload. The skb can be
reallocated in case the preallocated padding is not large enough. This can for
example happen in the function __skb_cow which will check the requested extra
headroom and allocate more buffer when the requested headroom is bigger than
the available one. The extra buffer is aligned again to the multiple of the
NET_SKB_PAD of the target architecture.

The macro used to create the multiple of the NET_SKB_PAD is written in a way
which allows only values power two as alignment parameter. The currently used
value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The
extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80,
128, 144 and so on. The generated values are also not monotonic (48 requested
bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64
allocated bytes).

These unexpected small values result in more reallocations of the buffer. This
was noticed prominently during tests between two QCA9558 720 MHz devices which
were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each
other. The throughput PC-to-PC during iperf TCP runs increased reliable from
186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s
in the other direction. This is a performance increase of ~14% just by reducing
the amount of reallocations.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 37948
11 years ago
Florian Fainelli 4434bc361d kernel: fix broken depends syntax introduced in r37933
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37942
11 years ago
Florian Fainelli 3668004858 kernel: Fix FIQ code on VIVT CPUs (#14145)
Backport an upstream patch to fix FIQ code on VIVT CPUs

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

SVN-Revision: 37940
11 years ago
Luka Perkov 7d73153e86 kernel: allow hwmon GSC driver for all targets
- enable using hwmon GSC driver on all targets
- add a kmod package for it

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37933
11 years ago
Felix Fietkau 11926c2fd8 kernel: fix arch-dependent bug in hso module
Currently, the module causes an oops at least on rt5350. These patches
have been accepted upstream at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 37931
11 years ago
Jonas Gorski 4b0655500a kernel: b53: support phy ids for BCM5365
BCM5365 (and probably other older variants) use a different phy id, so
the phy driver never attached for them.
Fix this by adding the appropriate phy id to the fixup and the phy
driver.

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37906
11 years ago
Imre Kaloz 445d1a8b27 Add missing symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37897
11 years ago
Hauke Mehrtens 4eced13a37 kernel: b53: allow access the MIB counters on BCM5365
b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

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

SVN-Revision: 37895
11 years ago
Gabor Juhos d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
11 years ago
Gabor Juhos 0950922925 generic: remove linux version checks from myloader.c
The myloader partition parser code uses ifdef wrappers
to make the code usable on kernels below version 3.2.
All targets are using kernel 3.3 at least so the wraper
is not needed. Remove that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37880
11 years ago
Felix Fietkau 999ec62da7 kernel: fix booting issues on imx23 and imx6 targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37854
11 years ago
Gabor Juhos a4c2853261 kernel: don't hide the 'Warning: unable to open an initial console' message
The 'Warning: unable to open an initial console' message
indicates an error in the rootfs. Remove the patch which
hides the warning.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37848
11 years ago
Gabor Juhos 012f214e6f kernel: ensure that /dev/console exists in initramfs
Linux expects that the /dev/console node is present
in the rootfs image. Create the node in initramfs,
in order to make std{in,out,err} usable even in early
init process.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37846
11 years ago
Felix Fietkau c75416292a kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37842
11 years ago
Gabor Juhos 043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
11 years ago
Gabor Juhos 6f232cba62 generic: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37831
11 years ago
Gabor Juhos 2d89ba8210 kernel/3.10: backport of_pci_get_devfn function from 3.11
Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37826
11 years ago
Felix Fietkau 3848e6a246 kernel: crashlog: Avoid out-of-bounds write
vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 37820
11 years ago
Felix Fietkau e2aa807b60 kernel: add back missing declaration in the MIPS DMA patch that broke octeon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37811
11 years ago
Luka Perkov 4f679c1775 kernel: drop dead pwm code
The files have last been used with 2.6.x kernel.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37810
11 years ago
Luka Perkov a2dccb958c kernel: drop dead glamo code
The code is not used since the s3c24xx target was removed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37809
11 years ago
Luka Perkov f1509b1958 kernel: replace local m25p80 patches with upstream submission
http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37808
11 years ago
Luka Perkov 18a36d3062 kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
The patch in question has been accepted upstream in commit:

55bf75b7dd8ec875d048824f3cdecf8254e292e5

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37807
11 years ago
Luka Perkov 5c018d5096 kernel: drop 110-fix_mtd_include.patch
Kernel builds just fine without this patch so we can just remove it.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37805
11 years ago
Felix Fietkau d16060d5a3 kernel: fix a small #ifdef bug in the noncoherent dma check rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37791
11 years ago
Felix Fietkau e27f67b30a kernel: improve dma ops inlining patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37790
11 years ago
Felix Fietkau 8b8875b305 ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37769
11 years ago
Felix Fietkau 3ead1e058c kernel: add patch to inline mips dma mapping functions - reduces code size and improves performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37763
11 years ago
Felix Fietkau e5fd991c6c rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37760
11 years ago
Florian Fainelli d1914b4939 kernel: add some missing config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37710
11 years ago
Hauke Mehrtens 9d4145efe5 kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

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

SVN-Revision: 37709
11 years ago
John Crispin db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
11 years ago
Hauke Mehrtens b2d2ca4bbd kernel: add missing config options
SVN-Revision: 37660
11 years ago
Hauke Mehrtens 219eac1856 kernel: add missing config option
SVN-Revision: 37657
11 years ago
Hauke Mehrtens c47a55dd0d kernel: add missing config option
brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

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

SVN-Revision: 37656
11 years ago
Jonas Gorski 3e9ad14992 kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37652
11 years ago
Hauke Mehrtens 8966b86067 kernel: b53: use devm_gpio_request_one() to request gpio
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37648
11 years ago