aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add board support for ubnt loco m xwJohn Crispin2014-09-158-13/+30
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refactor ubnt xw board setupJohn Crispin2014-09-151-8/+20
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Support for RB2011UiAS-2HnDJohn Crispin2014-08-284-3/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-08-251-3/+3
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the EnGenius ESR900John Crispin2014-08-251-0/+1
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build factory image for EnGenius ESR900 and ESR1750John Crispin2014-08-181-1/+24
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the NC-LINK SMART-300Imre Kaloz2014-08-1113-0/+251
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-2311-4/+44
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: refresh patchesImre Kaloz2014-07-231-23/+15
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix LED configuration for HiWiFi-HC6361.John Crispin2014-07-231-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41795 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41794 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-2110-19/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.10 patchesJohn Crispin2014-07-203-9/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to 3.10.49John Crispin2014-07-202-49/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: extract and fixup the board.bin on the archerImre Kaloz2014-07-191-0/+13
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the EnGenius EAP300 v2 boardGabor Juhos2014-07-142-0/+36
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-145-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-143-0/+140
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the Tube2H boardGabor Juhos2014-07-142-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the Tube2H boardGabor Juhos2014-07-145-0/+46
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the Tube2H boardGabor Juhos2014-07-143-0/+152
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ALFA NETWORK's nameGabor Juhos2014-07-141-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the EnGenius ESR900Gabor Juhos2014-07-142-0/+14
| | | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5715/ [juhosg: change subject] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the EnGenius ESR900Gabor Juhos2014-07-144-0/+21
| | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5716/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41641 3c298f89-4303-0410-b956-a3cf2f4a3e73