Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ar71xx: move arch specific files to files-2.6.39 | Gabor Juhos | 2012-01-22 | 1 | -1265/+0 |
| | | | | SVN-Revision: 29867 | ||||
* | ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx | Gabor Juhos | 2011-11-13 | 1 | -18/+1 |
| | | | | SVN-Revision: 29015 | ||||
* | ar71xx: set MII interface speed from the set_speed callbacks | Gabor Juhos | 2011-11-13 | 1 | -6/+0 |
| | | | | SVN-Revision: 29013 | ||||
* | ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data | Gabor Juhos | 2011-11-13 | 1 | -2/+2 |
| | | | | | | Also rename the corresponding callback functions. SVN-Revision: 29012 | ||||
* | ar71xx: ag71xx: remove MII interface setup code | Gabor Juhos | 2011-11-13 | 1 | -3/+0 |
| | | | | SVN-Revision: 29011 | ||||
* | ar71xx: add some code to detect DMA stuck conditions on ar7240 | Felix Fietkau | 2011-08-13 | 1 | -1/+29 |
| | | | | SVN-Revision: 27975 | ||||
* | ar71xx: on ar724x only reset the link status in the restart handler, the ↵ | Felix Fietkau | 2011-08-13 | 1 | -0/+6 |
| | | | | | | fast reset takes care of DMA stuck issues SVN-Revision: 27973 | ||||
* | ar71xx: fix ethernet FIFO state corruption on ar7240 | Felix Fietkau | 2011-08-04 | 1 | -20/+60 |
| | | | | | | | | | 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 SVN-Revision: 27896 | ||||
* | ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop | Felix Fietkau | 2011-08-04 | 1 | -3/+16 |
| | | | | | | | | | | | 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 SVN-Revision: 27895 | ||||
* | ar71xx: fix MAC/MDIO reset mask handling | Felix Fietkau | 2011-08-04 | 1 | -2/+2 |
| | | | | SVN-Revision: 27894 | ||||
* | ar71xx: reset the phy in the ethernet init on ar724x | Felix Fietkau | 2011-07-20 | 1 | -0/+13 |
| | | | | SVN-Revision: 27703 | ||||
* | ar71xx: make sure that rx and interrupts are disabled before issuing the ↵ | Felix Fietkau | 2011-07-20 | 1 | -7/+9 |
| | | | | | | hardware reset SVN-Revision: 27702 | ||||
* | ar71xx: increase the delay after the ethernet MAC reset | Felix Fietkau | 2011-07-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 27701 | ||||
* | ar71xx: fix an unused variable warning | Felix Fietkau | 2011-07-20 | 1 | -1/+0 |
| | | | | SVN-Revision: 27700 | ||||
* | ar71xx: do not reset the hardware on transmit timeout - this would mess up ↵ | Felix Fietkau | 2011-07-09 | 1 | -4/+0 |
| | | | | | | the up the PHY state SVN-Revision: 27568 | ||||
* | ag71xx: keep the rx engine stopped while the link is not up, should ↵ | Felix Fietkau | 2011-07-09 | 1 | -91/+91 |
| | | | | | | hopefully fix stability issues from #9405 SVN-Revision: 27567 | ||||
* | Revert "ar71xx: only enable the rx engine after the link is up..." | Felix Fietkau | 2011-06-01 | 1 | -68/+67 |
| | | | | | | It messes up the DMA state when the link goes down SVN-Revision: 27088 | ||||
* | ar71xx: ag71xx: prepare to make ring sizes configurable | Gabor Juhos | 2011-05-31 | 1 | -22/+24 |
| | | | | SVN-Revision: 27040 | ||||
* | ar71xx: only enable the rx engine after the link is up, fixes a race ↵ | Felix Fietkau | 2011-05-30 | 1 | -67/+68 |
| | | | | | | condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo) SVN-Revision: 27035 | ||||
* | ar71xx: disable flow control for ar724x, it can get stuck in a loop of ↵ | Felix Fietkau | 2011-05-30 | 1 | -5/+1 |
| | | | | | | continously sending MAC pause frames SVN-Revision: 27034 | ||||
* | ar71xx: ag71xx: add timestamps to ag71xx_buf | Gabor Juhos | 2011-05-07 | 1 | -0/+1 |
| | | | | SVN-Revision: 26844 | ||||
* | ar71xx: frequent ethernet mac resets upset the MDIO bus on ar7240, so do not ↵ | Felix Fietkau | 2011-04-02 | 1 | -4/+5 |
| | | | | | | run them on every device open, only on tx timeouts SVN-Revision: 26392 | ||||
* | ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM | Gabor Juhos | 2010-11-12 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23982 | ||||
* | ar71xx: wrap long lines | Gabor Juhos | 2010-11-12 | 1 | -1/+2 |
| | | | | | | | | (build errors has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23977 | ||||
* | ar71xx: fix whitespaces nits | Gabor Juhos | 2010-11-12 | 1 | -17/+17 |
| | | | | | | | | (build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23975 | ||||
* | ar71xx: fix more section mismatches | Felix Fietkau | 2010-10-21 | 1 | -2/+2 |
| | | | | SVN-Revision: 23575 | ||||
* | ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port ↵ | Felix Fietkau | 2010-10-21 | 1 | -2/+1 |
| | | | | | | patch to the 2.6.36 patches, add a backport patch to 2.6.32 SVN-Revision: 23574 | ||||
* | ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until ↵ | Felix Fietkau | 2010-07-06 | 1 | -1/+3 |
| | | | | | | we've figured out what part of it causes the issue described in #7563 SVN-Revision: 22075 | ||||
* | ag71xx: reset the hardware during open(), this improves recovery from tx ↵ | Felix Fietkau | 2010-07-04 | 1 | -0/+2 |
| | | | | | | timeouts on ar724x considerably SVN-Revision: 22055 | ||||
* | ag71xx: fix a memory corruption bug that happens if you flood the interface ↵ | Felix Fietkau | 2010-07-04 | 1 | -0/+6 |
| | | | | | | with packets while it's being brought down fixes boot time crashes under load reported by matteo SVN-Revision: 22054 | ||||
* | ag71xx: remove rx alignment code for small packets, it seems to break ipv6 ↵ | Felix Fietkau | 2010-04-26 | 1 | -24/+0 |
| | | | | | | for some reason (fixes #7236) SVN-Revision: 21166 | ||||
* | ar71xx: fix up alignment handling | Felix Fietkau | 2010-04-15 | 1 | -25/+41 |
| | | | | | | | | | | | - on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned - alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment - ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets - use memmove to re-align small packets, if necessary tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers SVN-Revision: 20892 | ||||
* | ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive ↵ | Gabor Juhos | 2010-04-09 | 1 | -0/+7 |
| | | | | | | | | functions Cc: backfire@openwrt.org SVN-Revision: 20751 | ||||
* | ar71xx: ag71xx: call the phy driver's netif_receive_skb() | Gabor Juhos | 2010-04-09 | 1 | -2/+6 |
| | | | | | | | | | | | | Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers to mangle rx packets. This patch fixes it. This fixes the header mangling of the AR8216 driver. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> Cc:backfire@openwrt.org SVN-Revision: 20750 | ||||
* | ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024) | Gabor Juhos | 2010-04-03 | 1 | -3/+3 |
| | | | | | | * cc: backfire@openwrt.org SVN-Revision: 20673 | ||||
* | ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack | Gabor Juhos | 2010-03-27 | 1 | -0/+19 |
| | | | | SVN-Revision: 20506 | ||||
* | ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper | Gabor Juhos | 2010-03-27 | 1 | -3/+6 |
| | | | | SVN-Revision: 20505 | ||||
* | ar71xx: ag71xx: reorganize ag71xx_rx_packet function | Gabor Juhos | 2010-03-27 | 1 | -6/+7 |
| | | | | SVN-Revision: 20504 | ||||
* | ar71xx: ag71xx: Add netpoll support | Gabor Juhos | 2010-03-27 | 1 | -0/+17 |
| | | | | | | | | | | | This patch adds support for polling interrupts, used by netconsole and the likes. Tested on d-link dir-615 C1 using netconsole. Signed-off-by: Pat Erley <pat-lkml@erley.org> SVN-Revision: 20503 | ||||
* | ar71xx: ag71xx: fix MAC address setup | Gabor Juhos | 2010-03-09 | 1 | -3/+3 |
| | | | | SVN-Revision: 20092 | ||||
* | ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock | Gabor Juhos | 2010-03-05 | 1 | -3/+3 |
| | | | | SVN-Revision: 20004 | ||||
* | ar71xx: ag71xx: move link update function | Gabor Juhos | 2010-03-05 | 1 | -0/+101 |
| | | | | SVN-Revision: 20003 | ||||
* | ar71xx: ag71xx: don't use dev->trans_start | Gabor Juhos | 2010-03-05 | 1 | -2/+0 |
| | | | | SVN-Revision: 20002 | ||||
* | ar71xx: ag71xx: use dma_unmap_single to unmap frames | Gabor Juhos | 2010-03-05 | 1 | -2/+9 |
| | | | | SVN-Revision: 20001 | ||||
* | ar71xx: ag71xx: use correct device pointer for dma_map_single | Gabor Juhos | 2010-03-02 | 1 | -3/+5 |
| | | | | SVN-Revision: 19951 | ||||
* | ar71xx: ag71xx: don't use virt_to_phys | Gabor Juhos | 2010-03-02 | 1 | -13/+16 |
| | | | | SVN-Revision: 19950 | ||||
* | ar71xx: ag71xx: use NETDEV_TX_OK | Gabor Juhos | 2010-03-02 | 1 | -3/+4 |
| | | | | SVN-Revision: 19948 | ||||
* | ar71xx: enable TX/RX flow control on the AR7240 | Gabor Juhos | 2010-02-24 | 1 | -1/+6 |
| | | | | SVN-Revision: 19832 | ||||
* | ar71xx: add NAPI statistics to the ag71xx driver | Gabor Juhos | 2010-01-08 | 1 | -12/+16 |
| | | | | SVN-Revision: 19079 | ||||
* | ar71xx: add detailed interrupt statistics for the ag71xx driver | Gabor Juhos | 2010-01-06 | 1 | -0/+2 |
| | | | | SVN-Revision: 19054 |