summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: move arch specific files to files-2.6.39Gabor Juhos2012-01-221-465/+0
| | | | SVN-Revision: 29867
* ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xxGabor Juhos2011-11-131-1/+0
| | | | SVN-Revision: 29015
* ar71xx: ag71xx: remove unused mii_cfg related functions and definesGabor Juhos2011-11-131-40/+0
| | | | SVN-Revision: 29014
* ar71xx: ag71xx: remove MII interface setup codeGabor Juhos2011-11-131-12/+0
| | | | SVN-Revision: 29011
* ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)Felix Fietkau2011-09-111-1/+1
| | | | SVN-Revision: 28213
* ar71xx: add some code to detect DMA stuck conditions on ar7240Felix Fietkau2011-08-131-0/+4
| | | | SVN-Revision: 27975
* ar71xx: fix ethernet FIFO state corruption on ar7240Felix Fietkau2011-08-041-0/+1
| | | | | | | | | 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/stopFelix Fietkau2011-08-041-0/+3
| | | | | | | | | | | 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: ag71xx: make ring sizes configurable via ethtoolGabor Juhos2011-05-311-0/+3
| | | | SVN-Revision: 27041
* ar71xx: ag71xx: prepare to make ring sizes configurableGabor Juhos2011-05-311-6/+2
| | | | SVN-Revision: 27040
* ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN defineGabor Juhos2011-05-311-1/+0
| | | | | | Reported-by: Dave Täht <dave.taht@gmail.com> SVN-Revision: 27039
* ar71xx: detect link on LAN portsMatteo Croce2011-05-171-0/+1
| | | | SVN-Revision: 26922
* use correct macros and frame size in ag71xxMatteo Croce2011-05-141-3/+2
| | | | SVN-Revision: 26890
* ar71xx: ag71xx: add timestamps to ag71xx_bufGabor Juhos2011-05-071-1/+1
| | | | SVN-Revision: 26844
* ar71xx: ag71xx: use debugfs_remove_recursiveGabor Juhos2011-05-071-2/+0
| | | | SVN-Revision: 26842
* ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus ↵Felix Fietkau2011-04-021-0/+8
| | | | | | behind the switch instead SVN-Revision: 26393
* ar71xx: return statements does not need parenthesisGabor Juhos2010-11-121-2/+2
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23979
* ar71xx: fix inline attribute locationGabor Juhos2010-11-121-2/+2
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23978
* ar71xx: fix whitespaces nitsGabor Juhos2010-11-121-2/+2
| | | | | | | | (build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> SVN-Revision: 23975
* ar71xx: add a new driver for the ar7240 switch using swconfig. hooks ↵Felix Fietkau2010-08-161-1/+7
| | | | | | 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: ag71xx: avoid unalinged accesses when using the phy specific receive ↵Gabor Juhos2010-04-091-1/+1
| | | | | | | | functions Cc: backfire@openwrt.org SVN-Revision: 20751
* ar71xx: ag71xx: call the phy driver's netif_receive_skb()Gabor Juhos2010-04-091-1/+1
| | | | | | | | | | | | 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-031-2/+4
| | | | | | * cc: backfire@openwrt.org SVN-Revision: 20673
* ar71xx: ag71xx: introduce ag71xx_has_ar8216() helperGabor Juhos2010-03-271-0/+8
| | | | SVN-Revision: 20505
* ar71xx: change PHY select logic, and update phy_masksGabor Juhos2010-03-211-1/+1
| | | | SVN-Revision: 20358
* ar71xx: ag71xx: fix MAC address setupGabor Juhos2010-03-091-1/+1
| | | | SVN-Revision: 20092
* ar71xx: ag71xx: move link update functionGabor Juhos2010-03-051-0/+1
| | | | SVN-Revision: 20003
* ar71xx: ag71xx: don't use dev->trans_startGabor Juhos2010-03-051-1/+1
| | | | SVN-Revision: 20002
* ar71xx: ag71xx: use dma_unmap_single to unmap framesGabor Juhos2010-03-051-3/+5
| | | | SVN-Revision: 20001
* ar71xx: ag71xx: use correct device pointer for dma_map_singleGabor Juhos2010-03-021-1/+1
| | | | SVN-Revision: 19951
* ar71xx: ag71xx: don't use virt_to_physGabor Juhos2010-03-021-1/+1
| | | | 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-021-1/+1
| | | | SVN-Revision: 19948
* ar71xx: add NAPI statistics to the ag71xx driverGabor Juhos2010-01-081-1/+20
| | | | SVN-Revision: 19079
* fix typo after r19054Jo-Philipp Wich2010-01-061-1/+1
| | | | SVN-Revision: 19059
* ar71xx: add detailed interrupt statistics for the ag71xx driverGabor Juhos2010-01-061-0/+15
| | | | SVN-Revision: 19054
* ar71xx: add dummy debugfs support for the ag71xx driverGabor Juhos2010-01-041-1/+21
| | | | SVN-Revision: 19031
* ar71xx: add support for external mii_busGabor Juhos2009-12-081-1/+0
| | | | SVN-Revision: 18692
* ar71xx: use soc specific divider for mdio clockGabor Juhos2009-10-301-3/+4
| | | | SVN-Revision: 18225
* ar71xx: flush mii register writesGabor Juhos2009-09-231-1/+1
| | | | SVN-Revision: 17695
* ar71xx: don't use mac_base2 in the ag71xx driverGabor Juhos2009-09-231-24/+16
| | | | SVN-Revision: 17693
* ar71xx: remove some extern directives in the ag71xx driverGabor Juhos2009-09-231-6/+6
| | | | SVN-Revision: 17692
* ag71xx driver: fix a typoGabor Juhos2009-07-131-1/+1
| | | | SVN-Revision: 16827
* ag71xx driver: align descriptors on cache_line boundaryGabor Juhos2009-07-131-1/+2
| | | | SVN-Revision: 16825
* ag71xx driver: store descriptor pointers in ag71xx_bufGabor Juhos2009-07-131-2/+3
| | | | SVN-Revision: 16824
* ag71xx driver: descriptors always aligned on 4 byte boundaryGabor Juhos2009-07-121-1/+1
| | | | SVN-Revision: 16818
* add AR7240 specific fixes for the ag71xx driverGabor Juhos2009-07-071-0/+10
| | | | SVN-Revision: 16737
* fix a bitmask in the ag71xx driverGabor Juhos2009-07-021-1/+1
| | | | SVN-Revision: 16658
* ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable ↵Gabor Juhos2009-02-251-1/+17
| | | | | | switch driver SVN-Revision: 14655
* ag71xx driver: add Kconfig option for enabling debug messagesGabor Juhos2009-02-151-2/+1
| | | | SVN-Revision: 14517