Commit Graph

1796 Commits (04053a12174a30922e5b4ae16a95132bfa02fee4)

Author SHA1 Message Date
Luka Perkov ee3eade285 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44137
10 years ago
Jo-Philipp Wich 08dad3f429 xburst: fix kernel build
Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is
still required to properly build the xburst kernel.

Fix the syntax error in the preprocessed code by explicitely undefining the
"memcpy" and "memset" macros prior to declaring the replacements functions.

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

SVN-Revision: 44133
10 years ago
Imre Kaloz d26694243a generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44126
10 years ago
Imre Kaloz 53c7248554 generic/3.18: update to 3.18.3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44121
10 years ago
Felix Fietkau 186db26d05 kernel: remove linux 3.3 patches and config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44109
10 years ago
Felix Fietkau f7ece95303 ar8216: prefix mii_xxx functions to avoid kernel namespace pollution
Prefix the exported mii_xxx32 functions with ar8xxx_
to avoid kernel namespace pollution.

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

SVN-Revision: 44105
10 years ago
Felix Fietkau 3a313a3e11 ar8216: add swconfig attribute to display ARL table on AR8327/AR8337
Add global read-only swconfig attribute "arl_table" to display the
address resolution table.
So far the chip-specific part is implemented for AR8327/AR8337 only
as I don't have the datasheets for the other AR8XXX chips.

Successfully tested on TL-WDR4300 (AR8327rev2)
and TL-WDR4900 (AR8327rev4).

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

SVN-Revision: 44104
10 years ago
Felix Fietkau 6ce848f622 ar8216: decrease page switch wait time
Until a few years ago the page switch wait time was set to msleep(1)
what was changed to usleep_range(1000, 2000) later.

I can not imagine that a low-level operation like switching page
on register level takes so much time.
Most likely the value of 1ms was initially set to check whether
it fixes an issue and then remained w/o further checking whether
also a smaller value would be sufficient.

Now the wait time is set to 5us and I successfully tested this on
AR8327. IMHO 5us should be plenty of time for all supported chips.
However I couldn't test this due to missing hardware.

If other chips should need a longer wait time we can add the
wait time as a parameter to the ar8xxx_chip struct.

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

SVN-Revision: 44103
10 years ago
Felix Fietkau a1fba9dfbe ar8216: add link change detection for switch ports
Check for switch port link changes and
- flush ATU in case of a change
- report link change via syslog

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

SVN-Revision: 44102
10 years ago
Felix Fietkau 74146c62c0 ar8216: fix ATU flushing
The functionality to flush the address translation table contains two bugs
which luckily compensate each other.
1. Just setting the operation is not sufficient to perform the flushing.
   The "active" bit needs to be set to actually trigger an action.
   For the vtu operations this is implemented correctly.
2. ar8xxx_phy_read_status is called every 2s by the phy state machine
   to check for link changes. This would have caused an ATU flush
   every 2s.

Fix the chip-specific ATU flush functions and remove the ATU flush call
from ar8xxx_phy_read_status.

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

SVN-Revision: 44101
10 years ago
Zoltan Herpai 91260ad6ef kernel: add missing config symbol for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44034
10 years ago
John Crispin 90ef62c78f kernel: preserve bootloader command line on MIPS
Somewhere in the conversion of the MIPS architecture code to Device Tree
usage, there's been a failure to keep the separate variables holding the
kernel command line reconciled between the tree and the bootloader. This
patch restores previous functionality that broke.

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

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

SVN-Revision: 44026
10 years ago
Felix Fietkau 216100edb4 kernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44024
10 years ago
Felix Fietkau 6dfea16ab9 ar8216: display flow control info in swconfig get_link in case of autonegatiation too
The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't
consider the autonegotiated flow control.
AR8327/AR8337 provide the info about autonegotiated rx/tx flow control
in bits 10 and 11 of the port status register.
Use these values to display info about autonegotiated rx/tx flow
control as part of the get_link attribute.

Successfully tested on TL-WDR4900 (AR8327 rev.4) and
TL-WDR4300 (AR8327 rev.2).

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

