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
2015-01-17 14:24:56 +00:00
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
2015-01-17 14:24:47 +00:00
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
2015-01-17 14:24:40 +00:00
Felix Fietkau
4f2fe5d7fa
kernel: fix disable_irq() on MIPS CPU IRQs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43973
2015-01-15 12:19:12 +00:00
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
2015-01-11 17:20:16 +00:00
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
2015-01-11 17:20:06 +00:00
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
2015-01-11 17:20:03 +00:00
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
2015-01-11 17:19:58 +00:00
Luka Perkov
b78cddafcc
kernel: update 3.14 to 3.14.28
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43929
2015-01-11 01:28:32 +00:00
Zoltan Herpai
3db73fc350
kernel: add missing config symbols for 3.18
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43912
2015-01-10 17:23:55 +00:00
Imre Kaloz
182bbf60b7
upgrade to 3.18.2
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43892
2015-01-09 12:35:19 +00:00
John Crispin
baad87ae3d
kernel: add SECCOMP to menuconfig
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43888
2015-01-08 21:23:18 +00:00
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
2015-01-05 13:03:07 +00:00
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
2015-01-05 13:02:57 +00:00
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
2015-01-05 13:02:44 +00:00
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
2015-01-05 13:02:31 +00:00
Luka Perkov
deb35ad4ac
kernel: update 3.18 to 3.18.1
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43821
2015-01-03 22:59:47 +00:00
Luka Perkov
9c8422a09b
kernel: update 3.14 to 3.14.27
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43820
2015-01-03 22:59:43 +00:00
Felix Fietkau
baa3a38ac6
kernel: add mtd split support for trx images
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43809
2015-01-02 21:53:11 +00:00
Felix Fietkau
cc5f89c66a
kernel: add a mtdsplit implementation for tp-link firmware headers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43806
2015-01-02 21:52:44 +00:00
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
2015-01-02 21:52:35 +00:00
Hauke Mehrtens
469e8adbac
kernel: add some missing config options
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43794
2014-12-29 11:59:32 +00:00
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
2014-12-27 13:02:58 +00:00
Felix Fietkau
a96afecf5c
kernel: backport a few PHY layer fixes from upstream
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43776
2014-12-26 12:36:30 +00:00
Felix Fietkau
5506420980
kernel: remove openwrt micrel.c (replaced by upstream driver)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43762
2014-12-22 14:37:07 +00:00
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
2014-12-20 15:26:38 +00:00
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
2014-12-19 22:02:59 +00:00
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
2014-12-18 16:25:22 +00:00
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
2014-12-18 11:28:47 +00:00
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
2014-12-18 11:28:39 +00:00
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
2014-12-18 11:28:34 +00:00
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
2014-12-18 11:28:28 +00:00
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
2014-12-18 11:28:20 +00:00
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
2014-12-17 12:27:14 +00:00
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
2014-12-14 00:35:03 +00:00
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
2014-12-13 20:06:47 +00:00
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
2014-12-13 08:00:22 +00:00
John Crispin
ee6b5c6007
kernel/generic: add ledtrig support to libata
...
SVN-Revision: 43674
2014-12-12 20:24:21 +00:00
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
2014-12-12 16:23:29 +00:00
Luka Perkov
a3eed6bc35
kernel: refresh patches
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43643
2014-12-11 23:29:07 +00:00
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
2014-12-10 18:55:53 +00:00
Luka Perkov
fa5f896cb7
kernel: add missing config symbols for 3.18
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43605
2014-12-10 18:13:34 +00:00
Luka Perkov
fd492354bb
kernel: refresh patches
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43591
2014-12-09 23:29:52 +00:00
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
2014-12-09 11:01:49 +00:00
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
2014-12-08 16:11:52 +00:00
Felix Fietkau
712f6ec52a
kernel: update linux 3.18 to final release
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43569
2014-12-08 13:16:35 +00:00
Felix Fietkau
58de4a4759
kernel: backport an upstream xfrm crash fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43568
2014-12-08 12:50:37 +00:00
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
2014-12-08 12:21:17 +00:00
Felix Fietkau
14a163ca58
kernel: remove the obsolete vm_exports patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43565
2014-12-08 12:04:34 +00:00
Felix Fietkau
9a495f6bbb
kernel: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43564
2014-12-08 12:04:25 +00:00