aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* ledtrig-netdev: add support for renamed devicesJohn Crispin2016-01-011-2/+3
| | | | | | | | | | | The ppp0 interface is renamed after the connection is established. Due to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of the renamed interface and literally ignores the device (no tx/rx indication, led isn't switched off with 'ifdown wan'). Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48048
* kernel: fold of_get_mac_address_mtd into of_get_mac_addressFelix Fietkau2016-01-012-58/+112
| | | | | | | | This makes it easier to keep drivers in sync with upstream Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48026
* swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINKJohn Crispin2015-12-231-47/+4
| | | | | | | | | As explained earlier, using SWITCH_TYPE_LINK gives more flexibility, it doesn't require e.g. string parsing to read some data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47999
* swconfig: add SWITCH_TYPE_LINK and support sending link info to user spaceJohn Crispin2015-12-233-0/+74
| | | | | | | | | | | | | So far we were sending link data as a string. It got some drawbacks: 1) Didn't allow writing clean user space apps reading link state. It was needed to do some screen scraping. 2) Forced whole PORT_LINK communication to be string based. Adding support for *setting* port link required passing string and parting it in the kernel space. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47997
* ledtrig-netdev: reset link status & stats after changing device_nameRafał Miłecki2015-12-231-0/+2
| | | | | | | | | Previously switching to non-existing device (interface) could result in leaving LED on. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47990
* ledtrig-netdev: drop locking from timer callback functionRafał Miłecki2015-12-231-11/+13
| | | | | | | | | | We may just delete timer on every trigger update and then start it again if needed. This will let us avoid both: races and locking in frequently called timer callback. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47987
* ledtrig-netdev: switch rwlock to spinlockRafał Miłecki2015-12-231-20/+20
| | | | | | | | | | Read/write lock was adding useless complexity, there wasn't any real gain in case of this driver. Also switch to _bh variants to avoid deadlocks. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47986
* kernel: add remaining kernel patch accidentally left out of r47963Felix Fietkau2015-12-231-0/+45
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47966
* kernel: backport all current pppoe kernel fixes to 3.18Felix Fietkau2015-12-2310-20/+260
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47963
* ledtrig-netdev: update base driver instead of patching it for every kernelRafał Miłecki2015-12-235-160/+4
| | | | | | | | | | All supported kernels require patching ledtrig-netdev in the same way, so it's safe to just move these changes to the base version of this driver. We needed these patches for some old kernels 2.6.36 and 3.11. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47962
* kernel/4.4: add missing config optionsZoltan Herpai2015-12-201-0/+17
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 47957
* ar8216: rework/fix AR8337 MAC swap handlingFelix Fietkau2015-12-202-4/+4
| | | | | | | | | | | | | | In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47956
* ath9k: Allow configuration of LED polarity in platform data.John Crispin2015-12-171-0/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 47910
* generic/4.4: bump to -rc5Imre Kaloz2015-12-154-5/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47894
* ralink: bump to the target to v4.3John Crispin2015-12-101-2/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47831
* generic/4.1: refresh patchesImre Kaloz2015-12-102-11/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47821
* kernel: revert fq_codel quantum override to prevent it from causing too much ↵Felix Fietkau2015-12-084-20/+8
| | | | | | | | cpu load with higher speed (#21326) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47811
* generic: add missing 4.1 symbolsImre Kaloz2015-12-071-0/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47802
* generic: bump 4.4 to rc4Imre Kaloz2015-12-0710-35/+25
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47801
* kernel: add bcm47xxpart patches sent for 4.5 merge windowRafał Miłecki2015-12-0716-8/+528
| | | | | | | | | This replaces old bcm53xx patch for scanning whole flash and makes bcm47xxpart compatible with NAND. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47800
* kernel: add missing config option.Hauke Mehrtens2015-12-063-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47798
* kernel: add missing config options for kernel 4.4Hauke Mehrtens2015-12-061-0/+5
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47796
* kernel: fix linux 4.4 mac80211 build errorFelix Fietkau2015-12-051-0/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47789
* kernel: drop bridge hack for removing ipv6 dependencyJonas Gorski2015-12-044-492/+0
| | | | | | | | | Now that IPV6 isn't build as a module anymore, we don't need to decouple bridge from ipv6 anymore. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47751
* kernel: mvswitch: merge 3.10+ compile fix into the codeJonas Gorski2015-12-045-143/+3
| | | | | | | | | The lowest we support is 3.18, so no need to keep it as a separate patch. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47749
* kernel: drop unneeded modification of mtd_add_partition functionRafał Miłecki2015-12-046-54/+20
| | | | | | | | | | | | In old days mtd_add_partition was checking for partitions overlapping which was breaking our splitting feature. We had to modify this function by adding an extra bool dup_check parameter. Upstream commit: 3a434f66e6da ("mtd: part: Remove partition overlap checks") removed that check so we don't need our modification anymore. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47748
* kernel: drop old uimage splitter from 4.4Rafał Miłecki2015-12-042-71/+1
| | | | | | | | | | | For a long time we have a dedicated firmware splitter for uimage as a replacement for the one builtin into mtd subsystem. For a year we got a proper warning for users sticking to the old one (r43700). It should be really safe to drop it now, especially since we do it for 4.4 only. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47747
* kernel: backport support for m25p80 compatible="jedec,spi-nor" in DTFelix Fietkau2015-12-031-0/+39
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47716
* kernel: add overlayfs stacking fix from upstreamFelix Fietkau2015-12-031-0/+33
| | | | | | | | | | | Overlayfs stacking was broken in 4.1.12 but now fixed in upstream branch. Stacking allows experimenting with configurations without the need to reset a device to factory config. Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47714
* kernel: add linux 4.4 supportJonas Gorski2015-12-02180-0/+30189
| | | | | | | | Based on 4.4-rc3. Runtime tested on MIPS. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47701
* kernel: update 4.1 to 4.1.13Hauke Mehrtens2015-12-026-25/+7
| | | | | | | | | | | - two upstreamed patches removed - compile tested all targets using 4.1 - run tested ar71xx Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47694
* kernel: add fix for missing include in spi-nor.h (#20973)Rafał Miłecki2015-11-262-0/+80
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47665
* kernel: revert a faulty upstream commit that was added with the ↵Felix Fietkau2015-11-264-4/+74
| | | | | | | | spi-nor/m25p80 backport (fixes #20971) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47664
* kernel: disable software protection bits for macronix flash chips at initFelix Fietkau2015-11-242-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47626
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-2411-108/+1948
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47624
* kernel: mtd: Backport GD25Q128B support to 3.18Felix Fietkau2015-11-225-4/+19
| | | | | | | | | | | | Support is present in 3.19 and above as kernel commit: fcc87a95195236b0935183361a72e4a98bf577d8 Changes to other existing patches are a result of "make target/linux/refresh". Signed-off-by: Srdjan Rosic <srdjan.rosic@gmail.com> Signed-off-by: Srdjan Rosic <rosic@google.com> SVN-Revision: 47588
* kernel/generic: 3.18, 4.y: Add support for Quectel EC20 Mini PCIe moduleJohn Crispin2015-11-216-0/+660
| | | | | | | | | | | | | * both patches (qcserial/qmi_wwan) were submitted upstream[1,2] * build tested on 3.18 and 4.1 * run tested on imx6 platform with 4.1 1. http://article.gmane.org/gmane.linux.usb.general/132998 2. http://article.gmane.org/gmane.linux.usb.general/133113 Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47567
* kernel: add missing config optionHauke Mehrtens2015-11-211-0/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47549
* kernel: add missing config optionHauke Mehrtens2015-11-203-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47536
* kernel: add CONFIG_SSB_HOST_SOC symbolRafał Miłecki2015-11-162-0/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47486
* kernel: backport ssb changes from 4.4-rc1Rafał Miłecki2015-11-162-0/+1372
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47483
* kernel: add patch to fix prefsrc lookupsFelix Fietkau2015-11-151-0/+60
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47471
* kernel: take bcm47xx_nvram.h from kernel and not backportsHauke Mehrtens2015-11-134-16/+90
| | | | | | | | | | | | | | | | | | compat-wireless/backports now contains a bcm47xx_nvram.h file to backport some of the functions in it which are used by the bcmfmac driver. This file just checks for the kernel versions and provide an empty implementations on older kernel versions. This is OK on most systems, but on bcm47xx / bcm53xx systems we want to call the real functions here. This commit removes the file from backports in our build process like we do it with the bcma and ssb header files. Instead we add a recent version into our kernel so all code uses only one header file. On bcm47xx / bcm53xx the real implementations of this code will be used. Reported-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47467
* kernel: fix an af_packet regression that was breaking PPPoE on 4.1+ (#20707)Felix Fietkau2015-11-112-0/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47459
* kernel: add missing config optionsHauke Mehrtens2015-11-103-0/+3
| | | | | | | | This was seen by the buildbot on arm64. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47452
* kernel: fix breakage in the 4.3 version of ↵Felix Fietkau2015-11-101-3/+6
| | | | | | | | 611-netfilter_match_bypass_default_table.patch Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47447
* kernel: remove linux 4.0 supportFelix Fietkau2015-11-07211-33364/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47412
* kernel: update kernel 4.3-rc7 to version 4.3Luka Perkov2015-11-0418-36/+42
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47384
* package/devel/perf: fix build for kernel 4.1John Crispin2015-11-021-0/+67
| | | | | | | | | | This fix contains 2 parts: - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file" - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47338
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-0111-30/+30
| | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47334