Commit graph

1735 commits

Author SHA1 Message Date
Imre Kaloz
0d8d48641d generic/4.0: add missing symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44880
2015-03-19 10:11:20 +00:00
Felix Fietkau
b011293d0b kernel: replace GRO optimization patch with a new one that supports VLANs/bridges with different MAC addresses
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44877
2015-03-18 18:22:41 +00:00
Felix Fietkau
17afb853ee kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0
targets might need a minor refresh as well, however, it looks
like everything still applies cleanly with occasional small
offsets.

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

SVN-Revision: 44876
2015-03-18 18:21:08 +00:00
Jonas Gorski
87568ebeac b53: reverse duplex bit meaning for IMP state override register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44875
2015-03-18 10:44:15 +00:00
Felix Fietkau
f30358d41a kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44873
2015-03-17 17:14:48 +00:00
Felix Fietkau
caf94290ce kernel: add a few more missing config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44856
2015-03-17 07:24:51 +00:00
Felix Fietkau
06cb90f8a2 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44850
2015-03-16 21:17:41 +00:00
John Crispin
d6b3eba475 kernel: add missing MTD_SPLIT_FIT_FW symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44827
2015-03-16 08:05:42 +00:00
Felix Fietkau
7f7e0a21b8 kernel: remove linux 3.13 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44804
2015-03-16 05:52:02 +00:00
Felix Fietkau
c75c90edf6 kernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44801
2015-03-16 05:16:14 +00:00
Felix Fietkau
adb6d8f93f kernel: fix duplicate use of patch number 490
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44800
2015-03-16 05:16:07 +00:00
Felix Fietkau
d6fbb77bc8 kernel: add a few missing config symbols for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44799
2015-03-16 04:47:28 +00:00
Felix Fietkau
d5b99a2d74 kernel: add missing description for GRO optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44798
2015-03-16 04:19:09 +00:00
Felix Fietkau
270bc6427b kernel: skip GRO for packets bridged to other hosts
Eliminates excessive skb copying when bridging from LAN to WLAN on
ramips.

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

SVN-Revision: 44797
2015-03-15 20:32:09 +00:00
John Crispin
9a863f803e kernel: mtdsplit: add support for FIT image
If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44792
2015-03-15 19:39:27 +00:00
Jonas Gorski
085b8e0014 b53: global config is part of the management page, not the control page
It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44788
2015-03-15 14:19:28 +00:00
Felix Fietkau
50d4775df0 kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44757
2015-03-15 04:43:22 +00:00
Felix Fietkau
09ac7d4697 kernel: add missing config symbol for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44756
2015-03-15 04:40:10 +00:00
Felix Fietkau
c5aa269d57 kernel: linux 3.19 also needs the network namespace related fd export patch (#19161)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44751
2015-03-14 05:38:14 +00:00
Felix Fietkau
cd34dcd2ce atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25
This patch starts upsteam ath25 code backporting.

No functional changes.

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

SVN-Revision: 44706
2015-03-13 02:57:51 +00:00
Felix Fietkau
944612680d kernel: backport fib_trie improvements/fixes from 4.0-rc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44695
2015-03-12 15:27:44 +00:00
Felix Fietkau
7a6593267c kernel: backport symbol export from r44653 to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44681
2015-03-11 17:32:29 +00:00
John Crispin
da3fd5dbf9 kenrel: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44678
2015-03-11 17:08:46 +00:00
John Crispin
7dc189c572 Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)
This commit re-adds a patch from 3.14 that is required for UBI block
devices with an EOF marker to be successfully mounted.

Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

SVN-Revision: 44658
2015-03-11 15:54:52 +00:00
Felix Fietkau
ac999f4f33 kernel: backport an export required by newer compat-wireless versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44653
2015-03-11 15:02:16 +00:00
John Crispin
850bab2559 kernel: fix yaffs compile for >= v3.16
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44643
2015-03-10 13:08:17 +00:00
John Crispin
57c7bed820 swconfig: fix build with linux 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44617
2015-03-06 07:57:03 +00:00
John Crispin
d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

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

SVN-Revision: 44615
2015-03-06 07:56:47 +00:00
John Crispin
f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

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

SVN-Revision: 44614
2015-03-06 07:56:34 +00:00
John Crispin
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

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

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
John Crispin
6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

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

SVN-Revision: 44612
2015-03-06 07:56:08 +00:00
Luka Perkov
84c0248e5a generic: add CONFIG_FW_LOADER_USER_HELPER symbol
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44608
2015-03-05 23:43:21 +00:00
John Crispin
959a1334d4 generic: add USB_DWC2 missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44600
2015-03-05 20:24:33 +00:00
John Crispin
d9687a4076 generic: add missing symbols for 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44599
2015-03-05 20:24:28 +00:00
Rafał Miłecki
8be054faf4 kernel: backport bcma changes to 3.19 and 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44597
2015-03-04 07:08:39 +00:00
Rafał Miłecki
be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
2015-03-03 23:15:49 +00:00
Jonas Gorski
1e4f59c670 generic: upgrade to 3.14.34
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.33
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.34

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

