aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7John Crispin2014-10-061-0/+7
| | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42797
* ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detectionJohn Crispin2014-10-061-1/+1
| | | | | | | | [ ] conditions should use = instead of == for string equality. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42796
* ar71xx: simplify TP-LINK model detectionJohn Crispin2014-10-061-5/+1
| | | | | | | | | | All TP-LINK machine names begin with "TP-LINK", so there's no need to check for more specific model names. This also allows adding new models like the Archer series more easily. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42795
* ar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)John Crispin2014-10-061-1/+2
| | | | | | Signed-off-by: Jaehoon You <teslamint@gmail.com> SVN-Revision: 42792
* ar71xx: add LED defaults for the EnGenius ESR1750John Crispin2014-10-061-0/+5
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42786
* ar71xx: fix reset button gpio for OM2P/OM2P-HSJohn Crispin2014-10-061-1/+1
| | | | | | | | | | | A typo in the definition for the OM2P reset button disabled its functionality in OpenWrt. The actual button for these two devices is "1" and not "11". Signed-off-by: Oren Poleg <oren@poleg.org> [sven@open-mesh.org: added a commit subject+message] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 42782
* ar71xx: revert accidental kernel upgradeFelix Fietkau2014-09-271-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42687
* ar71xx: add wmac callback for reading soc revision on ar934xFelix Fietkau2014-09-272-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42685
* ar71xx: refresh 3.14 kernel patchesFelix Fietkau2014-09-276-56/+54
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42684
* ar71xx: add qihoo 360 c301 router supportJohn Crispin2014-09-1515-2/+300
| | | | | | | | | | | | | | | Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. v2: * use mtd_get_mac_ascii to fetch MAC address for ath10k. * use ath79_register_pci to initialize AR9882. Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 42552
* ar71xx: add board support for ubnt loco m xwJohn Crispin2014-09-158-13/+30
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 42549
* ar71xx: refactor ubnt xw board setupJohn Crispin2014-09-151-8/+20
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 42548
* ar71xx: ack completed tx descriptors only after the full frame has been ↵Felix Fietkau2014-09-101-10/+16
| | | | | | | | completed Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42457
* ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331Felix Fietkau2014-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | While the AR9331 has a gigabit MAC towards the internal switch, the integrated PHYs however are only 100-base-tx capable. The existing code however advertieses gigabit capability in the link status word. If you attach such a PHY to a gigabit capable switch on the remote end, with some probability it attempts to negotiate gigabit and fails, falling baco to the AR9331 assuming a 10mbit half-duplex link. This has been observed quite frequently with the Carambola2 and gigabit capable switches. In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally for both AR9331 ethernet ports. This is most likely wrong. Despite the two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a 100base-T PHY via MII. The has_gbit attribute is used in the ethernet driver to determine the supported link modes. So either pdata->has_gbit is not set to 1 anymore, or the ethernet driver needs to be modified to determine the advertised link code word on another criteria than pdata->has_gbit. This patch implements the former solution. Signed-off-by: Harald Welte <laforge@gnumonks.org> SVN-Revision: 42432
* ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes ↵Felix Fietkau2014-09-061-2/+0
| | | | | | | | (#13072) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42429
* ar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)Felix Fietkau2014-09-061-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42428
* ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 ↵Felix Fietkau2014-09-061-1/+1
| | | | | | | | (improves performance) (patch from #13072) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42427
* ar71xx: disable ethernet descriptor splitting for now, as it seems to cause ↵Felix Fietkau2014-08-301-0/+2
| | | | | | | | tx hangs in some setups Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42333
* ar71xx: select m25p80 support instead of spi support where used by mach ↵Felix Fietkau2014-08-298-18/+22
| | | | | | | | files (#17699) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42331
* ar71xx: split packets into multiple descriptors on ar716xFelix Fietkau2014-08-293-28/+105
| | | | | | | | | | | This improves performance when doing concurrent rx/tx on a single ethernet MAC, e.g. when routing between VLANs. Fixes #13072 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42328
* ar71xx: add Support for RB2011UiAS-2HnDJohn Crispin2014-08-284-3/+34
| | | | SVN-Revision: 42317
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-08-251-3/+3
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42280
* ar71xx: enable sysupgrade for the EnGenius ESR900John Crispin2014-08-251-0/+1
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42279
* ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMACJohn Crispin2014-08-181-3/+1
| | | | | | | | | | | | This sets the MAC address of the WLAN interface to the "official" primary MAC address (the one on the label under the devices, and the one used with the stock firmware). The MAC address used so far (primary-1) isn't even used at all with the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the WAN interface (like OpenWrt does with this patch). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 42193
* ar71xx: build factory image for EnGenius ESR900 and ESR1750John Crispin2014-08-181-1/+24
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42189
* ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 boardJohn Crispin2014-08-181-0/+1
| | | | | | | | | | The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the mini-PCIe device. Not configuring the LED pin inside the platform data makes it impossible to configure it through any standard OpenWrt tool. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 42184
* ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 ↵John Crispin2014-08-181-1/+1
| | | | | | | | since they have the same flash layout Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42177
* add support for the NC-LINK SMART-300Imre Kaloz2014-08-1113-0/+251
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 42130
* ar71xx: port missing ath79 machine entry for wndr3700 v4 to 3.14Felix Fietkau2014-08-071-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42044
* ar71xx: add linux 3.14 supportFelix Fietkau2014-08-07107-6/+8984
| | | | | | | Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42038
* ar71xx: Add support for the WNDR3800CHSteven Barth2014-08-071-1/+2
| | | | | | | | | Apparently this is a fairly common refurb unit of the 3800 series now, with merely the recognition string changed in the boot loader. Signed-off-by: Dave Taht <dave.taht@bufferbloat.net> SVN-Revision: 42023
* ar71xx: update Carambola2 platform dataFelix Fietkau2014-08-042-10/+1
| | | | | | | | | | | | Change list: * Remove button info on GPIO12, there is no button there. * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data. Tested building for carambola2 target. Signed-off-by: Mantas Pucka <mantas@8devices.com> SVN-Revision: 41993
* ar71xx: oolite: the buttons are not active_lowJohn Crispin2014-08-011-3/+3
| | | | | | | | | this caused factory resets when reboot was pressed Signed-off-by: Brent Thomson <brentthomson@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41932
* ar71xx: add RTC feature flag to ar71xx/nandJohn Crispin2014-08-011-1/+1
| | | | | | | | | | without this the build for NBG6716 fails due to missing packages https://dev.openwrt.org/ticket/17325 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41930
* add support for the archer c5Imre Kaloz2014-07-2311-4/+44
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41814
* refresh patchesImre Kaloz2014-07-231-23/+15
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41812
* ar71xx: fix LED configuration for HiWiFi-HC6361.John Crispin2014-07-231-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 41809
* ar71xx: fix WAN MAC setup on dir-825-c1John Crispin2014-07-211-1/+1
| | | | | | | | Changeset 38690 broke the WAN MAC setup. Here's the fix. Signed-off-by: Sebastian Kemper <sebastian_ml <at> gmx.net> SVN-Revision: 41795
* ar71xx: Register reset button on UBNT AirGWJohn Crispin2014-07-211-1/+16
| | | | | | | | The airGateway has a reset button connected to GPIO 12, so we should use it. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> SVN-Revision: 41794
* ar71xx: Fix GL.iNet WLAN LEDJohn Crispin2014-07-211-1/+1
| | | | | | | | LED script expects WLAN LED to be "gl-connect:red:wlan". Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 41793
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-2110-19/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41788
* kernel: refresh 3.10 patchesJohn Crispin2014-07-203-9/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41777
* kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>John Crispin2014-07-202-49/+1
| | | | SVN-Revision: 41776
* ar71xx: create profile and build image for the OpenMesh OM5P boardJohn Crispin2014-07-202-1/+13
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 41775
* ar71xx: enable sysupgrade for the OpenMesh OM5PJohn Crispin2014-07-202-3/+10
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 41772
* ar71xx: add user-space support for the OpenMesh OM5PJohn Crispin2014-07-203-0/+11
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 41770
* ar71xx: add kernel support for the OpenMesh OM5P boardJohn Crispin2014-07-203-0/+161
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 41769
* ar71xx: add RB91x boards to uci-defaults 02_networkJohn Crispin2014-07-201-0/+4
| | | | | | | | The default case in 02_network is inappropriate for the MikroTik RouterBOARD 91x boards because they do not have a WAN port, so don't bother setting the non-existent eth1 interface as the WAN port. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> SVN-Revision: 41767
* ar71xx: Add UBNT airGateway supportJohn Crispin2014-07-206-1/+87
| | | | | | | | | | | This patch adds support for the Ubiquiti Networks airGateway. Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel: https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> SVN-Revision: 41766
* extract and fixup the board.bin on the archerImre Kaloz2014-07-191-0/+13
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41757