summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: adding support for zyxel nbg460n/550n/550nh boardsjuhosg2010-04-188-0/+245
| | | | | | | | | | | This patch adds support for the zyxel nbg460n/550n/550nh routers. Currently this only works if a second stage bootloader is also flashed, as the used switch needs extra initialization. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix up alignment handlingnbd2010-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: fix image builds (broken by r20834)nbd2010-04-131-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* define a shared IMG_PREFIX variable used as a basename for image files, it ↵nico2010-04-121-16/+14
| | | | | | contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a profile for PB92nbd2010-04-101-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nuke clocksource init patches, it is not required since 2.6.27juhosg2010-04-093-168/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update phy masks for the Planex boardsjuhosg2010-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 boardsjuhosg2010-04-094-8/+52
| | | | | | | 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 ↵juhosg2010-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()juhosg2010-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 ↵nbd2010-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.jow2010-04-057-0/+41
| | | | | | | | | | | | | 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)juhosg2010-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/ar7242nbd2010-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 pb92nbd2010-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/ar7242nbd2010-03-282-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add uci defaults to fix trx header on the WRT160NL boardsjuhosg2010-03-271-0/+16
| | | | | | | * patch by Otto Solares git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update image generation and trx header parsing for the WRT160NLjuhosg2010-03-272-15/+6
| | | | | | | | * 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 stackjuhosg2010-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() helperjuhosg2010-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 functionjuhosg2010-03-271-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: Add netpoll supportjuhosg2010-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 images for pb92 - no kernel size check yet, lzma images did not ↵nbd2010-03-261-0/+26
| | | | | | yet work in my tests git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add basic kernel support for pb92nbd2010-03-269-0/+186
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ar7241 and ar7242nbd2010-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 ar724xnbd2010-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 workaroundagb2010-03-262-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to 2.6.32.10juhosg2010-03-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add basic WLAN LED control to TL-WR1043NDjuhosg2010-03-251-0/+22
| | | | | | | | * thanks to KillaB * closes #6834 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create smaller initramfs images for the TP-Link boardsjuhosg2010-03-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the RB411 setup for the RB411Ujuhosg2010-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_masksjuhosg2010-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_setupjuhosg2010-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.cjuhosg2010-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.cjuhosg2010-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.cjuhosg2010-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 variablejuhosg2010-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_initjuhosg2010-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.cjuhosg2010-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}.cjuhosg2010-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 IRQsjuhosg2010-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_IP2juhosg2010-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.cjuhosg2010-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} helpersjuhosg2010-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.juhosg2010-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 codejuhosg2010-03-161-21/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix defconfig script to work with ImageBuilderjuhosg2010-03-151-2/+2
| | | | | | | * patch from #5722 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create separated and smaller sysupgrade files for the DIR-615 and ↵juhosg2010-03-151-2/+10
| | | | | | similar boards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build firmware image for the Fry's FR-54RTR boardjuhosg2010-03-151-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't break the existing network configuration in the wget2nand scriptjuhosg2010-03-151-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20228 3c298f89-4303-0410-b956-a3cf2f4a3e73