aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ledtrig-netdev: add support for renamed devicesRafał Miłecki2016-01-021-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> Backport of r48048 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: switch to simpler devm_gpiod_get in USB driverRafał Miłecki2016-01-021-0/+24
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48062 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> Backport of r47990 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> Backport of r47987 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> Backport of r47986 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: update base driver instead of patching it for every kernelRafał Miłecki2015-12-232-43/+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> Backport of r47962 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add remaining kernel patch accidentally left out of r47963Felix Fietkau2015-12-231-0/+45
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47966 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport all current pppoe kernel fixes to 3.18Felix Fietkau2015-12-2310-20/+260
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47963 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: clean up ethernet tx queue after reset, wake queues when done - ↵Felix Fietkau2015-12-161-3/+8
| | | | | | | | | | fixes hangs reported in #18922 Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47892 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix audio recordingJohn Crispin2015-12-091-1/+1
| | | | | | | | | there was an incorrect usage of tx path helpers in the rx path causing the code to run into endless sleep states Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: make bcm47xxpart patch apply after recent backportsRafał Miłecki2015-12-071-3/+3
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47806 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add bcm47xxpart patches sent for 4.5 merge windowRafał Miłecki2015-12-076-36/+135
| | | | | | | | | | | This replaces old bcm53xx patch for scanning whole flash and makes bcm47xxpart compatible with NAND. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47800 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47803 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix Netgear R8000 clockRafał Miłecki2015-12-061-0/+29
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: sync spi-xway driver with trunk r47770Felix Fietkau2015-12-051-12/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: backport support for TP-LINK TL-WR841N/ND v10Felix Fietkau2015-12-051-1/+8
| | | | | | | | | | | | The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor changes, it contains a newer revision of the QCA9533 SoC and the CPU clock is significantly higher. Backport of r47263 Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2Felix Fietkau2015-12-052-6/+12
| | | | | | | | | | | | | | | ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10 As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Backport of r47262 Signed-off-by: Matteo Valentini <matteo.valentini@wiman.me> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47787 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ramips: minor fixes for ZTB-WG2626Felix Fietkau2015-12-052-2/+2
| | | | | | | | | | | | In backport commit r47605 the LED was named wrongly in a userspace script. Also remove reference to undefined pinmux group "wdt rst" causing logline rt2880-pinmux pinctrl: invalid group "wdt rst" for function "gpio" Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47773 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ramips: Backport support for ZBT WG2626John Crispin2015-11-238-4/+168
| | | | | | | | Backport of r47351 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm2708: Add sysupgrade support for Raspberry PiJohn Crispin2015-11-233-0/+38
| | | | | | | | | | | Also create .gz images if configured to do so. This is equivalent, but different to what we have in trunk, as the image creation has been rewritten there. Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: fix network default config of the TEW-732BRJo-Philipp Wich2015-11-221-0/+1
| | | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r47595 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add missing Netgear R8000 LEDsRafał Miłecki2015-11-071-0/+57
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47282 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: Netgear R8000: define GPIO powering USB portsRafał Miłecki2015-11-072-2/+31
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47337 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: replace USB patch fixing power control with the most recent versionRafał Miłecki2015-11-075-62/+100
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r47336 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: minor tweak to the lks7688 baord nameJohn Crispin2015-11-052-2/+2
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47388 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add feature to blink led on sysupgradeJohn Crispin2015-11-032-1/+11
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47373 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-0157-267/+202
| | | | | | | | | | | | | 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 backport of r47334. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest gitJohn Crispin2015-10-261-38/+15
| | | | | | | | | | this unbreaks glibc builds Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47266 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1/S3 set GPIO for USB PowerJohn Crispin2015-10-262-1/+6
| | | | | | | | | | | Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Backport of r47261 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: WIZnet WizFi630A Platfrom support - board detectionJohn Crispin2015-10-201-0/+3
| | | | | | | | | | | This patch is adding the missing board detection of WIZnet WizFi630A board. ramips.sh was not submitted with the former patch. This belongs to to the backport of patch r46921 Signed-off-by: Tobias Welz <tw@wiznet.eu> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-2010-41/+49
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Other corrections such as the Machine Name and HWIDs Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: gpio-mt7621 was not handling irqs above 31 properlyJohn Crispin2015-10-201-1/+1
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47238 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05John Crispin2015-10-199-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supersedes the v1 from September 17th. Bumping the patch version - the MiniBox profile showed up under M, but since it's called 'Gainstrong MiniBox v1.0' now it looks out of place. Renamed the profile to gs-minibox-v1.mk to fix that. The following patch adds support for the Gainstrong MiniBox to 15.05 Chaos Calmer. Fixed items: - Inverted LED polarity (OOLITE seems to suffer from the same problem). - Changed uppercase MINIBOX_V1_ prefix as requested. - Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor). - Mention the vendor (Gainstrong) in code headers. Compiles fine, has been confirmed working by owners. Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c, the MiniBox images build fine without, so I'm wondering: do I need to add it in there as well? Any added benefit? Thank you Signed-off by: Stijn Segers <francesco.borromini@inventati.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: remove le64/be64 referencesJohn Crispin2015-10-195-81/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for WeIO boardJohn Crispin2015-10-197-6/+187
| | | | | | | | | | | Support for WeIO board (http://we-io.net), backported from Designated Driver trunk. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Backport of r47110 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add alsa driverJohn Crispin2015-10-195-2/+8445
| | | | | | | | | | add the alsa driver from the latest RTSDK Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47205 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update mt7628 dtsi fileJohn Crispin2015-10-191-5/+180
| | | | | | | | | | | add nodes required for audio add missing pinmux definitions Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47205 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add a baurate hackJohn Crispin2015-10-191-0/+12
| | | | | | | | | | | When talking to an atmel controller we need 9600 or 250000 baud. as 250000 does not exist we use 2500000. Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47204 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add LinkIt Smart7688 supportJohn Crispin2015-10-197-0/+315
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47203 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7688 subtargetJohn Crispin2015-10-195-2/+226
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47203 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add 8139cp fixes from 4.3John Crispin2015-10-151-0/+367
| | | | | | | | | | | | This contains only the fixes from the 4.3-rc4 kernel. Additional improvements are going into 4.4 which will fix and enable hardware checksum/TSO offload, but backporting those to older kernels is non-trivial. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: use firmware partition splitter on dLAN USB ExtenderJohn Crispin2015-10-153-9/+5
| | | | | | | | | | | to avoid editing the dts every time the kernel size changes. uImage is now bigger than 1MB. Pad uImage to 64k erase block size. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> Backport of r46648 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: fix interrupt handlingJohn Crispin2015-10-152-22/+27
| | | | | | | | | | | | Switch to generich chip irqs/irq domains. Interrupts were broken since kernel 3.14. dLAN USB extender is now booting again. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> Backport of r46647 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: fix debug UARTJohn Crispin2015-10-152-3/+48
| | | | | | | | | | | | Switch to new 8250 debug uart code because the old mach-mcs814x/include/mach/debug-macro.S tries to include asm/hardware/debug-8250.S which no longer exists since kernel 3.14 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> Backport of r46646 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for D-LINK DIR-615 rev. Ix boardJohn Crispin2015-10-1511-6/+189
| | | | | | | | | | backport of r46248. Signed-off-by: Jaehoon You <teslamint@gmail.com> rebased on r46767. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: several ARV7519RW22 fixesJohn Crispin2015-10-153-9/+21
| | | | | | | | | | | | | | Fixes ARV7519RW22 flash register (only 1 flash). Power LED is green, not red. Rename message LEDs to internet. Add LEDs configuration (lan, wan, power). Enable switch VLANs. Fix secondary USB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Linksys WRT1900ACS (Shelby)Imre Kaloz2015-10-0812-7/+370
| | | | | | | | | | Backport of r47164. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/3.18: refresh patchesImre Kaloz2015-10-082-8/+8
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: various mt7688 pinmux fixesJohn Crispin2015-10-021-11/+13
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46474 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add irq to mt7628 gpio nodeJohn Crispin2015-10-021-0/+3
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47076 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: the mmc driver can now handle CD lines that are active lowJohn Crispin2015-10-021-3/+13
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47074 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47099 3c298f89-4303-0410-b956-a3cf2f4a3e73