aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* x86: mark the ep80579 subtarget as brokenFelix Fietkau2015-01-241-0/+1
| | | | | | | | It still uses the long obsolete 3.3 kernel version Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: remove linux 3.3 supportFelix Fietkau2015-01-2446-4103/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: prefix mii_xxx functions to avoid kernel namespace pollutionFelix Fietkau2015-01-243-18/+18
| | | | | | | | | Prefix the exported mii_xxx32 functions with ar8xxx_ to avoid kernel namespace pollution. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add swconfig attribute to display ARL table on AR8327/AR8337Felix Fietkau2015-01-244-15/+220
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: decrease page switch wait timeFelix Fietkau2015-01-242-3/+9
| | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add link change detection for switch portsFelix Fietkau2015-01-242-0/+36
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: fix ATU flushingFelix Fietkau2015-01-242-9/+5
| | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR843ND v1John Crispin2015-01-233-0/+16
| | | | | | | | | TP-LINK TL-WR843ND v1 is the same model like wr41, but with Power over Ethernet on wan port. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: correct value for fpi clock on ar9John Crispin2015-01-231-0/+21
| | | | | | | | | | | | | | | | | | | | | This adds a patch to target/linux/lantiq/patches-3.14 fixing a bug clock code on ar9. The current version returns the wrong value for the fpi clock frequency in some cases. See discussion for further details: https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html I'm not sure about the patch naming and numbering convention. Do please let me know it this is not OK. Many thanks, Ben Mulvihill Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the UniFi AP Outdoor PlusJohn Crispin2015-01-226-3/+72
| | | | | | | | the GPIO controlling the rf filter is not configured properly by this patch. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Tenda 3G150BJohn Crispin2015-01-228-1/+137
| | | | | | | | | | | | | | | Add suport for Tenda 3G150B: - cpu: Ralink RT5350F - flash: 4MB - ram: 32MB - 1x USB 2.0 - 1x RJ45 - one reset button - battery powered (BP-4L, 3.7V 1450mAh) Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve and fix Memory 2 Move supportJohn Crispin2015-01-223-19/+13
| | | | | | | | | | | | | | | | | This patch is a follow up for my previous patch: "ramips: add support for Intenso Memory 2 Move USB 3.0". It fixes a couple of errors in the DTS (one of which broke the gpio-buttons). The kmod-leds-gpio dependency has been dropped as it is already part of the ramips target. Furthermore the ramdisk/uImage image is generated by default for the rt3050 subtarget. This image is needed to flash OpenWrt for the first time onto the device via TFTP. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: document how to include 3rd party binary packagesFlorian Fainelli2015-01-211-2/+9
| | | | | | | | | | The dLAN USB Extender profile was referecing binary packages which are not to be included in any of the source-only feeds. Instead remove these references and document how to use the 3rd party feed. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport official Buffalo WZR-900DHP patchRafał Miłecki2015-01-2117-45/+174
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport spi-nor changes to add gd25q128 supportRafał Miłecki2015-01-212-0/+232
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WA701ND v2John Crispin2015-01-209-1/+176
| | | | | | Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use final (backported) patch fixing serial consoleRafał Miłecki2015-01-206-13/+25
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport 3 BCM5301X patches from Hauke repoRafał Miłecki2015-01-2016-71/+537
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: rename patches modifying DTS filesRafał Miłecki2015-01-206-60/+34
| | | | | | | | | | Ths will allow us to use early 3xx numbers for patches designed for sending mainline. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for firewrtJohn Crispin2015-01-206-1/+116
| | | | | | | | this is a mt7621 based board Signed-off-by: wengbj <linux.c@foxmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support/firmware for Asus RT-AC87URafał Miłecki2015-01-193-0/+157
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix ethernet rx buffer size breakageFelix Fietkau2015-01-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: improve check rx sg function. use check frags instead of function callFelix Fietkau2015-01-183-14/+8
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: correct handle hardware rx 2bytes offsetFelix Fietkau2015-01-183-13/+25
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: use fe_reset to control all resetFelix Fietkau2015-01-188-41/+28
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: improve tx_timeout functionFelix Fietkau2015-01-184-15/+87
| | | | | | | | | | * use default timeout value * print more debug ring info * move timeout reset function to workqueue Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add ethernet fe and esw reset control bitFelix Fietkau2015-01-189-0/+44
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: reduce access to uncached tx/rx dma ring bufferFelix Fietkau2015-01-184-53/+81
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: update Olimex A13 SOM profileZoltan HERPAI2015-01-182-5/+5
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: enable switch on Linksys EA3500Luka Perkov2015-01-183-2/+27
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbol for 3.18Zoltan HERPAI2015-01-181-0/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN3500 cleanupsJohn Crispin2015-01-182-3/+1
| | | | | | | | | This patch builds on the previous three to streamline support for the Netgear DGN3500. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Restore call to orphaned etop functionJohn Crispin2015-01-181-16/+44
| | | | | | | | | It seems the call to ltq_get_eth_mac() disappeared at some point. This patch puts it where it currently most makes sense. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: preserve bootloader command line on MIPSJohn Crispin2015-01-182-6/+38
| | | | | | | | | | | Somewhere in the conversion of the MIPS architecture code to Device Tree usage, there's been a failure to keep the separate variables holding the kernel command line reconciled between the tree and the bootloader. This patch restores previous functionality that broke. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix initscript issueJohn Crispin2015-01-181-1/+1
| | | | | | | | | Currently this initscript fails if the macaddr has any leading zeroes. This patch corrects the problem. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messagesFelix Fietkau2015-01-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7621 cpu feature overridesFelix Fietkau2015-01-181-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbolFelix Fietkau2015-01-182-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: refresh kernel patchesFelix Fietkau2015-01-185-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport upstream commit to fix MIPS cache shift with secondary ↵Felix Fietkau2015-01-184-5/+47
| | | | | | | | cache enabled Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: display flow control info in swconfig get_link in case of ↵Felix Fietkau2015-01-182-1/+19
| | | | | | | | | | | | | | | | | | autonegatiation too The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't consider the autonegotiated flow control. AR8327/AR8337 provide the info about autonegotiated rx/tx flow control in bits 10 and 11 of the port status register. Use these values to display info about autonegotiated rx/tx flow control as part of the get_link attribute. Successfully tested on TL-WDR4900 (AR8327 rev.4) and TL-WDR4300 (AR8327 rev.2). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add 802.3az EEE info to swconfig get_link attributeFelix Fietkau2015-01-185-1/+49
| | | | | | | | | | | | | AR8327/AR8337 allow to read the result of EEE autonegotiation. If EEE is autonegotiated between the link partners, display this as part of the swconfig get_link attribute. eee100: 100MBit EEE supported by both link partners eee1000: 1GBit EEE supported by both link partners Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per portFelix Fietkau2015-01-184-17/+122
| | | | | | | | | | | | | | | | Users reported network issues with AR8327 which turned out to be caused by EEE not working correctly with certain link partners (ticket 14597). The workaround was to disable EEE on all ports (changeset 41577). The issue was with certain link partners only, therefore this patch allows to control usage of EEE per port via swconfig. Still the default is to initially disable EEE on all ports. Successfully tested on a TL-WDR4900 (AR8327 rev.4) Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing copyright info for relocate stubFelix Fietkau2015-01-172-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44017 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add preliminary support for DIR-860L B1Felix Fietkau2015-01-176-3/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add code for relocating a kernel to the right placeFelix Fietkau2015-01-175-0/+365
| | | | | | | | (used if the boot loader wants a different loadaddr/entry) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable the seama mtdsplit parserFelix Fietkau2015-01-171-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: missing symbols caused a build failJohn Crispin2015-01-171-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt76 device tree info for WSR-1166DHPFelix Fietkau2015-01-171-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register mt7621 pcie through device treeFelix Fietkau2015-01-172-27/+98
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44009 3c298f89-4303-0410-b956-a3cf2f4a3e73