SVN-Revision: 44023
10 years ago
Felix Fietkau 53c0c6054f ar8216: add 802.3az EEE info to swconfig get_link attribute
AR8327/AR8337 allow to read the result of EEE autonegotiation.
If EEE is autonegotiated between the link partners, display
this as part of the swconfig get_link attribute.

eee100:  100MBit EEE supported by both link partners
eee1000: 1GBit EEE supported by both link partners

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

SVN-Revision: 44022
10 years ago
Felix Fietkau bdc0750191 ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port
Users reported network issues with AR8327 which turned out to be caused
by EEE not working correctly with certain link partners (ticket 14597).
The workaround was to disable EEE on all ports (changeset 41577).

The issue was with certain link partners only, therefore this patch
allows to control usage of EEE per port via swconfig.
Still the default is to initially disable EEE on all ports.

Successfully tested on a TL-WDR4900 (AR8327 rev.4)

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

SVN-Revision: 44021
10 years ago
John Crispin 64ccdb98fb ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set
Introduce ar8xxx_reg_clear complementing ar8xxx_reg_set.

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

SVN-Revision: 44004
10 years ago
John Crispin 0fb39e6f4b ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate.

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

SVN-Revision: 44003
10 years ago
John Crispin 1cb2596f19 ar8216: define all switch_addr structs as const
Define all switch_addr structs as const.

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

SVN-Revision: 44002
10 years ago
Felix Fietkau 4f2fe5d7fa kernel: fix disable_irq() on MIPS CPU IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43973
10 years ago
Luka Perkov 9db3df9d6b mvsw61xx: track and set per-VLAN port state in STU
Since the driver doesn't know anything about (M)STP
we just hard-set the ports to be enabled if they are
part of the VLAN.

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

SVN-Revision: 43938
10 years ago
Luka Perkov 0b2cbeca7a mvsw61xx: clean up and expand register definitions
- eliminate MV_CPUPORT; not necessary since we define
  the CPU port(s) via Device Tree

- add STU and expand VTU operations

- update register names to match those of 88E61xx rather than
  mvswitch's 88E6060

- use more consistent formatting

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

SVN-Revision: 43937
10 years ago
Luka Perkov 1e39f3aef8 mvsw61xx: rework chip recognition
Recognizes 88E6171/6172/6176 at the moment.

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

SVN-Revision: 43936
10 years ago
Luka Perkov a1872182bb mvsw6171: rename to 'mvsw61xx'
In preparation for properly supporting switches
beyond the 88E6171.

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

SVN-Revision: 43935
10 years ago
Luka Perkov b78cddafcc kernel: update 3.14 to 3.14.28
Signed-off-by: Luka Perkov <luka@openwrt.org>

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

SVN-Revision: 43912
10 years ago
Imre Kaloz 182bbf60b7 upgrade to 3.18.2
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43892
10 years ago
John Crispin baad87ae3d kernel: add SECCOMP to menuconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43888
10 years ago
Felix Fietkau 1cbf0fbcb4 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
Move all AR8327/AR8337-specific driver code into a separate source file
ar8327.c and adjust patches so that ar8327.c is compiled if
CONFIG_AR8216_PHY is set.

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

SVN-Revision: 43845
10 years ago
Felix Fietkau cc02d4c72d ar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.h
Move several structure definitions and #defines from ar8216.c
to ar8216.h and move AR8327/AR8337 header stuff into a new
header file ar8327.h.

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

SVN-Revision: 43844
10 years ago
Felix Fietkau 7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

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

SVN-Revision: 43842
10 years ago
Felix Fietkau 2b9379052e kernel: bridge: multicast: backport a few more fixes for 3.10
The following patches unfortunately didn't hit the kernel stable
branches yet, therefore cherrypicking them for OpenWRT here:

* bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries
* bridge: multicast: enable snooping on general queries only
* bridge: multicast: add sanity check for general query destination

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

