1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 07:19:21 +02:00
Commit Graph

741 Commits

Author SHA1 Message Date
nbd
4f69a1b329 ar71xx: improve the wndr3700 quirks - 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/trunk@23822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:55:53 +00:00
nbd
24581067fa ar71xx: the ar7240 dsa driver is no longer used, remove it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:28 +00:00
nbd
2ec79a75b2 ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:22 +00:00
nbd
8c032f3c80 ar71xx: fix more section mismatches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:16 +00:00
nbd
0a95e857aa ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:11 +00:00
jow
f3367a8563 [ar71xx] remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 23:08:10 +00:00
nbd
a63bf2580b ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 13:41:42 +00:00
nbd
c952d82a6c ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:14:59 +00:00
nbd
8631d395e1 ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 14:27:34 +00:00
juhosg
97627d06c5 ar71xx: initial support for jjPlus JWAP003
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:29 +00:00
nbd
05c0f03a6c AP96: Fix LAN/WAN setup
LAN (eth0) is behind a switch and the fixed speed/duplex was
supposed to be for it, not WAN (eth1).

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-28 22:55:14 +00:00
juhosg
3628a161a5 ar71xx: add support for the TL-MR3420 v1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:59 +00:00
juhosg
83ad54b039 ar71xx: AR724[12] requires different USB setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:57 +00:00
juhosg
c7f17e256a ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:49 +00:00
juhosg
ae0b1149b9 ar71xx: move ath9k specific PCI fixup into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:46 +00:00
juhosg
d39b21c7f6 ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCs
With this change ath9k can handle the wireless chip on the TL-WR841N v7
board which is based on the AR7241 SoC.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:43 +00:00
nbd
4fa1e52b3a Add support for Atheros AP96 reference board
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.

mach-ap96.c is based on mach-wndr3700.c.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 08:59:53 +00:00
nbd
6f8d5efb9d ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:17:06 +00:00
juhosg
006386c4b4 ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:37 +00:00
juhosg
d1f333874d ar71xx: rewrite SPI drivers for the RB4xx boards
* add a new SPI controller driver
  * add SPI driver for the CPLD chip
  * convert the NAND driver
  * enable the mikroSD slot
  * enable more LEDs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:13:47 +00:00
