Commit graph

1554 commits

Author SHA1 Message Date
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
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
2014-12-08 10:04:39 +00:00
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
2014-12-07 21:53:20 +00:00
Hauke Mehrtens
563f963b1b kernel: refresh patches for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43536
2014-12-07 16:12:44 +00:00
Rafał Miłecki
8033ccc975 kernel: update bcma up to 2014-10-27
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43527
2014-12-05 16:11:03 +00:00
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
2014-12-03 18:17:17 +00:00
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
2014-12-03 16:05:06 +00:00
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
2014-12-03 14:32:38 +00:00
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
2014-12-01 21:30:35 +00:00
Felix Fietkau
d1c0a65266 kernel: update 3.18 to rc7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43479
2014-12-01 17:38:54 +00:00
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
2014-12-01 16:15:08 +00:00
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
2014-12-01 16:15:02 +00:00
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
2014-12-01 16:14:54 +00:00
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
2014-12-01 16:14:43 +00:00
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
2014-12-01 16:14:39 +00:00
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
2014-12-01 16:14:32 +00:00
Luka Perkov
c691430897 kernel: add missing config symbol for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43444
2014-11-30 22:12:20 +00:00
Luka Perkov
dac3d29ec5 generic: set CONFIG_GENERIC_NET_UTILS
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43431
2014-11-30 01:14:12 +00:00
Luka Perkov
070d3b27c2 kernel: update 3.14 to 3.14.25
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43427
2014-11-29 10:30:58 +00:00
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
2014-11-28 01:29:51 +00:00
Felix Fietkau
14db2826ad ar8216: suppress PHY reset for linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43410
2014-11-27 18:26:06 +00:00
Felix Fietkau
77e1a3675a kernel: backport patches for overriding PHY reset to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43409
2014-11-27 18:26:00 +00:00
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
2014-11-27 16:24:25 +00:00
Felix Fietkau
1f5987c5d3 kernel: keep __bug_table with gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43404
2014-11-27 15:02:11 +00:00
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
2014-11-26 08:59:41 +00:00
Imre Kaloz
60522c8ba7 rename overlayfs' symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43375
2014-11-24 22:09:47 +00:00