SVN-Revision: 43841
10 years ago
Luka Perkov deb35ad4ac kernel: update 3.18 to 3.18.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43821
10 years ago
Luka Perkov 9c8422a09b kernel: update 3.14 to 3.14.27
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43820
10 years ago
Felix Fietkau baa3a38ac6 kernel: add mtd split support for trx images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43809
10 years ago
Felix Fietkau cc5f89c66a kernel: add a mtdsplit implementation for tp-link firmware headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43806
10 years ago
Felix Fietkau 4153c0adff kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43805
10 years ago
Hauke Mehrtens 469e8adbac kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43794
10 years ago
Felix Fietkau 604fc8faf5 kernel/generic: fix warnings if libata-ledtrig is disabled
accidentally #if was used instead of #ifdef, thus gcc warned
about CONFIG_ATA_LEDS being undefined...

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

SVN-Revision: 43786
10 years ago
Felix Fietkau a96afecf5c kernel: backport a few PHY layer fixes from upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43776
10 years ago
Felix Fietkau 5506420980 kernel: remove openwrt micrel.c (replaced by upstream driver)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43762
10 years ago
Felix Fietkau 570fe5c662 kernel: disable soft-reset for generic PHY devices to avoid accidentally clearing preinitialized state
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43757
10 years ago
Luka Perkov 0847247129 mvsw6171: note support for 88E6172 switches
The '6171 and '6172 are similar enough to work
without any changes to the code.

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

SVN-Revision: 43753
10 years ago
Hauke Mehrtens abca0462d3 kernel: bgmac: fix some problems
There are some problems in the napi usage that are fixed now.

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

SVN-Revision: 43749
10 years ago
Felix Fietkau 2f9b042d69 ar8216: Inline function ar8xxx_create_mii
Inline function ar8xxx_create_mii.

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

SVN-Revision: 43743
10 years ago
Felix Fietkau 2289c7a010 ar8216: Remove read/write/rmw member functions from ar8xxx_priv
Remove read/write/rmw member functions from ar8xxx_priv

There seems to be no real benefit of the ar8xxx_priv member functions
read/write/rmw as one implementation exists for each of them only.
Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then
mapped to ar8xxx_rmw.
Rename the ar8xxx_mii_.. functions to ar8xxx_.. and use them directly.

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

SVN-Revision: 43742
10 years ago
Felix Fietkau 45a494b808 ar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII ops
Create helpers mii_read32 / mii_write32 for 32 bit MII ops.
Rename r3 variable to page in ar8xxx_mii_write to make it consistent
with the other ar8xxx_mii_xxxx functions.

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

SVN-Revision: 43741
10 years ago
Felix Fietkau 0e7f844c66 ar8216: Factor out chip-specific parameters from ar8xxx_probe_switch
Factor out chip-specific parameters from ar8xxx_probe_switch.
Move the ar8xxx_chip definitions after the swops definitions.

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

SVN-Revision: 43740
10 years ago
Felix Fietkau 054767cebc ar8216: remove unused function parameter in ar8327_led_register
Remove unused function parameter in ar8327_led_register.

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

