aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update phy masks for the Planex boardsGabor Juhos2010-04-092-4/+10
| | | | | | | | | This avoids probing of the AR8216 chip on the eth0 interface. Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boardsGabor Juhos2010-04-092-8/+16
| | | | | | | Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive ↵Gabor Juhos2010-04-092-1/+8
| | | | | | | | | 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()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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet on final pb92 board (previous value was based on a ↵Felix Fietkau2010-04-061-1/+1
| | | | | | preliminary version) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 1/2] Add support for the ar8316 switch.Jo-Philipp Wich2010-04-052-0/+2
| | | | | | | | | | | | | This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices. [PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g. Add the ar8216 driver to the ar71xx target, and add network configurations for the RouterStation Pro and the RouterBoard RB-450G. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024)Gabor Juhos2010-04-033-8/+12
| | | | | | | * cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix pci on ar7241/ar7242Felix Fietkau2010-03-281-3/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix the wan port on pb92Felix Fietkau2010-03-281-9/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reset the mdio bus on ar7241/ar7242Felix Fietkau2010-03-282-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stackGabor Juhos2010-03-271-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: introduce ag71xx_has_ar8216() helperGabor Juhos2010-03-273-16/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: reorganize ag71xx_rx_packet functionGabor Juhos2010-03-271-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add basic kernel support for pb92Felix Fietkau2010-03-266-0/+180
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ar7241 and ar7242Felix Fietkau2010-03-269-12/+73
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix pci link detection for ar724xFelix Fietkau2010-03-262-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] wrt400n: lan ports don't need the ar8216 workaroundAndy Boyett2010-03-262-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the RB411 setup for the RB411UGabor Juhos2010-03-211-10/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change PHY select logic, and update phy_masksGabor Juhos2010-03-2122-78/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: check returned value of ioremap in ar71xx_pcibios_setupGabor Juhos2010-03-181-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: optimize register access in ar71xx_pci.cGabor Juhos2010-03-181-44/+50
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: optimize register access in irq.cGabor Juhos2010-03-181-23/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: optimize register access in ar724x_pci.cGabor Juhos2010-03-181-37/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: introduce global ar724x_pci_ctrl_base variableGabor Juhos2010-03-181-20/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add error handling to ar724x_pcibios_initGabor Juhos2010-03-181-2/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move ar724x_pci_* helpers to ar724x-pci.cGabor Juhos2010-03-182-30/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.cGabor Juhos2010-03-183-163/+149
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use set_irq_chained_handler for the PCI IRQsGabor Juhos2010-03-181-37/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2Gabor Juhos2010-03-183-7/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove unnecessary includes from setup.cGabor Juhos2010-03-181-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ar724x_pci_wr{,_nf} helpersGabor Juhos2010-03-181-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.Gabor Juhos2010-03-161-1/+1
| | | | | | | * Thanks to Pascal Dornier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: optimize GPIO codeGabor Juhos2010-03-161-21/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix oprofile supportFelix Fietkau2010-03-111-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: override lan port names on the RB750Gabor Juhos2010-03-091-1/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow overriding of the lan port names on AP91 based boardsGabor Juhos2010-03-095-5/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a typo in the ar7240 dsa driverGabor Juhos2010-03-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix MAC address setupGabor Juhos2010-03-092-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add NAND driver for the RB750Gabor Juhos2010-03-082-1/+366
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ar71xx_gpio_function_setupGabor Juhos2010-03-082-1/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add LED driver for the RB750Gabor Juhos2010-03-083-0/+201
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add latch handling code for the RB750Gabor Juhos2010-03-082-0/+104
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for the RouterBOARD 750Gabor Juhos2010-03-074-0/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbolGabor Juhos2010-03-073-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in resetGabor Juhos2010-03-051-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlockGabor Juhos2010-03-051-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: move link update functionGabor Juhos2010-03-053-104/+105
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20003 3c298f89-4303-0410-b956-a3cf2f4a3e73