SVN-Revision: 44594
2015-03-03 14:39:52 +00:00
Jonas Gorski
ead555a94a generic: upgrade to 3.18.8
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.8

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

SVN-Revision: 44593
2015-03-03 14:39:49 +00:00
Felix Fietkau
9386d8eb98 kernel: revert a broken chunk in the mips module reloc patch fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44592
2015-03-02 20:33:02 +00:00
Felix Fietkau
978830466a kernel: fix the mips module relocation patch for 3.19+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44590
2015-03-02 04:42:17 +00:00
Jonas Gorski
3139140339 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs
Most MIPS targets have it disabled, so move the symbol to the generic
configs to keep target configs small.

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

SVN-Revision: 44583
2015-03-01 11:37:15 +00:00
Jonas Gorski
d75cd5be37 b53: fix mmap register read/writes > 32 bit
For bcm63xx integrated switches, broadcom changed the data endianess
to match the system endianess. But this only applies to within one word,
which causes 48/64 bit values to be still split into their "litte endian"
groups.

E.g. 48 bit values (with 5 being the most significant byte) aligned

0x00 ..01  or   0123
0x04 2345       45..

will become

0x00 ..10 resp. 3210
0x04 5432       54..

Likewise for 64 bit values.

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

SVN-Revision: 44568
2015-02-27 17:40:17 +00:00
Jonas Gorski
92eb27f56d package: mtd: move bcm963xx_tag definition into source code
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

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

SVN-Revision: 44557
2015-02-27 17:38:25 +00:00
Felix Fietkau
b64ca483ef kernel: fix 3.18+ if_bridge.h header conflict with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44553
2015-02-27 07:35:26 +00:00
Imre Kaloz
f76a752c57 generic/4.0: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44532
2015-02-24 18:53:14 +00:00
Imre Kaloz
11e93be20d generic/4.0: drop patches applied upstream
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44531
2015-02-24 18:35:17 +00:00
Imre Kaloz
c407264643 generic/4.0: drop 3.18 specifix dwc2 backport
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44530
2015-02-24 18:30:16 +00:00
Imre Kaloz
efea65bb99 generic/4.0: the ubi patches has been fixed in the 3.19 patchset already
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44529
2015-02-24 18:27:49 +00:00
Rafał Miłecki
e8acbb11a4 generic: fix 050-backport_netfilter_rtcache.patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44514
2015-02-24 06:40:37 +00:00
Rafał Miłecki
1c063070cf generic: early (incomplete!) 4.0 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44511
2015-02-23 22:59:53 +00:00
John Crispin
7938da42f5 kernel: Fix USB gadget modules for v3.18
Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44502
2015-02-22 08:29:01 +00:00
John Crispin
c2c2f64c66 kernel: re-enable the firmware loader
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44481
2015-02-17 14:33:13 +00:00
Nicolas Thill
40c0261f34 generic: ocf: irq compat stuff is not needed anymore
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44444
2015-02-14 13:53:44 +00:00
Imre Kaloz
4893c0c7f7 generic: upgrade to 3.18.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44442
2015-02-14 10:45:12 +00:00
John Crispin
2dbcf5e91f brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by removing local version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44432
2015-02-13 07:38:00 +00:00
John Crispin
91c07334d8 generic: improve kexec support of MIPS.
- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44429
2015-02-13 07:29:25 +00:00
Rafał Miłecki
615909819d kernel: mtdsplit_uimage: fix passed info about buf size
We obviously can't use sizeof(*buf) which is always 1.

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

SVN-Revision: 44424
2015-02-12 20:13:20 +00:00
John Crispin
7b3354bb92 generic: fix broken patch in the transition of 3.19 from -rc5 to release .0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44416
2015-02-12 08:07:20 +00:00
Rafał Miłecki
30d6bc1026 kernel: mtdsplit_uimage: read more data to match Edimax needs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44415
2015-02-12 07:50:07 +00:00
Rafał Miłecki
072759ff39 kernel: mtdsplit_uimage: use separated buffer for reading data
We shouldn't read data directly into the header struct, as some devices
(e.g. Edimax) need more bytes due to some extra header.

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

SVN-Revision: 44414
2015-02-12 07:44:34 +00:00
Rafał Miłecki
5673e0b703 kernel: mtdsplit_uimage: add parser for Edimax devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44413
2015-02-12 07:23:40 +00:00
Rafał Miłecki
1aed104c80 mtdsplit_uimage: more generic header verify function
Some devices have uImage headers after some extra headers (e.g. Edimax
devices). To support such cases our verify callback function should be
allowed to return header offset, not just a boolean value.

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

