juhosg
c74f817d15
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:38:46 +00:00
nbd
e9d07710ee
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:12:50 +00:00
jow
58618dfb3d
[PATCH 1/2] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
juhosg
040ee7aa28
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 13:59:08 +00:00
nbd
57563ffd07
ar71xx: fix pci on ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:37 +00:00
nbd
b491b147a1
ar71xx: fix the wan port on pb92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:04 +00:00
nbd
a7ac823d06
ar71xx: reset the mdio bus on ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:35:44 +00:00
juhosg
d4cb79ec5f
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
...
* patch by Otto Solares
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:40 +00:00
juhosg
8299299524
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* 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
2010-03-27 17:38:36 +00:00
juhosg
90c499bfa0
ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:27 +00:00
juhosg
1a729d6932
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:24 +00:00
juhosg
51763ff18e
ar71xx: ag71xx: reorganize ag71xx_rx_packet function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:20 +00:00
juhosg
afa983c991
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:17 +00:00
nbd
249a5e63b3
ar71xx: add images for pb92 - no kernel size check yet, lzma images did not yet work in my tests
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:36:02 +00:00
nbd
218734027d
ar71xx: add basic kernel support for pb92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:52 +00:00
nbd
fd3222baa4
ar71xx: add support for ar7241 and ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:41 +00:00
nbd
c363de958e
ar71xx: fix pci link detection for ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:27 +00:00
agb
651c537f30
[ar71xx] wrt400n: lan ports don't need the ar8216 workaround
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 19:09:11 +00:00
juhosg
b4fcbf1114
kernel: update to 2.6.32.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
juhosg
4abdb0bd87
ar71xx: Add basic WLAN LED control to TL-WR1043ND
...
* thanks to KillaB
* closes #6834
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 07:31:17 +00:00
juhosg
b9e67435fe
ar71xx: create smaller initramfs images for the TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 07:31:13 +00:00
juhosg
8b81ef5e98
ar71xx: use the RB411 setup for the RB411U
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 18:16:24 +00:00
juhosg
e6e9309426
ar71xx: change PHY select logic, and update phy_masks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 18:16:07 +00:00
juhosg
b1704a799d
ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:19 +00:00
juhosg
dc4e55fa64
ar71xx: optimize register access in ar71xx_pci.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:16 +00:00
juhosg
38acf445a9
ar71xx: optimize register access in irq.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:13 +00:00
juhosg
b8bc300bd3
ar71xx: optimize register access in ar724x_pci.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:10 +00:00
juhosg
a95e8602ca
ar71xx: introduce global ar724x_pci_ctrl_base variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:07 +00:00
juhosg
3079a4d84d
ar71xx: add error handling to ar724x_pcibios_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:03 +00:00
juhosg
87d726d0f1
ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:58 +00:00
juhosg
76d9192b8d
ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:54 +00:00
juhosg
d93b1aab25
ar71xx: use set_irq_chained_handler for the PCI IRQs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:50 +00:00
juhosg
c7a42847a5
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:46 +00:00
juhosg
4a8b61e3be
ar71xx: remove unnecessary includes from setup.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:41 +00:00
juhosg
2dce994012
ar71xx: fix ar724x_pci_wr{,_nf} helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:36 +00:00
juhosg
098e39f5c6
ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
...
* Thanks to Pascal Dornier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 19:53:25 +00:00
juhosg
a4968c84d2
ar71xx: optimize GPIO code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 14:02:31 +00:00
juhosg
fc27cddc24
ar71xx: fix defconfig script to work with ImageBuilder
...
* patch from #5722
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 13:29:16 +00:00
juhosg
2bc9c0b6e3
ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:38 +00:00
juhosg
698a29c8ea
ar71xx: build firmware image for the Fry's FR-54RTR board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:36 +00:00
juhosg
3ff9d155b1
ar71xx: don't break the existing network configuration in the wget2nand script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:33 +00:00
juhosg
6d0042cd3c
ar71xx: change DIR-600-A1 image generation template, will be usable for other boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:31 +00:00
nbd
6a4d281583
ar71xx: fix oprofile support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:57 +00:00
nbd
2c8b7a1910
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
acoul
e9242b2541
ar71xx: add 2.6.34 preliminary support (patches)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 12:25:50 +00:00
acoul
ac3b23b970
ar71xx: add 2.6.34 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 11:57:21 +00:00
nico
8fe94a14fe
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00
juhosg
0dba449179
ar71xx: create smaller sysupgrade files for the TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:52 +00:00
juhosg
05d28bc8eb
ar71xx: fix sysupgrade on the LS-SR71 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:45 +00:00
juhosg
fa5b4cae09
ar71xx: add default network configuration for the PB44 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:58 +00:00