summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: ag71xx: call the phy driver's netif_receive_skb()Gabor Juhos2010-04-091-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 Juhos2010-04-031-3/+3
| | | | | | * cc: backfire@openwrt.org SVN-Revision: 20673
* 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-271-3/+6
| | | | 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
* ar71xx: ag71xx: fix MAC address setupGabor Juhos2010-03-091-3/+3
| | | | SVN-Revision: 20092
* 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-051-0/+101
| | | | SVN-Revision: 20003
* ar71xx: ag71xx: don't use dev->trans_startGabor Juhos2010-03-051-2/+0
| | | | SVN-Revision: 20002
* ar71xx: ag71xx: use dma_unmap_single to unmap framesGabor Juhos2010-03-051-2/+9
| | | | SVN-Revision: 20001
* ar71xx: ag71xx: use correct device pointer for dma_map_singleGabor Juhos2010-03-021-3/+5
| | | | SVN-Revision: 19951
* ar71xx: ag71xx: don't use virt_to_physGabor Juhos2010-03-021-13/+16
| | | | SVN-Revision: 19950
* ar71xx: ag71xx: use NETDEV_TX_OKGabor Juhos2010-03-021-3/+4
| | | | SVN-Revision: 19948
* ar71xx: enable TX/RX flow control on the AR7240Gabor Juhos2010-02-241-1/+6
| | | | SVN-Revision: 19832
* ar71xx: add NAPI statistics to the ag71xx driverGabor Juhos2010-01-081-12/+16
| | | | SVN-Revision: 19079
* ar71xx: add detailed interrupt statistics for the ag71xx driverGabor Juhos2010-01-061-0/+2
| | | | SVN-Revision: 19054
* ar71xx: add dummy debugfs support for the ag71xx driverGabor Juhos2010-01-041-2/+16
| | | | SVN-Revision: 19031
* Revert "ar71xx: move phy_connect call to ag71xx_open" (r18691) It's causing ↵Felix Fietkau2009-12-151-11/+12
| | | | | | issues with switch drivers that register with swconfig and makes fixing those unnecessarily complicated. Fixes rtl8306 switch support on the WRT160NL. SVN-Revision: 18789
* ar71xx: merge ag71xx specific patchesGabor Juhos2009-12-111-10/+17
| | | | SVN-Revision: 18751
* ar71xx: move mdio_bus reset codeGabor Juhos2009-12-111-7/+0
| | | | SVN-Revision: 18749
* ar71xx: add support for external mii_busGabor Juhos2009-12-081-1/+6
| | | | SVN-Revision: 18692
* ar71xx: move phy_connect call to ag71xx_openGabor Juhos2009-12-081-12/+11
| | | | SVN-Revision: 18691
* ar71xx: override fifo_cfg[123] values on AR7240Gabor Juhos2009-11-301-2/+7
| | | | SVN-Revision: 18614
* ar71xx: mask out reserved bits from the dma tx status in the ethernet driverFelix Fietkau2009-11-291-6/+13
| | | | SVN-Revision: 18599
* ar71xx: don't use mac_base2 in the ag71xx driverGabor Juhos2009-09-231-20/+3
| | | | SVN-Revision: 17693
* ag71xx driver: rename ag71xx_debug module parameterGabor Juhos2009-07-131-4/+4
| | | | SVN-Revision: 16833
* ag71xx driver: align descriptors on cache_line boundaryGabor Juhos2009-07-131-10/+23
| | | | SVN-Revision: 16825
* ag71xx driver: store descriptor pointers in ag71xx_bufGabor Juhos2009-07-131-21/+28
| | | | SVN-Revision: 16824
* ag71xx driver: don't flush ddr on tx pathGabor Juhos2009-07-121-6/+0
| | | | SVN-Revision: 16817
* ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable ↵Gabor Juhos2009-02-251-3/+10
| | | | | | switch driver SVN-Revision: 14655
* ag71xx driver: apply 2.6.28 specific patchesGabor Juhos2009-02-151-1/+1
| | | | SVN-Revision: 14515
* ag71xx driver: fix a kernel crash caused by r14496Gabor Juhos2009-02-131-1/+1
| | | | SVN-Revision: 14504
* ag71xx driver: fix return code of the napi poll routine, was broken since ↵Gabor Juhos2009-02-131-3/+3
| | | | | | [13545] (patch by Ubiquiti Networks) SVN-Revision: 14496
* ag71xx driver: update phy connecting codeGabor Juhos2009-02-131-1/+1
| | | | SVN-Revision: 14495
* move random MAC address generation into the platform initialization codeGabor Juhos2009-01-261-9/+2
| | | | SVN-Revision: 14204
* ag71xx driver: use same FIFO configuration for all SOCGabor Juhos2008-12-091-17/+22
| | | | SVN-Revision: 13560
* ag71xx driver: add OOM handlerGabor Juhos2008-12-081-7/+28
| | | | SVN-Revision: 13545
* ag71xx driver: don't refill rx buffers twiceGabor Juhos2008-12-081-2/+0
| | | | SVN-Revision: 13544
* ag71xx driver: interrupt status is masked by hw, don't mask it againGabor Juhos2008-12-081-2/+0
| | | | SVN-Revision: 13543
* ag71xx driver: remove unused codeGabor Juhos2008-12-081-7/+0
| | | | SVN-Revision: 13542
* ag71xx driver: NAPI poll cleanupGabor Juhos2008-12-071-7/+15
| | | | SVN-Revision: 13538
* ag71xx driver: handle TX timoutGabor Juhos2008-12-071-0/+21
| | | | SVN-Revision: 13537
* ag71xx driver: always use NAPI to transmit packetsGabor Juhos2008-12-061-24/+0
| | | | SVN-Revision: 13529
* ag71xx driver: improve poll routineGabor Juhos2008-12-051-16/+11
| | | | SVN-Revision: 13525
* ag71xx driver: don't use dma_cache_wback_invGabor Juhos2008-12-051-3/+8
| | | | SVN-Revision: 13523
* ag71xx driver: don't use CHECKSUM_UNNECCESARY (closes #4161)Gabor Juhos2008-12-051-1/+1
| | | | SVN-Revision: 13522
* ag71xx driver: add some debug stuffGabor Juhos2008-12-021-0/+22
| | | | SVN-Revision: 13462
* ag71xx driver: reset DMA registers in hardware initializationGabor Juhos2008-12-011-7/+49
| | | | SVN-Revision: 13459
* ag71xx driver: fix a typoGabor Juhos2008-11-301-1/+1
| | | | SVN-Revision: 13445