aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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> SVN-Revision: 41661
* ar71xx: add user-space support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-145-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41659
* ar71xx: add kernel support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-143-0/+140
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41658
* ar71xx: add profile and build image for the Tube2H boardGabor Juhos2014-07-142-0/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41652
* ar71xx: add user-space support for the Tube2H boardGabor Juhos2014-07-145-0/+46
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41650
* ar71xx: add kernel support for the Tube2H boardGabor Juhos2014-07-143-0/+152
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41649
* ar71xx: fix ALFA NETWORK's nameGabor Juhos2014-07-141-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41643
* 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> SVN-Revision: 41642
* 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> SVN-Revision: 41641
* ar71xx: add kernel support for the EnGenius ESR900Gabor Juhos2014-07-143-0/+240
| | | | | | | | | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5714/ [juhosg: - drop nvram.c modifications, - create a separate kernel patch, - use ath79_setup_qca955x_eth_cfg helper, - merge esr900_{010,common}_setup functions, - statically init AR8327 pad configurations, - use pr_err instead of printk] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41640
* ar71xx: add support for nanostation m xwJohn Crispin2014-07-147-4/+92
| | | | SVN-Revision: 41636
* ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boardsGabor Juhos2014-07-135-138/+58
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41627