aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: rewrite SPI drivers for the RB4xx boardsGabor Juhos2010-08-313-308/+1026
| | | | | | | | | | * add a new SPI controller driver * add SPI driver for the CPLD chip * convert the NAND driver * enable the mikroSD slot * enable more LEDs SVN-Revision: 22863
* ar71xx: add a new driver for the ar7240 switch using swconfig. hooks ↵Felix Fietkau2010-08-164-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 Fietkau2010-07-061-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 Fietkau2010-07-041-0/+2
| | | | | | timeouts on ar724x considerably SVN-Revision: 22055
* ag71xx: fix a memory corruption bug that happens if you flood the interface ↵Felix Fietkau2010-07-041-0/+6
| | | | | | with packets while it's being brought down fixes boot time crashes under load reported by matteo SVN-Revision: 22054
* ar71xx: fix leds-rb750 build failure on 2.6.34Gabor Juhos2010-07-011-0/+1
| | | | SVN-Revision: 22016
* ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35Gabor Juhos2010-06-092-0/+2
| | | | SVN-Revision: 21736
* ar71xx: fix 2.6.34 build errorsGabor Juhos2010-06-071-0/+1
| | | | SVN-Revision: 21698
* ag71xx: remove rx alignment code for small packets, it seems to break ipv6 ↵Felix Fietkau2010-04-261-24/+0
| | | | | | for some reason (fixes #7236) SVN-Revision: 21166
* ar71xx: fix up alignment handlingFelix Fietkau2010-04-152-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 Juhos2010-04-092-1/+8
| | | | | | | | functions Cc: backfire@openwrt.org SVN-Revision: 20751
* ar71xx: ag71xx: call the phy driver's netif_receive_skb()Gabor Juhos2010-04-092-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 Juhos2010-04-033-8/+12
| | | | | | * cc: backfire@openwrt.org SVN-Revision: 20673
* ar71xx: update image generation and trx header parsing for the WRT160NLGabor Juhos2010-03-271-6/+1
| | | | | | | * patch by Bernhard Loos * note: trailing whitespaces has been removed SVN-Revision: 20525
* ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stackGabor Juhos2010-03-271-0/+19
| | | | SVN-Revision: 20506
* ar71xx: ag71xx: introduce ag71xx_has_ar8216() helperGabor Juhos2010-03-273-16/+17
| | | | SVN-Revision: 20505
* ar71xx: ag71xx: reorganize ag71xx_rx_packet functionGabor Juhos2010-03-271-6/+7
| | | | SVN-Revision: 20504
* ar71xx: ag71xx: Add netpoll supportGabor Juhos2010-03-271-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 workaroundAndy Boyett2010-03-261-1/+1
| | | | SVN-Revision: 20491
* ar71xx: change PHY select logic, and update phy_masksGabor Juhos2010-03-212-45/+31
| | | | SVN-Revision: 20358
* ar71xx: ag71xx: fix MAC address setupGabor Juhos2010-03-092-4/+4
| | | | SVN-Revision: 20092
* ar71xx: add NAND driver for the RB750Gabor Juhos2010-03-081-0/+360
| | | | SVN-Revision: 20054
* ar71xx: add LED driver for the RB750Gabor Juhos2010-03-081-0/+140
| | | | SVN-Revision: 20051
* ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlockGabor Juhos2010-03-051-3/+3
| | | | SVN-Revision: 20004
* ar71xx: ag71xx: move link update functionGabor Juhos2010-03-053-104/+105
| | | | SVN-Revision: 20003
* ar71xx: ag71xx: don't use dev->trans_startGabor Juhos2010-03-052-3/+1
| | | | SVN-Revision: 20002
* ar71xx: ag71xx: use dma_unmap_single to unmap framesGabor Juhos2010-03-052-5/+14
| | | | SVN-Revision: 20001
* ar71xx: ag71xx: use correct device pointer for dma_map_singleGabor Juhos2010-03-022-4/+6
| | | | SVN-Revision: 19951
* ar71xx: ag71xx: don't use virt_to_physGabor Juhos2010-03-022-14/+17
| | | | SVN-Revision: 19950
* ar71xx: ag71xx: simplify register access functionsGabor Juhos2010-03-021-44/+24
| | | | SVN-Revision: 19949
* ar71xx: ag71xx: use NETDEV_TX_OKGabor Juhos2010-03-022-4/+5
| | | | SVN-Revision: 19948
* ar71xx: enable TX/RX flow control on the AR7240Gabor Juhos2010-02-241-1/+6
| | | | SVN-Revision: 19832
* ar71xx: add missing fields to the ar71xx-ehci driverGabor Juhos2010-02-061-1/+7
| | | | SVN-Revision: 19534
* rtl8366: make it available on all platformsGabor Juhos2010-01-253-2048/+0
| | | | SVN-Revision: 19329
* rtl8366s: simplify mib counters handlingGabor Juhos2010-01-251-58/+48
| | | | SVN-Revision: 19326
* rtl8366_smi: move RTL8366S driver into a separate fileGabor Juhos2010-01-223-1713/+1756
| | | | SVN-Revision: 19279
* rtl8366_smi: rename rtl8366s specific functions and definitionsGabor Juhos2010-01-221-175/+173
| | | | SVN-Revision: 19278
* rtl8366_smi: move chip specific stuff into its own structGabor Juhos2010-01-221-192/+224
| | | | SVN-Revision: 19277
* rtl8366_smi: separate gpio initializationGabor Juhos2010-01-221-25/+46
| | | | SVN-Revision: 19276
* rtl8366_smi: store GPIO numbers directly in the rtl8366_smi structGabor Juhos2010-01-221-22/+21
| | | | SVN-Revision: 19275
* rtl8366_smi: store device pointer instead of plaform_deviceGabor Juhos2010-01-221-19/+19
| | | | SVN-Revision: 19274
* rtl8366_smi: rename switch attribute handlersGabor Juhos2010-01-211-59/+59
| | | | SVN-Revision: 19254
* rtl8366_smi: simplify rtl8366_attr_get_port_link functionGabor Juhos2010-01-201-52/+33
| | | | SVN-Revision: 19250
* rtl8366_smi: make rtl8366_phy_config_{aneg,init} staticGabor Juhos2010-01-201-2/+2
| | | | SVN-Revision: 19249
* rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functionsGabor Juhos2010-01-201-39/+21
| | | | SVN-Revision: 19248
* rtl8366_smi: minor code optimalizationsGabor Juhos2010-01-201-8/+7
| | | | SVN-Revision: 19247
* rtl8366_smi: coding style cleanupGabor Juhos2010-01-201-102/+119
| | | | SVN-Revision: 19246
* rtl8366_smi: add Kconfig option for the debugfs stuffGabor Juhos2010-01-201-7/+5
| | | | SVN-Revision: 19243
* rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entryGabor Juhos2010-01-201-5/+5
| | | | SVN-Revision: 19242
* rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_infoGabor Juhos2010-01-201-1/+1
| | | | SVN-Revision: 19241