summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: ag71xx: add timestamps to ag71xx_bufjuhosg2011-05-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use debugfs_remove_recursivejuhosg2011-05-071-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus ↵nbd2011-04-021-0/+8
| | | | | | behind the switch instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: return statements does not need parenthesisjuhosg2010-11-121-2/+2
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix inline attribute locationjuhosg2010-11-121-2/+2
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix whitespaces nitsjuhosg2010-11-121-2/+2
| | | | | | | | (build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a new driver for the ar7240 switch using swconfig.nbd2010-08-161-1/+7
| | | | | | | | hooks 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive ↵juhosg2010-04-091-1/+1
| | | | | | | | | functions Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: call the phy driver's netif_receive_skb()juhosg2010-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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024)juhosg2010-04-031-2/+4
| | | | | | | * cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: introduce ag71xx_has_ar8216() helperjuhosg2010-03-271-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change PHY select logic, and update phy_masksjuhosg2010-03-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix MAC address setupjuhosg2010-03-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: move link update functionjuhosg2010-03-051-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: don't use dev->trans_startjuhosg2010-03-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use dma_unmap_single to unmap framesjuhosg2010-03-051-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use correct device pointer for dma_map_singlejuhosg2010-03-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: don't use virt_to_physjuhosg2010-03-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: simplify register access functionsjuhosg2010-03-021-44/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use NETDEV_TX_OKjuhosg2010-03-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add NAPI statistics to the ag71xx driverjuhosg2010-01-081-1/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] fix typo after r19054jow2010-01-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add detailed interrupt statistics for the ag71xx driverjuhosg2010-01-061-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add dummy debugfs support for the ag71xx driverjuhosg2010-01-041-1/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for external mii_busjuhosg2009-12-081-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use soc specific divider for mdio clockjuhosg2009-10-301-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: flush mii register writesjuhosg2009-09-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't use mac_base2 in the ag71xx driverjuhosg2009-09-231-24/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove some extern directives in the ag71xx driverjuhosg2009-09-231-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: fix a typojuhosg2009-07-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: align descriptors on cache_line boundaryjuhosg2009-07-131-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: store descriptor pointers in ag71xx_bufjuhosg2009-07-131-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundaryjuhosg2009-07-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] add AR7240 specific fixes for the ag71xx driverjuhosg2009-07-071-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] fix a bitmask in the ag71xx driverjuhosg2009-07-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: add a workaround for the ar8216 chip, until we get a ↵juhosg2009-02-251-1/+17
| | | | | | suitable switch driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: add Kconfig option for enabling debug messagesjuhosg2009-02-151-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: apply 2.6.28 specific patchesjuhosg2009-02-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: fix a kernel crash caused by r14496juhosg2009-02-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: fix return code of the napi poll routine, was broken ↵juhosg2009-02-131-1/+1
| | | | | | since [13545] (patch by Ubiquiti Networks) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: update phy connecting codejuhosg2009-02-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] move random MAC address generation into the platform initialization ↵juhosg2009-01-261-1/+1
| | | | | | code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: increase size of dma descriptorsjuhosg2008-12-091-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: use same FIFO configuration for all SOCjuhosg2008-12-091-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: add OOM handlerjuhosg2008-12-081-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: NAPI poll cleanupjuhosg2008-12-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: handle TX timoutjuhosg2008-12-071-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: always use NAPI to transmit packetsjuhosg2008-12-061-8/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: improve poll routinejuhosg2008-12-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] ag71xx driver: always flush register writesjuhosg2008-12-051-7/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13524 3c298f89-4303-0410-b956-a3cf2f4a3e73