Felix Fietkau
1c0e751391
ar71xx: fix up alignment handling
...
- 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
SVN-Revision: 20892
15 years ago
Felix Fietkau
231012cba0
ar71xx: fix image builds (broken by r20834)
...
SVN-Revision: 20840
15 years ago
Nicolas Thill
e2b57ecf5f
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
SVN-Revision: 20834
15 years ago
Felix Fietkau
1633dd6b6c
ar71xx: add a profile for PB92
...
SVN-Revision: 20778
15 years ago
Gabor Juhos
6139571932
ar71xx: nuke clocksource init patches, it is not required since 2.6.27
...
SVN-Revision: 20764
15 years ago
Gabor Juhos
dd7304ec6d
ar71xx: update phy masks for the Planex boards
...
This avoids probing of the AR8216 chip on the eth0 interface.
Cc: backfire@openwrt.org
SVN-Revision: 20754
15 years ago
Gabor Juhos
d6c0363884
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
SVN-Revision: 20752
15 years ago
Gabor Juhos
4c29a2c263
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
SVN-Revision: 20751
15 years ago
Gabor Juhos
4a28844d80
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
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
15 years ago
Felix Fietkau
df463abb18
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
SVN-Revision: 20725
15 years ago
Jo-Philipp Wich
23bebe33a7
Add support for the ar8316 switch. 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.
SVN-Revision: 20722
15 years ago
Gabor Juhos
c874513cfa
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
SVN-Revision: 20673
15 years ago
Felix Fietkau
7983e442e1
ar71xx: fix pci on ar7241/ar7242
...
SVN-Revision: 20530
15 years ago
Felix Fietkau
9c0f21a5b9
ar71xx: fix the wan port on pb92
...
SVN-Revision: 20529
15 years ago
Felix Fietkau
2cc215f121
ar71xx: reset the mdio bus on ar7241/ar7242
...
SVN-Revision: 20528
15 years ago
Gabor Juhos
8701291f0f
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
...
* patch by Otto Solares
SVN-Revision: 20526
15 years ago
Gabor Juhos
905f2d62f9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
SVN-Revision: 20525
15 years ago
Gabor Juhos
b7ca043240
ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
...
SVN-Revision: 20506
15 years ago
Gabor Juhos
f9acf8ada1
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
SVN-Revision: 20505
15 years ago
Gabor Juhos
200db5ebb5
ar71xx: ag71xx: reorganize ag71xx_rx_packet function
...
SVN-Revision: 20504
15 years ago
Gabor Juhos
245775a49f
ar71xx: ag71xx: Add netpoll support
...
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
15 years ago
Felix Fietkau
6ce1fd2301
ar71xx: add images for pb92 - no kernel size check yet, lzma images did not yet work in my tests
...
SVN-Revision: 20496
15 years ago
Felix Fietkau
0b6e32a7b0
ar71xx: add basic kernel support for pb92
...
SVN-Revision: 20495
15 years ago
Felix Fietkau
aa3ff31b95
ar71xx: add support for ar7241 and ar7242
...
SVN-Revision: 20494
15 years ago
Felix Fietkau
4e10c56551
ar71xx: fix pci link detection for ar724x
...
SVN-Revision: 20493
15 years ago
Andy Boyett
681054333e
wrt400n: lan ports don't need the ar8216 workaround
...
SVN-Revision: 20491
15 years ago
Gabor Juhos
e66a368bd1
kernel: update to 2.6.32.10
...
SVN-Revision: 20444
15 years ago
Gabor Juhos
35bb7be34d
ar71xx: Add basic WLAN LED control to TL-WR1043ND
...
* thanks to KillaB
* closes #6834
SVN-Revision: 20415
15 years ago
Gabor Juhos
c72b656d8d
ar71xx: create smaller initramfs images for the TP-Link boards
...
SVN-Revision: 20414
15 years ago
Gabor Juhos
120b1d8699
ar71xx: use the RB411 setup for the RB411U
...
SVN-Revision: 20359
15 years ago
Gabor Juhos
9a1031ce6d
ar71xx: change PHY select logic, and update phy_masks
...
SVN-Revision: 20358
15 years ago
Gabor Juhos
18aa68d368
ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
...
SVN-Revision: 20288
15 years ago
Gabor Juhos
73f7a1c224
ar71xx: optimize register access in ar71xx_pci.c
...
SVN-Revision: 20287
15 years ago
Gabor Juhos
1dedaf30a6
ar71xx: optimize register access in irq.c
...
SVN-Revision: 20286
15 years ago
Gabor Juhos
2438a03ce4
ar71xx: optimize register access in ar724x_pci.c
...
SVN-Revision: 20285
15 years ago
Gabor Juhos
d02975eb0d
ar71xx: introduce global ar724x_pci_ctrl_base variable
...
SVN-Revision: 20284
15 years ago
Gabor Juhos
b051a3b784
ar71xx: add error handling to ar724x_pcibios_init
...
SVN-Revision: 20283
15 years ago
Gabor Juhos
695e989c6f
ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
...
SVN-Revision: 20282
15 years ago
Gabor Juhos
5f109ef2f3
ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
...
SVN-Revision: 20281
15 years ago
Gabor Juhos
4d32460353
ar71xx: use set_irq_chained_handler for the PCI IRQs
...
SVN-Revision: 20280
15 years ago
Gabor Juhos
1b8137eefc
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
...
SVN-Revision: 20279
15 years ago
Gabor Juhos
58911deda5
ar71xx: remove unnecessary includes from setup.c
...
SVN-Revision: 20278
15 years ago
Gabor Juhos
ca49e09c9a
ar71xx: fix ar724x_pci_wr{,_nf} helpers
...
SVN-Revision: 20277
15 years ago
Gabor Juhos
d350e4cf40
ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
...
* Thanks to Pascal Dornier
SVN-Revision: 20247
15 years ago
Gabor Juhos
74556519e3
ar71xx: optimize GPIO code
...
SVN-Revision: 20242
15 years ago
Gabor Juhos
0095ab73f3
ar71xx: fix defconfig script to work with ImageBuilder
...
* patch from #5722
SVN-Revision: 20231
15 years ago
Gabor Juhos
5da6ae3ab5
ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards
...
SVN-Revision: 20230
15 years ago
Gabor Juhos
704320385f
ar71xx: build firmware image for the Fry's FR-54RTR board
...
SVN-Revision: 20229
15 years ago
Gabor Juhos
ed3aca86a6
ar71xx: don't break the existing network configuration in the wget2nand script
...
SVN-Revision: 20228
15 years ago
Gabor Juhos
0b6f786316
ar71xx: change DIR-600-A1 image generation template, will be usable for other boards
...
SVN-Revision: 20227
15 years ago