SVN-Revision: 44412
2015-02-12 06:57:24 +00:00
Rafał Miłecki
1f3cdb8634 kernel: fix bgmac check for chip ID
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44411
2015-02-11 18:11:22 +00:00
Rafał Miłecki
e73ca898ab kernel: backport mainlined bgmac patches from 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44410
2015-02-11 17:35:09 +00:00
John Crispin
038f8e1eda generic: add a few missing symbols for generic config-3.19.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 44387
2015-02-11 10:09:40 +00:00
Rafał Miłecki
ddcbef5766 kernel: backport bcma patches queued for 3.20
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44385
2015-02-11 10:04:51 +00:00
Rafał Miłecki
d417d58ff7 kernel: 3.18: complete backport of some bcma patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44384
2015-02-11 09:14:48 +00:00
Luka Perkov
92f324d333 kernel: switch 3.19 from -rc5 to release .0
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44381
2015-02-10 22:36:59 +00:00
John Crispin
eee58211a8 kernel: add missing symbol
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44373
2015-02-10 05:52:41 +00:00
John Crispin
7155ec7191 kernel: copy mips_decompressor_memmove patch to 3.18/3.19
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44339
2015-02-09 12:10:46 +00:00
John Crispin
f17dee3058 kernel: add missing symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44338
2015-02-09 12:10:18 +00:00
John Crispin
28353b3fc5 kernel: fix compile error inside adm6996.c
drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]

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

SVN-Revision: 44333
2015-02-09 12:09:17 +00:00
Nicolas Thill
6b8f598ca6 linux/generic: add missing config symbols
Related to debug/tracing, only added to 3.14+, might be needed for older versions as well

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44323
2015-02-08 15:34:20 +00:00
Luka Perkov
b9d513158e kernel: update 3.18 to 3.18.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44318
2015-02-08 12:01:37 +00:00
Luka Perkov
d81a8ad523 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44302
2015-02-07 17:48:33 +00:00
Imre Kaloz
b361a9d59a generic: allow ubi autoattach to run on NOR flash
Some devices out there only have a NOR flash to store the rootfs on.

While using UBI is arguable on this kind of flash, this is something that should
be supported.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44260
2015-02-05 11:21:31 +00:00
John Crispin
baaef42952 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

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

SVN-Revision: 44245
2015-02-02 10:32:04 +00:00
John Crispin
bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
2015-02-02 09:00:21 +00:00
Rafał Miłecki
4dd3c05af2 kernel: disable bcma's usage of OF API in kernel 3.10
It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

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

SVN-Revision: 44230
2015-01-31 16:43:13 +00:00
Jo-Philipp Wich
9d7651b528 linux: fix mips boot decompressor build
Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

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

SVN-Revision: 44223
2015-01-30 10:04:23 +00:00
John Crispin
31fd66f808 ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>

SVN-Revision: 44221
2015-01-30 08:06:40 +00:00
Rafał Miłecki
5ecce85db7 kernel: bcm47xxpart: support T_Meter partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44185
2015-01-28 21:26:31 +00:00
Jo-Philipp Wich
e25e6df2cf linux: add upstream patch to allow building dwc2 as module on 3.18
Also add the required config symbols to usb.mk

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

SVN-Revision: 44181
2015-01-28 13:45:06 +00:00
John Crispin
dcac85d7d8 kernel: add LZ4 decompressors to kconfig hack
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44168
2015-01-28 12:06:35 +00:00
Luka Perkov
a9568263f6 kernel: update 3.14 to 3.14.30
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44158
2015-01-28 01:00:08 +00:00
Rafał Miłecki
3579379dba kernel: bcm47xxpart: support boart_data partition on Xiaomi
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44157
2015-01-27 22:13:18 +00:00
Rafał Miłecki
6296b8ca9f kernel: backport queued bcm47xxpart changes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44156
2015-01-27 22:08:14 +00:00
Jo-Philipp Wich
3483c76084 kernel: add missing symbol to generic 3.18 config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44150
2015-01-25 23:36:09 +00:00
Imre Kaloz
11a2a6b220 generic/3.19: fixup the value of IFF_NO_IP_ALIGN
Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44139
2015-01-25 18:14:18 +00:00
Luka Perkov
ee3eade285 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44137
2015-01-25 17:29:41 +00:00
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
2015-01-25 15:55:03 +00:00
Imre Kaloz
d26694243a generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44126
2015-01-25 15:20:39 +00:00
Imre Kaloz
53c7248554 generic/3.18: update to 3.18.3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44121
2015-01-25 11:39:30 +00:00
Felix Fietkau
186db26d05 kernel: remove linux 3.3 patches and config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44109
2015-01-24 20:02:02 +00:00
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
2015-01-24 19:42:12 +00:00
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
2015-01-24 19:42:06 +00:00
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
2015-01-24 19:42:01 +00:00
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
2015-01-24 19:41:55 +00:00
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
2015-01-24 19:41:51 +00:00
Zoltan Herpai
91260ad6ef kernel: add missing config symbol for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44034
2015-01-18 14:28:13 +00:00