aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* linux: ar71xx: add support for Mikrotik Routerboard RB493GJonas Gorski2011-10-112-0/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: close a race between the phy state machine and link stateJonas Gorski2011-10-081-3/+7
| | | | | | | | | | | A fast stop/start cycle could leave the ag71xx interrupts and tx engine disabled when using a phy driver with a fixed link and the start/stop happens between two phy state machine polls. Prevent this by always forcing the link down on stop regardless of phy state and having a phy connected. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MAC addresses on the DIR-825-B1 boardGabor Juhos2011-09-231-10/+23
| | | | | | Patch-by: Lukas Kuna git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-Link TL-WR703N v1 boardGabor Juhos2011-09-214-0/+132
| | | | | | Based on a patch by dongyuqi <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR933x specific USB setup functionGabor Juhos2011-09-212-2/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ar71xx_device_reset_rmw helperGabor Juhos2011-09-212-0/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove 'default [yn]' from machine Kconfig entriesGabor Juhos2011-09-211-37/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sort AR71XX_MACH_* entriesGabor Juhos2011-09-211-16/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)Felix Fietkau2011-09-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: do not count normal interrupts as spurious (fixes #10037)Felix Fietkau2011-09-061-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet PLL setting on ar7242Felix Fietkau2011-08-291-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add some code to detect DMA stuck conditions on ar7240Felix Fietkau2011-08-134-1/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on ar724x only reset the link status in the restart handler, the ↵Felix Fietkau2011-08-131-0/+6
| | | | | | fast reset takes care of DMA stuck issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image ↵Felix Fietkau2011-08-112-6/+6
| | | | | | layout (fixes #9922) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet FIFO state corruption on ar7240Felix Fietkau2011-08-042-20/+61
| | | | | | | | | When starting/stopping DMA sometimes the FIFO state gets corrupted, leading to wildly fluctuating latencies or packet data corruption. Fix this by issuing a fast MAC reset as soon as the link is detected as up. Fixes #9689, #9405 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: fix memory corruption issues on ar7240 on ethernet start/stopFelix Fietkau2011-08-042-3/+19
| | | | | | | | | | | When the DMA engine state gets corrupted due to a hardware issues, it often won't stop rx until a full reset is issued. In that case the hardware must keep a valid descriptor, otherwise it will write to random places in system RAM, triggering random crashes. To fix this, keep a dummy descriptor without a buffer that keeps the DMA engine in a sane state until the reset is done git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MAC/MDIO reset mask handlingFelix Fietkau2011-08-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NHJonas Gorski2011-07-282-10/+6
| | | | | | | | Now that we can use a generic name for the switch there is no need for a separate image for the WZR-HP-G301NH. Update the default network config and remove the extra image. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nhFelix Fietkau2011-07-242-13/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27756 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366: unify rtl8366s and rtl8366rb platform dataFelix Fietkau2011-07-245-19/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 ↵Felix Fietkau2011-07-241-0/+3
| | | | | | (#9684) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reinitialize global switch settings after reset on ar7240Felix Fietkau2011-07-201-23/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: configure address aging on ar7240Felix Fietkau2011-07-201-2/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reset the phy in the ethernet init on ar724xFelix Fietkau2011-07-202-2/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make sure that rx and interrupts are disabled before issuing the ↵Felix Fietkau2011-07-201-7/+9
| | | | | | hardware reset git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: increase the delay after the ethernet MAC resetFelix Fietkau2011-07-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix an unused variable warningFelix Fietkau2011-07-201-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: do not reset the hardware on transmit timeout - this would mess up ↵Felix Fietkau2011-07-091-4/+0
| | | | | | the up the PHY state git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: keep the rx engine stopped while the link is not up, should ↵Felix Fietkau2011-07-091-91/+91
| | | | | | hopefully fix stability issues from #9405 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H codeGabor Juhos2011-06-301-6/+0
| | | | | | The config option has been removed in 2.6.39. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge 2.6.39 patchesGabor Juhos2011-06-294-726/+37
| | | | | | Also remove the old UART driver for ar933x. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add 2.6.39 supportGabor Juhos2011-06-291-0/+688
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove ar71xx_gpio_irq_set_typeGabor Juhos2011-06-291-11/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add separate handlers for IP3 interruptsGabor Juhos2011-06-291-5/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use separate handlers for IP2 interruptsGabor Juhos2011-06-291-20/+48
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove useless irq_desc.status initializationsGabor Juhos2011-06-293-13/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: bring up secondary radio on wzr-hp-ag300h (fixes #9608)Felix Fietkau2011-06-251-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cleanup AR933X UART driverGabor Juhos2011-06-192-483/+152
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix uart clock frequency for AR933XGabor Juhos2011-06-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ar933x_uart.h in the AR933X serial driverGabor Juhos2011-06-131-339/+75
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update early_printk codeGabor Juhos2011-06-132-44/+112
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: setup wdt_clock for AR913X to avoid a kernel bugGabor Juhos2011-06-041-0/+2
| | | | | | Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: select the internal antenna by default on the ZCN-1523H boardsGabor Juhos2011-06-041-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: only enable the rx engine after the link is up..."Felix Fietkau2011-06-011-68/+67
| | | | | | It messes up the DMA state when the link goes down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init external_reset for AR933XGabor Juhos2011-06-012-0/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add external_reset field to ath9k_platform_dataGabor Juhos2011-06-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init get_mac_revision on AR9330 rev 1Gabor Juhos2011-06-011-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add get_mac_revision to ath9k_platform_dataGabor Juhos2011-06-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: export SoC revisionGabor Juhos2011-06-012-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the buffalo wzr-hp-ag300hFelix Fietkau2011-06-014-0/+243
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27075 3c298f89-4303-0410-b956-a3cf2f4a3e73