aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* [generic/3.18]: rename overlayfs' symbolImre Kaloz2014-11-241-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic]: update .18 support for -rc6Imre Kaloz2014-11-249-40/+48
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: Fix issue with autoneg being disabled under 3.14, revert 43332Felix Fietkau2014-11-241-2/+47
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: Use generic hw_init from ar8236 for ar8216 tooFelix Fietkau2014-11-201-13/+7
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: simplify PHY fixup/initFelix Fietkau2014-11-201-19/+10
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: use genphy_config_aneg also for PHY 0Felix Fietkau2014-11-191-10/+1
| | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: factor out PHY init code into a generic functionFelix Fietkau2014-11-191-41/+25
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: introduce fixup_phys callback in ar8xxx_chipFelix Fietkau2014-11-191-2/+13
| | | | | | | | | Move phy fixup code from the chip-specific hw_init functions into a fixup_phys callback. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: after a switch reset poll until BCMR_RESET is clearedFelix Fietkau2014-11-191-3/+29
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: introduce global constant for number of PHYsFelix Fietkau2014-11-192-4/+5
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add the ubifs EOF marker support to 3.14 kernelJohn Crispin2014-11-171-0/+51
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: fix "unused variable" compiler warningJohn Crispin2014-11-141-1/+1
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to rc4Hauke Mehrtens2014-11-1015-23/+26
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcm47xxpart changes queued for 3.19Rafał Miłecki2014-11-084-26/+126
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: ssb: add PCI ID 0x4351Rafał Miłecki2014-11-082-0/+20
| | | | | | | | | | Backports commit 9837baa99717c7526e4bae9c68e8728dea4af183 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Netgear WNR2000v4John Crispin2014-11-031-1/+6
| | | | | | Signed-off-by: Michaël Burtin <mburtin@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbol for 3.13+Felix Fietkau2014-11-023-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: 3.18: fix config typoZoltan HERPAI2014-11-021-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing patch for AR8216_PHY_LEDSHauke Mehrtens2014-10-313-0/+39
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesHauke Mehrtens2014-10-312-9/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: 3.18: add some missing parts in 721-phy_packets.patchHauke Mehrtens2014-10-311-0/+31
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing config optionsHauke Mehrtens2014-10-311-0/+42
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove wrongly added SYS_HAS_DMA_OPS in r43134Hauke Mehrtens2014-10-312-11/+3
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add patch header and missing part in 132-mips_inline_dma_ops.patch againHauke Mehrtens2014-10-317-11/+82
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: configuration: Better handling of LIB80211 configurationHauke Mehrtens2014-10-313-3/+39
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: kernel 3.18 fix compilation on mipsHauke Mehrtens2014-10-311-12/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 3.18Zoltan HERPAI2014-10-301-0/+8
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: configuration: Better handling of LIB80211 configurationJohn Crispin2014-10-291-1/+13
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: last vs tailJohn Crispin2014-10-291-1/+1
| | | | | | | | sorry ..... Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: "swconfig list" shows devices in reverse orderJohn Crispin2014-10-291-1/+1
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add closing " to REGMAP_I2C's tristateHauke Mehrtens2014-10-273-3/+3
| | | | | | | | | Thanks swalker for reporting. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add generic config for kernel 3.18Hauke Mehrtens2014-10-271-0/+4434
| | | | | | | | | There are still many options missing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make the kernel 3.18 patches apply and boot on arm.Hauke Mehrtens2014-10-2738-620/+383
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: start working on 3.18 supportRafał Miłecki2014-10-27169-0/+26505
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: 3.14: use patch that is really upstreamed for hso 0af0:9200Rafał Miłecki2014-10-273-36/+353
| | | | | | | | | Patch 060 we had in repo was never sent/accepted. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh generic 3.10 patchesFelix Fietkau2014-10-2441-104/+100
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)Felix Fietkau2014-10-242-66/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a memmove() implementation for MIPS boot decompressorFlorian Fainelli2014-10-241-0/+24
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add another missing symbol for 3.14John Crispin2014-10-201-0/+1
| | | | | | | | SENSORS_VEXPRESS is masked by HWMON Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix yaffs compilation on 3.14John Crispin2014-10-141-2/+10
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 3.14Steven Barth2014-10-091-0/+3
| | | | | | | | | spotted by buildbot brcm2708: http://buildbot.openwrt.org:8010/builders/brcm2708/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move old "rootfs" splitter into separated fileRafał Miłecki2014-10-077-73/+95
| | | | | | | | | This will simplify removing it in the future. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some warnings to the old (built-in) rootfs splitterRafał Miłecki2014-10-064-7/+12
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOTRafał Miłecki2014-10-061-1/+1
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLITRafał Miłecki2014-10-062-13/+16
| | | | | | | | | We want to remove that old (built-in) splitter at some point. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: set the pvid based on runtime state instead of port number to fix ↵Felix Fietkau2014-10-021-3/+1
| | | | | | | | learning with enable_vlan = 0 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma to the tag master-2014-09-30 (wireless-next)Rafał Miłecki2014-10-012-30/+494
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing CONFIG_BACKLIGHT_GPIO to 3.14Florian Fainelli2014-09-271-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: merge two mtdpart.c patchesRafał Miłecki2014-09-275-115/+24
| | | | | | | | | It does not make sense to add some code and remove is 4 patches later. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma to the tag master-2014-09-26 (wireless-next)Rafał Miłecki2014-09-272-22/+49
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42672 3c298f89-4303-0410-b956-a3cf2f4a3e73