summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix ethernet FIFO state corruption on ar7240nbd2011-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/stopnbd2011-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 handlingnbd2011-08-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add some hacks to work around the misalignment in IP packets ↵nbd2011-08-021-0/+117
| | | | | | | | received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55% git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NHjogo2011-07-2810-53/+18
| | | | | | | | 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-g300nhnbd2011-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 datanbd2011-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 ↵nbd2011-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 ar7240nbd2011-07-201-23/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: configure address aging on ar7240nbd2011-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 ar724xnbd2011-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 ↵nbd2011-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 resetnbd2011-07-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix an unused variable warningnbd2011-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 ↵nbd2011-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 ↵nbd2011-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: build image for the AP121 boards with 4M of flashjuhosg2011-07-071-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add separate profiles for the AP121 and AP121-MINI boardsjuhosg2011-07-071-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix building of squashfs imagesjuhosg2011-07-041-4/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650)nbd2011-07-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use 4k image only for the AP121 boardjuhosg2011-07-021-15/+15
| | | | | | | | Create optimized 64K images with the new padjffs2 tool and use that images instead of the 4k ones. The 4k images causes problems on devices where the flash erase size is 64 KB. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] revert r27043 (#9513)jow2011-07-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] revert r27341, it introduce wrong behaviour for other modelsjow2011-07-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] turn status LED off if device finished initializingjow2011-07-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H codejuhosg2011-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 patchesjuhosg2011-06-295-985/+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: remove 2.6.37 support as welljuhosg2011-06-2935-1205/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove 2.6.38 supportjuhosg2011-06-2934-1147/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: switch to 2.6.39juhosg2011-06-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add 2.6.39 supportjuhosg2011-06-2937-0/+2144
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove ar71xx_gpio_irq_set_typejuhosg2011-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 interruptsjuhosg2011-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 interruptsjuhosg2011-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 initializationsjuhosg2011-06-293-13/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add default network config for wzr-hp-ag300h (based on a patch from ↵nbd2011-06-252-0/+29
| | | | | | #9607) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: bring up secondary radio on wzr-hp-ag300h (fixes #9608)nbd2011-06-251-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cleanup AR933X UART driverjuhosg2011-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 AR933Xjuhosg2011-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 driverjuhosg2011-06-131-339/+75
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update early_printk codejuhosg2011-06-132-44/+112
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] Remove trailing spaces, convert spaces to tabsacinonyx2011-06-0912-83/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: override inittab to enable login on ttyATH0nbd2011-06-071-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: setup wdt_clock for AR913X to avoid a kernel bugjuhosg2011-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 boardsjuhosg2011-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..."nbd2011-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 AR933Xjuhosg2011-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_datajuhosg2011-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 1juhosg2011-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_datajuhosg2011-06-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: export SoC revisionjuhosg2011-06-012-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27079 3c298f89-4303-0410-b956-a3cf2f4a3e73