SVN-Revision: 43739
10 years ago
Felix Fietkau d27c682def kernel: disable multicast-to-unicast translation for ipv6 neighbor solicitation (#17625)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43736
10 years ago
Rafał Miłecki b1bfed548c kernel: warn users to use the new (dedicated) firmware splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43700
10 years ago
Rafał Miłecki 2b4fbeb6d4 kernel: move old firmware uimage splitter into separated patch
This will allow us to drop it in the future. This patch doesn't change
the final mtdpart.c, it remains the same.

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

SVN-Revision: 43696
10 years ago
John Crispin 4a7c88f139 kernel/generic: remove some left-over garbage from ledtrig patch
cosmetics. clean a style issue introduced by r43674.

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

SVN-Revision: 43676
10 years ago
John Crispin ee6b5c6007 kernel/generic: add ledtrig support to libata
SVN-Revision: 43674
10 years ago
Felix Fietkau 5b16fd1bf8 ar8216: enable cpu port to receive arp and broadcast frames for ar8236
Signed-off-by: Weijie Gao <hackpascal@gmail.com>

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

SVN-Revision: 43643
10 years ago
Luka Perkov a1da38f7b1 kernel: drop CONFIG_PROC_DEVICETREE in 3.18
This option was removed in upstream commit 8357041.

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

SVN-Revision: 43607
10 years ago
Luka Perkov fa5f896cb7 kernel: add missing config symbols for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

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

SVN-Revision: 43591
10 years ago
Felix Fietkau 27f36718d3 kernel: add a patch to make netfilter conntrack cache routing information
Significantly improves routing / NAT performance

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43587
10 years ago
Jonas Gorski bdb1ee51f8 brcm63xx: fix a few issues in irq chip drivers
Fix locking and lock usage, making it compile for SMP.

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

SVN-Revision: 43578
10 years ago
Felix Fietkau 712f6ec52a kernel: update linux 3.18 to final release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43569
10 years ago
Felix Fietkau 58de4a4759 kernel: backport an upstream xfrm crash fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43568
10 years ago
Felix Fietkau 0cebaafa6e kernel: add missing check for skb->dev on netfilter xfrm optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43567
10 years ago
Felix Fietkau 14a163ca58 kernel: remove the obsolete vm_exports patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43565
10 years ago
Felix Fietkau 9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
10 years ago
Felix Fietkau 0485747912 kernel: fix x86 objdump invocation on 3.14 and 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43557
10 years ago
Hauke Mehrtens d9bb8326fa kernel: update bcma and ssb to wireless-testing master-2014-12-05
This brings ssb and bcma to wireless-testing tag master-2014-12-05

In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.

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

SVN-Revision: 43544
10 years ago
Hauke Mehrtens 563f963b1b kernel: refresh patches for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43536
10 years ago
Rafał Miłecki 8033ccc975 kernel: update bcma up to 2014-10-27
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43527
10 years ago
Felix Fietkau 426467beba kernel: add missing null pointer check for mips dma ops inline patch on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43511
10 years ago
John Crispin a21c9fd655 kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43507
10 years ago
John Crispin a10a204aab kernel: make ubi auto-attach check for a tar file magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43506
10 years ago
John Crispin 9b5f583906 kernel: add driver for Marvell 88E6171 switch
This is a swconfig driver for the Marvell 88E6171 switch,
which is a 7-port GigE switch with two CPU ports and 64
802.1q VLANs.

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

SVN-Revision: 43486
10 years ago
Felix Fietkau d1c0a65266 kernel: update 3.18 to rc7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43479
10 years ago
John Crispin ecd27db757 ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

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

SVN-Revision: 43471
10 years ago
John Crispin ae15531bd2 ar8216: factor out mii_lo_first to ar8xxx_chip
Factor out mii_lo_first to ar8xxx_chip.

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

SVN-Revision: 43470
10 years ago
John Crispin ea9324f3d3 ar8216: factor out chip-specific data structures from ar8xxx_priv
Factor out chip-specific data structures from ar8xxx_priv.

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

SVN-Revision: 43469
10 years ago
John Crispin a3b651635f ar8216: factor out set_mirror_regs to ar8xxx_chip
Factor out set_mirror_regs to ar8xxx_chip.
Remove related chip_is_... checks.

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

SVN-Revision: 43468
10 years ago
John Crispin b82a08f5b6 ar8216: factor out mib_func to ar8xxx_chip
Factor out mib_func to ar8xxx_chip. Remove related chip_is_... checks.

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

SVN-Revision: 43467
10 years ago
John Crispin af003867b1 ar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip
Factor out info whether switch should be configured at probe stage
to ar8xxx_chip. Remove related chip_is_... checks.

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

SVN-Revision: 43466
10 years ago
Luka Perkov c691430897 kernel: add missing config symbol for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43444
10 years ago
Luka Perkov dac3d29ec5 generic: set CONFIG_GENERIC_NET_UTILS
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43431
10 years ago
Luka Perkov 070d3b27c2 kernel: update 3.14 to 3.14.25
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43427
10 years ago
Florian Fainelli d73dc14957 kernel: 3.18: Fix patch 644 dependency chain
This patch introduces some code that is compiled in whenever
CONFIG_BRIDGE_NETFILTER is built, with the code called from code compiled under
CONFIG_BRIDGE, CONFIG_BRIDGE_IGMP_SNOOPING or CONFIG_BRIDGE_NF_EBTABLES.

Unfortunately, these options aren't setting explicitly the dependency they now
have on CONFIG_BRIDGE_NETFILTER, for obvious reasons for CONFIG_BRIDGE.

However, this is not working really well when CONFIG_BRIDGE_NETFILTER is built
as a module, since code statically compiled will now use a function that is not
in the kernel image, which makes the linker grumpy.

Solve this by removing the option to build CONFIG_BRIDGE_NETFILTER as a module,
and protect our function definition by an IS_BUILTIN instead of a IS_ENABLED
macro. This fixes the issue for CONFIG_BRIDGE and CONFIG_BRIDGE_IGMP_SNOOPING.

Fixing CONFIG_BRIDGE_NF_EBTABLES has to be handled a bit differently, since it
directly references a variable that will not be declared if
CONFIG_BRIDGE_NETFILTER is not set. Protect the variable affectations by an
ifdef to make sure this doesn't happen.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43419
10 years ago
Felix Fietkau 14db2826ad ar8216: suppress PHY reset for linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43410
10 years ago
Felix Fietkau 77e1a3675a kernel: backport patches for overriding PHY reset to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43409
10 years ago
Felix Fietkau a03b522bd6 kernel: add missing KEEP() statements for gc-sections patch in 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43405
10 years ago
Felix Fietkau 1f5987c5d3 kernel: keep __bug_table with gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43404
10 years ago
John Crispin 271a4d804a kernel: unset CONFIG_ARM_CCN
oldconfig kept asking for that config symbol...

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

SVN-Revision: 43386
10 years ago
Imre Kaloz 60522c8ba7 rename overlayfs' symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43375
10 years ago
Imre Kaloz c26c5eff0e update .18 support for -rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43357
10 years ago
Felix Fietkau 35902404fc ar8216: Fix issue with autoneg being disabled under 3.14, revert 43332
Patch reverts 43332 which seems to cause issues with VLAN functionality.
Add a specific check to check whether ANEG is still enabled and re-enable
it if necessary. Disable generic phy soft reset for kernel >=3.16.

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

SVN-Revision: 43356
10 years ago
Felix Fietkau c9340fd8a9 ar8216: Use generic hw_init from ar8236 for ar8216 too
We should make sure that also for ar8216 hw gets initialized.
For ar8216 hw_init is a dummy currently. The hw_init used for ar8236
should be generic enough to be usable with ar8216 too.

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

SVN-Revision: 43334
10 years ago
Felix Fietkau 0178b516a2 ar8216: simplify PHY fixup/init
Move the PHY fixup call to the PHY init loop.
Use ar8xxx_has_gige in the PHY init instead of passing the gigE
capability via function parameter.

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

SVN-Revision: 43333
10 years ago
Felix Fietkau 43e3e88379 ar8216: use genphy_config_aneg also for PHY 0
Kernel 3.14 introduced a switch reset in phy_init_hw in drivers/net/phy
causing BMCR_ANENABLE to get cleared.

Due to the fact that ar8xxx_phy_config_aneg does nothing for
PHY 0 autonegatiation support remains disabled.
This can cause ports to operate at 10MBit/half-duplex only.

Fix this by calling genphy_config_aneg for PHY 0 too as
genphy_config_aneg sets BMCR_ANENABLE if it's not yet set.
Fixes: ticket 17800

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

SVN-Revision: 43332
10 years ago
Felix Fietkau 898712f43f ar8216: factor out PHY init code into a generic function
PHY init code in the switch-specific hw_init functions is mainly
identical. Factor it out into a generic ar8xxx_phy_init function.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43331
10 years ago
Felix Fietkau 20baeb5595 ar8216: introduce fixup_phys callback in ar8xxx_chip
Move phy fixup code from the chip-specific hw_init functions into a
fixup_phys callback.

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

SVN-Revision: 43330
10 years ago
Felix Fietkau 37fefea79b ar8216: after a switch reset poll until BCMR_RESET is cleared
Currently there is a fixed 1000ms wait time after the switch was reset.
Most if not all switches need much less time to perform a reset.
Therefore replace the fixed wait time with polling for BMCR_RESET to
be cleared.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43329
10 years ago
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