juhosg
a393655eea ar71xx: change mac address initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:28 +00:00
nbd
5cc1f4bcf3 ar71xx: add a new driver for the ar7240 switch using swconfig.
hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway
switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested
fixes #7563

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:21:57 +00:00
nbd
a0d848ed9d ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:43 +00:00
nbd
858ebac7b8 ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 12:37:44 +00:00
nbd
e70bddd713 ar71xx: set default values for the fifo cfg registers on AR724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:11 +00:00
juhosg
e528e02ba9 generic: move ath5k_platform.h from ar71xx to generic files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:58 +00:00
juhosg
e14f929ec7 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:52 +00:00
nbd
f3814337f1 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00
nbd
d856215f02 ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:15:08 +00:00
nbd
950d12ef69 ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down
fixes boot time crashes under load reported by matteo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 01:31:33 +00:00
juhosg
17cb46ca8a ar71xx: fix leds-rb750 build failure on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:06 +00:00
juhosg
8119ffe60a ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
juhosg
78fe3d5e8c ar71xx: avoid duplicated 'board' parameter in kernel command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
juhosg
d1b5649e76 ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
juhosg
2a528006a3 ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
juhosg
e3ad321217 ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:34 +00:00
juhosg
9f9bd4b6ee ar71xx: fix phy_mask on the RB433 for the IP17xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
juhosg
c2a2341e50 ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
juhosg
0b2a2f1091 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:37:58 +00:00
juhosg
d6bb729d0e ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:04 +00:00
juhosg
d0bcb711d4 ar71xx: fix firmware partition size on the MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:01 +00:00
nbd
2a9dd36f43 ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason (fixes #7236)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 16:39:13 +00:00
nbd
1cb9c65242 ar71xx: fix a wifi card stability issue
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 17:24:11 +00:00
juhosg
f74b974c32 ar71xx: reduce button threshold value on the NBG460 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:23 +00:00
juhosg
e1b44378be ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:19 +00:00
juhosg
17ce7e7cf9 ar71xx: adding support for zyxel nbg460n/550n/550nh boards
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
2010-04-18 16:24:12 +00:00
nbd
ea9bbe955d 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 23:31:17 +00:00
juhosg
3d089c4fe3 ar71xx: update phy masks for the Planex boards
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
2010-04-09 08:40:14 +00:00
juhosg
d7e830a7a9 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:09 +00:00
juhosg
da7aaa905b ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:06 +00:00
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
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
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
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
juhosg
1842195b3e ar71xx: override lan port names on the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:48 +00:00
juhosg
94a2468fdd ar71xx: allow overriding of the lan port names on AP91 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:45 +00:00
juhosg
9023573294 ar71xx: fix a typo in the ar7240 dsa driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:39 +00:00
juhosg
2feb525193 ar71xx: ag71xx: fix MAC address setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:36 +00:00
juhosg
e9152bd9e4 ar71xx: add NAND driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:23 +00:00
juhosg
fae32e3e86 ar71xx: add ar71xx_gpio_function_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:14 +00:00
juhosg
7ee68b0bf3 ar71xx: add LED driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:01 +00:00
juhosg
bdf568ed13 ar71xx: add latch handling code for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:09:49 +00:00
juhosg
8221ebb020 ar71xx: add preliminary support for the RouterBOARD 750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:41:01 +00:00
juhosg
1ce5f3c0cf ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:40:56 +00:00
juhosg
da900edca4 ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:29 +00:00
juhosg
0955ccfcf3 ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:22 +00:00
juhosg
5b74d557fa ar71xx: ag71xx: move link update function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:18 +00:00
juhosg
99dab77b59 ar71xx: ag71xx: don't use dev->trans_start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:14 +00:00
juhosg
54b41868d6 ar71xx: ag71xx: use dma_unmap_single to unmap frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:10 +00:00
juhosg
ee12427e21 ar71xx: ag71xx: use correct device pointer for dma_map_single
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 13:36:18 +00:00
juhosg
a1c949e3fc ar71xx: ag71xx: don't use virt_to_phys
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 13:36:15 +00:00
juhosg
9cef2f85c2 ar71xx: ag71xx: simplify register access functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 13:36:12 +00:00
juhosg
75c4494280 ar71xx: ag71xx: use NETDEV_TX_OK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 13:36:09 +00:00
juhosg
4001872b63 ar71xx: use COMMAND_LINE_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 13:36:04 +00:00
juhosg
ea92a8bef8 ar71xx: register DSA switch for the AP91 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 07:34:43 +00:00
juhosg
e7f38ddc4f ar71xx: add DSA driver for the AR7240 built-in ethernet switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 07:34:41 +00:00
juhosg
6eb16ce40c ar71xx: add QinQ tagging format for the DSA driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 07:34:37 +00:00
juhosg
86143fe010 ar71xx: register RTL8366RB switch on the TL-WR1043NB board
Thanks to Andrew Tarabaras.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 13:39:18 +00:00
juhosg
147a9455b7 ar71xx: fix pll value for the eth0 interface on the TL-WR1043ND board
Thanks to Andrew Tarabaras


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 13:38:51 +00:00
juhosg
7bdbc197cd ar71xx: enable TX/RX flow control on the AR7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 13:38:41 +00:00
juhosg
ad11dad16d ar71xx: fix mac addresses on the DIR-600 rev. A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:42 +00:00
juhosg
0faa4c10ff ar71xx: fix wireless mac address on the TL-WR741ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:39 +00:00
juhosg
aaaca934ab ar71xx: move AP91 specific ethernet initialization into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:36 +00:00
juhosg
cadd5454c3 ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:19 +00:00
juhosg
0a0ed2c3ec ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:15 +00:00
juhosg
03ec19bb1a ar71xx: fix WLAN mac address on the TL-WR1043ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-10 20:01:20 +00:00
juhosg
ae4dfcda15 ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-09 16:27:35 +00:00
juhosg
4ff3c261aa ar71xx: add missing fields to the ar71xx-ehci driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-06 17:00:16 +00:00
juhosg
d7d76ebff9 rtl8366: make it available on all platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 15:13:38 +00:00
juhosg
57a1f64fd7 rtl8366s: simplify mib counters handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 14:24:53 +00:00
juhosg
f32ec31b3b ar71xx: merge generic machine code into setup.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 14:24:48 +00:00
juhosg
e47c4f9d9e rtl8366_smi: move RTL8366S driver into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:38:07 +00:00
juhosg
62717a96cd rtl8366_smi: rename rtl8366s specific functions and definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:37:58 +00:00
juhosg
1d1fe9d55e rtl8366_smi: move chip specific stuff into its own struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:37:53 +00:00
juhosg
878e6fafb0 rtl8366_smi: separate gpio initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:37:50 +00:00
juhosg
d4dafe5ce3 rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:37:47 +00:00
juhosg
0a71019902 rtl8366_smi: store device pointer instead of plaform_device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:37:41 +00:00
juhosg
3e3062918b rtl8366_smi: rename switch attribute handlers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-21 12:13:43 +00:00
juhosg
4162526b1d rtl8366_smi: simplify rtl8366_attr_get_port_link function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 20:36:30 +00:00
juhosg
4cff025384 rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 20:36:27 +00:00
juhosg
a51fdf9d02 rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 20:36:24 +00:00
juhosg
64f1c1d827 rtl8366_smi: minor code optimalizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 20:36:21 +00:00
juhosg
aac113a5bf rtl8366_smi: coding style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 17:40:39 +00:00
juhosg
75c9ca9730 rtl8366_smi: add Kconfig option for the debugfs stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 09:30:36 +00:00
juhosg
01b8553904 rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 09:30:32 +00:00
juhosg
f3d96d2a1e rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 09:30:25 +00:00
juhosg
72607e76c7 rtl8366_smi: fix return codes in rtl8366s_reset_vlan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 07:06:18 +00:00
juhosg
e191d5d165 rtl8366_smi: move variable initialization out from the loop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 07:06:15 +00:00
juhosg
77450dabca rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 07:06:10 +00:00
juhosg
bec3a93334 ar71xx: fix ethernet mac address on the WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 09:01:44 +00:00
juhosg
a3545860d0 rtl8366_smi: use inline function instead of a macro on top of container_of
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 09:01:40 +00:00
nbd
a289808594 rtl8366_smi: reset the vlan table when resetting the switch and use vlan get/set ports for vlan member lists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 00:12:12 +00:00
nbd
efa2a6f909 rtl8366_smi: fix excessive stack usage and buffer handling bugs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 00:12:07 +00:00
nbd
f79dd5c840 ar71xx: fix return statement in the rtl8366 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 22:57:08 +00:00
juhosg
ad726f6e1c rtl8366_smi: register the switch directly from the probe routine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:37:09 +00:00
juhosg
221c0d2b2d rtl8366_smi: use vlanmc name for all vlanconfig variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:17:59 +00:00
juhosg
c0e88a59a8 rtl8366_smi: use vlan4k name for all vlan4kentry variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:17:57 +00:00
juhosg
ced9e0d6c7 rtl8366_smi: move memset into the rtl8366s_get_member_config function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:17:53 +00:00
juhosg
f0d1ad31ba rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:17:49 +00:00
juhosg
ef0ac006ff rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:17:46 +00:00
juhosg
3d89991158 ar71xx: upgrade rtl8366_smi driver
Thanks to Antti Seppälä.
Patch from https://forum.openwrt.org/viewtopic.php?pid=100150#p100150


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 21:17:42 +00:00
juhosg
9899a873bf ar71xx: fix phy interface selection for the RB-450G
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 14:33:26 +00:00
juhosg
8ab163d204 Fix Routerboard 411ar on board wireless
This patch adds the appropriate interrupt for slot 0 pin 1 of the Routerboard 411ar (RB411 with on board Atheros wireless).

Signed-off-by: Andrew Bates abates@omeganetserv.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 14:33:23 +00:00
juhosg
f010cfd099 ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 12:08:03 +00:00
juhosg
361f44c9ae ar71xx: add GPIO driver for the NXP 74HC153 chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 12:07:58 +00:00
juhosg
e26560bfe1 ar71xx: reduce button threshold values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 10:18:30 +00:00
juhosg
0ab559a23e ar71xx: add support for the D-Link DIR-600 rev. A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 08:02:10 +00:00
juhosg
c64ff4c0d6 ar71xx: add NAPI statistics to the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 20:22:55 +00:00
juhosg
5784ed61cc ar71xx: add missing flash partition for the DIR-825
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 13:35:25 +00:00
jow
9a41a375f8 [ar71xx] fix typo after r19054
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-06 20:16:07 +00:00
juhosg
31f2acee0f ar71xx: don't include nvram.h for the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-06 15:24:04 +00:00
juhosg
0c1d7bcfa5 ar71xx: add detailed interrupt statistics for the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-06 15:24:01 +00:00
juhosg
141c9c2c77 ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 20:12:12 +00:00
juhosg
efbbcd998e ar71xx: update Kconfig of the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-04 14:28:28 +00:00
juhosg
bdcb066fc4 ar71xx: add dummy debugfs support for the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-04 14:28:25 +00:00
juhosg
97e651b846 ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 19:40:04 +00:00
juhosg
22e56266bf ar71xx: update mips multi-machine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 11:28:19 +00:00
juhosg
ce7bba04aa ar71xx: select AR71XX_NVRAM for the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 11:11:43 +00:00
juhosg
d00508589b ar71xx: fix wireless mac address on the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-31 12:42:53 +00:00
juhosg
259f642660 ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 20:59:54 +00:00
juhosg
5ac400c7f1 ar71xx: pass eeprom and mac address location to the ar913x_add_device_wmac function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 20:59:50 +00:00
juhosg
ea5d3d3f85 ar71xx: remove duplicated include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 20:59:46 +00:00
juhosg
55ece30c25 ar71xx: move dsa switch device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:26 +00:00
juhosg
e2b1c817e6 ar71xx: move mach type definitions into a separate include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:22 +00:00
juhosg
5c03b60348 ar71xx: change board specific Kconfig option to 'default n'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:17 +00:00
juhosg
611c750d3e ar71xx: move USB host device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:13 +00:00
juhosg
c975cd1b66 ar71xx: remove more unnecessary includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:08 +00:00
juhosg
e783d0854b ar71xx: use the generic m25p80 registration code for the MZK-W04NU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:05 +00:00
juhosg
1bb2068541 ar71xx: move gpio-buttons support into a spearate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:01 +00:00
juhosg
c2b4fcb0cc ar71xx: move leds-gpio device support into a spearate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:18:54 +00:00
juhosg
795fed6910 ar71xx: move PB42 specific PCI init code into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25 13:09:04 +00:00
juhosg
062c1129db ar71xx: remove unnecessary includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25 13:09:00 +00:00
juhosg
68ac3bdb4c ar71xx: fix bi-color led on the TL-WR841N v1.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25 10:06:25 +00:00
juhosg
db5288e38a ar71xx: add support for the TL-WR841N v1.5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 19:31:28 +00:00
juhosg
7323fe3ce9 ar71xx: add dsa driver for the 88e6063 chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 19:31:19 +00:00
juhosg
69905f6100 ar71xx: update AR7240 PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-20 13:46:23 +00:00
juhosg
524ae98603 ar71xx: Fix LED active_low for the TL-WR1043ND board
This fixes the LED active_low's for the TP-Link wr1043nd board

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-19 07:35:49 +00:00
juhosg
e9b1e2efdf tl-wr1043nd: Register missing leds.
This adds the folowing for the TP-Link wr1043nd board
1. USB and WLAN LEDS
2. Change QSS LED from red to green
3. Fix polarity of the System LED

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:12 +00:00
juhosg
d43d4fa2b2 ar71xx: ar913x_wmac device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:09 +00:00
juhosg
8527213f14 ar71xx: move AP94 specific PCI init code into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:05 +00:00
juhosg
928a89ed7a ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on the
patch from #6186)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:01 +00:00
juhosg
4fea26d57c ar71xx: add common m25p80 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:56:55 +00:00
nbd
483781cdb7 Revert "ar71xx: move phy_connect call to ag71xx_open" (r18691)
It's causing issues with switch drivers that register with swconfig and
makes fixing those unnecessarily complicated.
Fixes rtl8306 switch support on the WRT160NL.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-15 22:37:54 +00:00
juhosg
499b3db62a ar71xx: add driver for the USB LED on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 20:32:31 +00:00
juhosg
23e8ba4e0d ar71xx: add ar71xx_device_stopped function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 20:32:28 +00:00
juhosg
1e52fbecdb ar71xx: fix NULL pointer dereference in the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 19:32:58 +00:00
juhosg
cca1acdcfc ar71xx: merge DSA switch patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 16:41:51 +00:00
juhosg
07282cf223 ar71xx: merge ag71xx specific patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 16:41:40 +00:00
juhosg
c9789da4c5 ar71xx: move mdio_bus reset code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 12:21:15 +00:00
juhosg
881c9d9250 ar71xx: register rtl8366-smi device on the DIR-825 B1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 08:03:31 +00:00
nbd
00ebe9d87a rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 03:25:33 +00:00
nbd
1b18fb38dc ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 14:06:18 +00:00
juhosg
2417cf6791 ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:30 +00:00
juhosg
bfbc6bd89d ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:25 +00:00
juhosg
325aeaa715 ar71xx: register rtl8366_smi device on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:37 +00:00
juhosg
bfa2f874b9 ar71xx: add mdio bus driver for the rtl8366 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:35 +00:00
juhosg
5608c597c3 ar71xx: add support for external mii_bus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:27 +00:00
juhosg
1fec1f6c54 ar71xx: move phy_connect call to ag71xx_open
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:19 +00:00
juhosg
c3035532ab ar71xx: DIR-825 support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 15:07:41 +00:00
juhosg
9e412c9b2e ar71xx: add support for the D-Link DIR-825 rev. B1 board (thanks to
ValXdater)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 15:07:34 +00:00
juhosg
9152c5c793 ar71xx: change mii_bus name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 14:17:12 +00:00
juhosg
98a4123863 ar71xx: override fifo_cfg[123] values on AR7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-30 13:53:39 +00:00
nbd
ac42d58d7c ar71xx: mask out reserved bits from the dma tx status in the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 13:38:03 +00:00
nbd
4ae360c4fb ar71xx: add usb support for ubnt rocket m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 13:33:15 +00:00
juhosg
52df74715b ar71xx: fix mac address for 5GHz interface on WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 18:01:09 +00:00
juhosg
874e72b262 ar71xx: update ath9k_platform.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 18:01:06 +00:00
juhosg
97c0d28d14 ar71xx: add PCI fixup for the WNDR3700 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:21 +00:00
juhosg
f8955d7606 ar71xx: fix pll_1000 values for the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:17 +00:00
juhosg
10b45a8d43 ar71xx: add AR724x GPIO_FUNC register bit defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:06 +00:00
juhosg
0bf5a55bb7 ar71xx: fix AR724X_GPIO_COUNT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:01 +00:00
juhosg
6e7938dc40 ar71xx: add AR724x register defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:20:54 +00:00
nbd
dc54bc58f3 ar71xx: use a separate board id for rocket m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18 18:10:33 +00:00
matteo
84e70968c8 ar71xx: add Ubiquiti Rocket M and Nanostation M support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18 17:05:42 +00:00
juhosg
aeb76a3ddf ar71xx: setup platform data for ath9k on the TL-WR741ND, Bullet M and on the WNDR3700 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-16 17:31:32 +00:00
juhosg
1e99bb12ff ar71xx: register LEDs and buttons on the WNDR3700
Thanks to aorlinks (https://forum.openwrt.org/viewtopic.php?pid=97415#p97415)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-16 17:31:25 +00:00
juhosg
d71bee30b8 ar71xx: use __init for ar{71,91}xx_usb_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-16 17:31:22 +00:00
juhosg
dbba973c9f ar71xx: add preliminary support for the Netgear WNDR3700
Based on patches by Marco Porsch from:
https://forum.openwrt.org/viewtopic.php?id=22311


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-13 17:11:29 +00:00
juhosg
0724c81c22 ar71xx: use soc specific divider for mdio clock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 12:26:22 +00:00
juhosg
5be08769f3 ar71xx: update mdio_reset code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 12:26:17 +00:00
juhosg
2252f6f066 ar71xx: Compex WPJ543 board is supported as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 12:59:42 +00:00
juhosg
51425cfb76 ar71xx: fix PCI IRQ map of the WP543
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 12:59:39 +00:00
juhosg
1faf0874d8 ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 08:07:32 +00:00
juhosg
53a0966f40 ar71xx: reset the ethernet device before registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 08:07:29 +00:00
juhosg
e8ce7e4434 ar71xx: initialize PCI controller on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:11 +00:00
juhosg
adda252dad ar71xx: init ethernet mac address on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:08 +00:00
juhosg
a5291fd3ca ar71xx: register GPIO button on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:03 +00:00
juhosg
4f961361c6 ar71xx: add PCI Host Controller fixup for ar724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:00 +00:00
juhosg
19bf20fcbf ar71xx: use ar71xx_pci_fixup on ar71xx SoCs only
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:40:57 +00:00
juhosg
b737d591cf ar71xx: fix a typo in the ar724x PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:40:51 +00:00
juhosg
c09228f083 ar71xx: flush mii register writes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 17:44:08 +00:00
juhosg
1bf028b56d ar71xx: don't use mac_base2 in the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 17:44:02 +00:00
juhosg
7e34715f43 ar71xx: remove some extern directives in the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 17:43:57 +00:00
matteo
50b63d3591 ar71xx: preliminary Ubiquiti Bullet M support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-15 09:16:21 +00:00
juhosg
9ebf0a3f65 ar71xx: rewrite prom code (based on a patch by Jeff Hansen)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 18:30:12 +00:00
juhosg
f861f5f5f9 ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 19:16:15 +00:00
juhosg
8985ce7450 [ar71xx] move early_printk stuff into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 07:31:04 +00:00
juhosg
974f75fd41 [ar71xx] remove AR71XX_EARLY_SERIAL stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 17:13:12 +00:00
juhosg
1e2c27694d [ar71xx] WRT160NL: add default trigger for the power led
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 14:13:26 +00:00
juhosg
f46a1cc756 [ar71xx] WRT160NL: more mtd parser cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 12:56:06 +00:00
juhosg
2eab48f782 [ar71xx] WRT160NL: mtd parser cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 13:06:28 +00:00
juhosg
481c294462 [ar71xx] move the trx parser out from the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 12:08:41 +00:00
juhosg
37a1995181 [ar71xx] WRT160NL: register GPIO LEDs and buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 17:33:02 +00:00
juhosg
20c131d983 [ar71xx] update ar71xx_spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 10:56:48 +00:00
juhosg
966e94d341 [ar71xx] oops, add missing semicolons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 09:42:29 +00:00
juhosg
0a546c31b2 [ar71xx] get rid of some ifdefs in the IRQ code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 09:32:15 +00:00
juhosg
e850f31f3d [ar71xx] fix MISC IRQ handling on the AR7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-02 13:27:43 +00:00
juhosg
b7feba3478 [ar71xx] add ethernet suppor for the WRT160NL (thanks to Christian Daniel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 07:01:26 +00:00
juhosg
0e481cb3bc [ar71xx] ag71xx driver: rename ag71xx_debug module parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-13 17:45:25 +00:00
juhosg
f7c0493258 [ar71xx] ag71xx driver: fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-13 12:20:02 +00:00
juhosg
b38196cb4b [ar71xx] ag71xx driver: align descriptors on cache_line boundary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-13 11:40:10 +00:00
juhosg
788424fcb7 [ar71xx] ag71xx driver: store descriptor pointers in ag71xx_buf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-13 11:38:37 +00:00
juhosg
76604034e6 [ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 16:04:28 +00:00
juhosg
1142b81a11 [ar71xx] ag71xx driver: don't flush ddr on tx path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 16:02:27 +00:00
juhosg
3507828a2c [ar71xx] increase size of the kernel partition on the TL-WR[789]41N boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 17:20:46 +00:00
juhosg
eea7fc66c5 [ar71xx] increase size of the kernel partition on the TEW-632BR board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 17:15:30 +00:00
juhosg
b43132ce65 [ar71xx] register the VSC7395 device on the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 16:27:54 +00:00
juhosg
1c821bb1a6 [ar71xx] add SPI controller driver for the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 15:55:55 +00:00
juhosg
3f82f4f4f2 [ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 14:59:31 +00:00
juhosg
23e2296ede [ar71xx] add definitions for some magic values in the spi_vsc7385 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 14:56:54 +00:00
juhosg
0e3b9332fb [ar71xx] fix a bug in the SPI driver (closes #5485)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-10 19:29:58 +00:00
juhosg
d681740252 [ar71xx] add board setup code for the RB-450G/RB-433UAH boards
* based on a patch from http://forum.openwrt.org/viewtopic.php?pid=91127#p91127

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 19:46:41 +00:00
juhosg
d8951fe6c9 [ar71xx] register a GPIO LEDs and buttons on the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 06:58:38 +00:00
juhosg
3d57b2da71 [ar71xx] register a I2C GPIO expander on the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 06:57:44 +00:00
juhosg
14f9464e92 [ar71xx] add initial support for the TL-WR741ND board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 19:20:10 +00:00
juhosg
1d3c32c543 [ar71xx] add AR7240 specific fixes for the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 18:06:02 +00:00
juhosg
2ce2426f48 [ar71xx] make irq_chip definitions static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 18:04:26 +00:00
juhosg
c46ada5677 [ar71xx] AR7240 requires different IRQ unmasking code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 13:57:57 +00:00
juhosg
b4ca45931c [ar71xx] add missing break statement
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 18:02:12 +00:00
juhosg
699aa15a17 [ar71xx] add missing includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 08:40:23 +00:00
juhosg
191909b36e [ar71xx] add AR7240 specific PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 08:06:24 +00:00
juhosg
8bed461529 [ar71xx] fix a typo in the PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 08:02:23 +00:00
juhosg
43bb8183eb [ar71xx] reorganize PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 07:53:07 +00:00
juhosg
c6263cfddc [ar71xx] fix AR7240 PCI IRQ support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-04 05:18:37 +00:00
juhosg
2a2b18f0d4 [ar71xx] fix a bitmask in the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 17:23:11 +00:00
juhosg
7a4bc09b34 [ar71xx] fix ar71xx_device_{start,stop} functions on the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:41:00 +00:00
juhosg
b76d0eff6f [ar71xx] initialize GPIO for the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:38:26 +00:00
juhosg
d50a571483 [ar71xx] initialize IRQs for the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:37:03 +00:00
juhosg
16e84ace7d [ar71xx] add AR7240 specific frequency detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:34:59 +00:00
juhosg
fc8502c631 [ar71xx] add AR7240 specific definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:32:48 +00:00
juhosg
ea22991291 [ar71xx] fix a typo in ath9k_platform.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:28:44 +00:00
juhosg
be3dd4c5be [ar71xx] increase NR_IRQS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 20:01:22 +00:00
juhosg
7955022513 [ar71xx] fix PCI_CORE irq number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 19:58:36 +00:00
juhosg
7f0bb8aeb7 [ar71xx] use enum for the machine type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 20:20:05 +00:00
juhosg
52956e6de0 [ar71xx] add AR913x specific GPIO function bit definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 16:57:45 +00:00
juhosg
05aebb541e [ar71xx] setup mac address on the WNR2000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 11:38:26 +00:00
juhosg
9e42d4627a [ar71xx] move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-11 08:07:14 +00:00
juhosg
a03c01b418 [ar71xx] flush more register writings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-11 07:18:05 +00:00
juhosg
f2d4c6c009 [ar71xx] flush AR71XX_RESET_PCI_INT_ENABLE register after writing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-07 18:23:39 +00:00
juhosg
8ef1bac486 [ar71xx] setup mac address on the AP81 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 19:03:30 +00:00
juhosg
282cd9f4b2 [ar71xx] update flash locking code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 15:56:03 +00:00
juhosg
dd385a9449 [ar71xx] handle PCI_CORE interrupt as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 13:48:36 +00:00