nbd
2d335ddc1c
ar71xx: sync ethernet driver changes with trunk to fix MDIO issues on ar7240
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:05:44 +00:00
juhosg
d0e868b3f0
backfire: ar71xx: add support for the WNDR3700v2 board (backport of r25118)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 14:54:01 +00:00
juhosg
6f0d16ded6
backfire: ar71xx: add rtl8366s initvals for the DIR-825 board (backport of r25121)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-30 21:15:06 +00:00
jow
0c48bb213c
[backfire] merge r23293
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 17:07:08 +00:00
juhosg
2b6605278b
backfire: ar71xx: fix wlan LED on the TL-WR741 board (backport of r24963)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 09:12:11 +00:00
juhosg
a4965bc691
backfire: ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards (backport of r24568)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 09:12:05 +00:00
juhosg
b7a8206f35
backfire: ar71xx: fix WLAN LEDs on the DIR-825 board (backport of r24650)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 10:17:54 +00:00
juhosg
0c041daff4
backfire: ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards (backport of r24649, r24651)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 10:17:49 +00:00
juhosg
02e8d43c37
backfire: ar71xx: add wlan led for the TL-WR941ND (backport of r24612)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 10:17:42 +00:00
juhosg
e21f26857b
backfire: ar71xx: improve the wndr3700 quirks (backport of r23822, r23875)
...
- move most of the code out of ath9k and instead allow the
platform device to specify gpio overrides
- fixes 5ghz signal strength issues
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 10:17:35 +00:00
nbd
87fe054b87
ar71xx: merge pci register read workaround from r24236
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 10:31:18 +00:00
nbd
3b68da568c
ar71xx: merge ap91_eth removal from r23439
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 13:49:09 +00:00
nbd
c261008bac
ar71xx: merge dir-600-a1 fix from r23432 ( fixes #7563 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:17:13 +00:00
nbd
45660167ee
ar71xx: merge kconfig dependency fixes from r22935
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:17:46 +00:00
nbd
2ec5c216fb
ar71xx: merge the ar7240 switch driver from r22675
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:24:00 +00:00
nbd
e26bac435d
ar71xx: merge ethernet driver performance fixes from trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:23:48 +00:00
nbd
28aadec5f7
[backfire] ar71xx: backport ethernet regression fix from r22075
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:42:00 +00:00
nbd
3b5ec501f5
ar71xx: merge ethernet driver fixes from r22054, r22055
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:20:05 +00:00
juhosg
2aae7b6746
backfire: ar71xx: remove config partition from the mtd map on the MZK-W300NH board (backport of r21173)
...
This space can be used to extend the rootfs_data partition.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 10:46:28 +00:00
juhosg
f84b320e33
backfire: ar71xx: fix firmware partition size on the MZK-W04NU board (backport of r21172)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 10:46:21 +00:00
nbd
7681afa16d
[backfire] ar71xx: backport pci/dma fix from r21143
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 18:50:56 +00:00
juhosg
eb0d4b45c6
backfire: ar71xx: update phy masks for the Planex boards (backport of r20754)
...
This avoids probing of the AR8216 chip on the eth0 interface.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 12:06:23 +00:00
juhosg
ae38454455
backfire: ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards (backport of r20752)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 12:06:12 +00:00
juhosg
311592bd07
backfire: ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions (backport of r20751)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 12:06:06 +00:00
juhosg
612a3d373d
backfire: ar71xx: ag71xx: call the phy driver's netif_receive_skb() (backport of r20750)
...
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>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 12:06:00 +00:00
jow
52e77b9e47
[backfire] merge r20722
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:06:36 +00:00
juhosg
0006dc25ed
backfire: ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* backport of r20673
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 16:58:04 +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
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
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
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