Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ar71xx: ag71xx: use debugfs_remove_recursive | Gabor Juhos | 2011-05-07 | 2 | -28/+7 | |
| | | | | SVN-Revision: 26842 | |||||
* | ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus ↵ | Felix Fietkau | 2011-04-02 | 3 | -76/+109 | |
| | | | | | | behind the switch instead SVN-Revision: 26393 | |||||
* | 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: use pr_* functions in drivers | Gabor Juhos | 2010-11-12 | 1 | -1/+1 | |
| | | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23981 | |||||
* | ar71xx: return statements does not need parenthesis | Gabor Juhos | 2010-11-12 | 2 | -7/+7 | |
| | | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23979 | |||||
* | ar71xx: fix inline attribute location | Gabor Juhos | 2010-11-12 | 1 | -2/+2 | |
| | | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23978 | |||||
* | ar71xx: wrap long lines | Gabor Juhos | 2010-11-12 | 2 | -2/+4 | |
| | | | | | | | | (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 | 5 | -34/+34 | |
| | | | | | | | | (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 | 4 | -9/+9 | |
| | | | | 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: add a new driver for the ar7240 switch using swconfig. hooks ↵ | Felix Fietkau | 2010-08-16 | 4 | -2/+875 | |
| | | | | | | directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563 SVN-Revision: 22675 | |||||
* | 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 | 2 | -26/+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 | 2 | -1/+8 | |
| | | | | | | | | functions Cc: backfire@openwrt.org SVN-Revision: 20751 | |||||
* | ar71xx: ag71xx: call the phy driver's netif_receive_skb() | Gabor Juhos | 2010-04-09 | 2 | -3/+7 | |
| | | | | | | | | | | | | 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 | 3 | -8/+12 | |
| | | | | | | * 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 | 3 | -16/+17 | |
| | | | | 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 | |||||
* | wrt400n: lan ports don't need the ar8216 workaround | Andy Boyett | 2010-03-26 | 1 | -1/+1 | |
| | | | | SVN-Revision: 20491 | |||||
* | ar71xx: change PHY select logic, and update phy_masks | Gabor Juhos | 2010-03-21 | 2 | -45/+31 | |
| | | | | SVN-Revision: 20358 | |||||
* | ar71xx: ag71xx: fix MAC address setup | Gabor Juhos | 2010-03-09 | 2 | -4/+4 | |
| | | | | 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 | 3 | -104/+105 | |
| | | | | SVN-Revision: 20003 | |||||
* | ar71xx: ag71xx: don't use dev->trans_start | Gabor Juhos | 2010-03-05 | 2 | -3/+1 | |
| | | | | SVN-Revision: 20002 | |||||
* | ar71xx: ag71xx: use dma_unmap_single to unmap frames | Gabor Juhos | 2010-03-05 | 2 | -5/+14 | |
| | | | | SVN-Revision: 20001 | |||||
* | ar71xx: ag71xx: use correct device pointer for dma_map_single | Gabor Juhos | 2010-03-02 | 2 | -4/+6 | |
| | | | | SVN-Revision: 19951 | |||||
* | ar71xx: ag71xx: don't use virt_to_phys | Gabor Juhos | 2010-03-02 | 2 | -14/+17 | |
| | | | | SVN-Revision: 19950 | |||||
* | ar71xx: ag71xx: simplify register access functions | Gabor Juhos | 2010-03-02 | 1 | -44/+24 | |
| | | | | SVN-Revision: 19949 | |||||
* | ar71xx: ag71xx: use NETDEV_TX_OK | Gabor Juhos | 2010-03-02 | 2 | -4/+5 | |
| | | | | SVN-Revision: 19948 | |||||
* | ar71xx: enable TX/RX flow control on the AR7240 | Gabor Juhos | 2010-02-24 | 1 | -1/+6 | |
| | | | | SVN-Revision: 19832 | |||||
* | rtl8366: make it available on all platforms | Gabor Juhos | 2010-01-25 | 3 | -2048/+0 | |
| | | | | SVN-Revision: 19329 | |||||
* | rtl8366s: simplify mib counters handling | Gabor Juhos | 2010-01-25 | 1 | -58/+48 | |
| | | | | SVN-Revision: 19326 | |||||
* | rtl8366_smi: move RTL8366S driver into a separate file | Gabor Juhos | 2010-01-22 | 3 | -1713/+1756 | |
| | | | | SVN-Revision: 19279 | |||||
* | rtl8366_smi: rename rtl8366s specific functions and definitions | Gabor Juhos | 2010-01-22 | 1 | -175/+173 | |
| | | | | SVN-Revision: 19278 | |||||
* | rtl8366_smi: move chip specific stuff into its own struct | Gabor Juhos | 2010-01-22 | 1 | -192/+224 | |
| | | | | SVN-Revision: 19277 | |||||
* | rtl8366_smi: separate gpio initialization | Gabor Juhos | 2010-01-22 | 1 | -25/+46 | |
| | | | | SVN-Revision: 19276 | |||||
* | rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct | Gabor Juhos | 2010-01-22 | 1 | -22/+21 | |
| | | | | SVN-Revision: 19275 | |||||
* | rtl8366_smi: store device pointer instead of plaform_device | Gabor Juhos | 2010-01-22 | 1 | -19/+19 | |
| | | | | SVN-Revision: 19274 | |||||
* | rtl8366_smi: rename switch attribute handlers | Gabor Juhos | 2010-01-21 | 1 | -59/+59 | |
| | | | | SVN-Revision: 19254 | |||||
* | rtl8366_smi: simplify rtl8366_attr_get_port_link function | Gabor Juhos | 2010-01-20 | 1 | -52/+33 | |
| | | | | SVN-Revision: 19250 | |||||
* | rtl8366_smi: make rtl8366_phy_config_{aneg,init} static | Gabor Juhos | 2010-01-20 | 1 | -2/+2 | |
| | | | | SVN-Revision: 19249 | |||||
* | rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions | Gabor Juhos | 2010-01-20 | 1 | -39/+21 | |
| | | | | SVN-Revision: 19248 | |||||
* | rtl8366_smi: minor code optimalizations | Gabor Juhos | 2010-01-20 | 1 | -8/+7 | |
| | | | | SVN-Revision: 19247 | |||||
* | rtl8366_smi: coding style cleanup | Gabor Juhos | 2010-01-20 | 1 | -102/+119 | |
| | | | | SVN-Revision: 19246 |