Commit graph

369 commits

Author SHA1 Message Date
Gabor Juhos
7bff9c0101 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>

SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Gabor Juhos
08c2e29018 ar71xx: avoid duplicated 'board' parameter in kernel command line
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Gabor Juhos
9789f0215a ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Gabor Juhos
adb0a95df1 ar71xx: fix phy_mask for the RB450
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
d55ebf3a8a ar71xx: fix phy_mask on the RB433 for the IP17xx driver
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
115f845e53 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

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

SVN-Revision: 21443
2010-05-14 08:37:58 +00:00
Gabor Juhos
fca9b7ebad ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.

SVN-Revision: 21173
2010-04-26 18:28:04 +00:00
Gabor Juhos
77b2354fcd ar71xx: fix firmware partition size on the MZK-W04NU board
SVN-Revision: 21172
2010-04-26 18:28:01 +00:00
Felix Fietkau
9848d38aed 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.

SVN-Revision: 21143
2010-04-24 17:24:11 +00:00
Gabor Juhos
10ed3b23a6 ar71xx: reduce button threshold value on the NBG460 board
SVN-Revision: 21076
2010-04-21 19:07:23 +00:00
Gabor Juhos
9933d34770 ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21075
2010-04-21 19:07:19 +00:00
Gabor Juhos
693ea524c1 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>

SVN-Revision: 20990
2010-04-18 16:24:12 +00:00
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
2010-04-09 08:40:14 +00:00
Gabor Juhos
d6c0363884 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org

SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Felix Fietkau
df463abb18 ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
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
2010-04-05 23:03:16 +00:00
Felix Fietkau
7983e442e1 ar71xx: fix pci on ar7241/ar7242
SVN-Revision: 20530
2010-03-28 00:36:37 +00:00
Felix Fietkau
9c0f21a5b9 ar71xx: fix the wan port on pb92
SVN-Revision: 20529
2010-03-28 00:36:04 +00:00
Felix Fietkau
2cc215f121 ar71xx: reset the mdio bus on ar7241/ar7242
SVN-Revision: 20528
2010-03-28 00:35:44 +00:00
Felix Fietkau
0b6e32a7b0 ar71xx: add basic kernel support for pb92
SVN-Revision: 20495
2010-03-26 22:35:52 +00:00
Felix Fietkau
aa3ff31b95 ar71xx: add support for ar7241 and ar7242
SVN-Revision: 20494
2010-03-26 22:35:41 +00:00
Felix Fietkau
4e10c56551 ar71xx: fix pci link detection for ar724x
SVN-Revision: 20493
2010-03-26 22:35:27 +00:00
Andy Boyett
681054333e wrt400n: lan ports don't need the ar8216 workaround
SVN-Revision: 20491
2010-03-26 19:09:11 +00:00
Gabor Juhos
120b1d8699 ar71xx: use the RB411 setup for the RB411U
SVN-Revision: 20359
2010-03-21 18:16:24 +00:00
Gabor Juhos
9a1031ce6d ar71xx: change PHY select logic, and update phy_masks
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
18aa68d368 ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
SVN-Revision: 20288
2010-03-18 19:19:19 +00:00
Gabor Juhos
73f7a1c224 ar71xx: optimize register access in ar71xx_pci.c
SVN-Revision: 20287
2010-03-18 19:19:16 +00:00
Gabor Juhos
1dedaf30a6 ar71xx: optimize register access in irq.c
SVN-Revision: 20286
2010-03-18 19:19:13 +00:00
Gabor Juhos
2438a03ce4 ar71xx: optimize register access in ar724x_pci.c
SVN-Revision: 20285
2010-03-18 19:19:10 +00:00
Gabor Juhos
d02975eb0d ar71xx: introduce global ar724x_pci_ctrl_base variable
SVN-Revision: 20284
2010-03-18 19:19:07 +00:00
Gabor Juhos
b051a3b784 ar71xx: add error handling to ar724x_pcibios_init
SVN-Revision: 20283
2010-03-18 19:19:03 +00:00
Gabor Juhos
695e989c6f ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
SVN-Revision: 20282
2010-03-18 19:18:58 +00:00
Gabor Juhos
5f109ef2f3 ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
SVN-Revision: 20281
2010-03-18 19:18:54 +00:00
Gabor Juhos
4d32460353 ar71xx: use set_irq_chained_handler for the PCI IRQs
SVN-Revision: 20280
2010-03-18 19:18:50 +00:00
Gabor Juhos
1b8137eefc ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
SVN-Revision: 20279
2010-03-18 19:18:46 +00:00
Gabor Juhos
58911deda5 ar71xx: remove unnecessary includes from setup.c
SVN-Revision: 20278
2010-03-18 19:18:41 +00:00
Gabor Juhos
ca49e09c9a ar71xx: fix ar724x_pci_wr{,_nf} helpers
SVN-Revision: 20277
2010-03-18 19:18:36 +00:00
Gabor Juhos
d350e4cf40 ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
* Thanks to Pascal Dornier

SVN-Revision: 20247
2010-03-16 19:53:25 +00:00
Gabor Juhos
74556519e3 ar71xx: optimize GPIO code
SVN-Revision: 20242
2010-03-16 14:02:31 +00:00
Felix Fietkau
0849a208ce ar71xx: fix oprofile support
SVN-Revision: 20150
2010-03-11 18:48:57 +00:00
Gabor Juhos
b21308313e ar71xx: override lan port names on the RB750
SVN-Revision: 20096
2010-03-09 18:05:48 +00:00
Gabor Juhos
45ff7289fe ar71xx: allow overriding of the lan port names on AP91 based boards
SVN-Revision: 20095
2010-03-09 18:05:45 +00:00
Gabor Juhos
d58a367083 ar71xx: add NAND driver for the RB750
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
6c1be20c2a ar71xx: add ar71xx_gpio_function_setup
SVN-Revision: 20053
2010-03-08 12:10:14 +00:00
Gabor Juhos
6600fab893 ar71xx: add LED driver for the RB750
SVN-Revision: 20051
2010-03-08 12:10:01 +00:00
Gabor Juhos
a1a9727fbf ar71xx: add latch handling code for the RB750
SVN-Revision: 20050
2010-03-08 12:09:49 +00:00
Gabor Juhos
5e8c8818ed ar71xx: add preliminary support for the RouterBOARD 750
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
10ad4ea96c ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
SVN-Revision: 20027
2010-03-07 05:40:56 +00:00
Gabor Juhos
97c35a7dde ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
SVN-Revision: 20007
2010-03-05 20:29:29 +00:00
Gabor Juhos
347c5bc7fc ar71xx: use COMMAND_LINE_SIZE
SVN-Revision: 19947
2010-03-02 13:36:04 +00:00
Gabor Juhos
b41c276df4 ar71xx: register DSA switch for the AP91 based boards
SVN-Revision: 19928
2010-03-01 07:34:43 +00:00
Gabor Juhos
30a2da99a1 ar71xx: register RTL8366RB switch on the TL-WR1043NB board
Thanks to Andrew Tarabaras.

SVN-Revision: 19839
2010-02-24 13:39:18 +00:00
Gabor Juhos
f771c35033 ar71xx: fix pll value for the eth0 interface on the TL-WR1043ND board
Thanks to Andrew Tarabaras

SVN-Revision: 19835
2010-02-24 13:38:51 +00:00
Gabor Juhos
f68a1d0a63 ar71xx: fix mac addresses on the DIR-600 rev. A1 board
SVN-Revision: 19752
2010-02-19 11:52:42 +00:00
Gabor Juhos
f792c3647e ar71xx: fix wireless mac address on the TL-WR741ND
SVN-Revision: 19751
2010-02-19 11:52:39 +00:00
Gabor Juhos
ccbfcba859 ar71xx: move AP91 specific ethernet initialization into a separate file
SVN-Revision: 19750
2010-02-19 11:52:36 +00:00
Gabor Juhos
da5cacba76 ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19744
2010-02-19 11:52:19 +00:00
Gabor Juhos
b00fe580ed ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19743
2010-02-19 11:52:15 +00:00
Gabor Juhos
0017e832cc ar71xx: fix WLAN mac address on the TL-WR1043ND
SVN-Revision: 19573
2010-02-10 20:01:20 +00:00
Gabor Juhos
0cbc5f678d ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
SVN-Revision: 19565
2010-02-09 16:27:35 +00:00
Gabor Juhos
20df2bf825 ar71xx: merge generic machine code into setup.c
SVN-Revision: 19325
2010-01-25 14:24:48 +00:00
Gabor Juhos
2b5ba9073f rtl8366_smi: move RTL8366S driver into a separate file
SVN-Revision: 19279
2010-01-22 17:38:07 +00:00
Gabor Juhos
71d0a7a7bf ar71xx: fix ethernet mac address on the WZR-HP-G300NH
SVN-Revision: 19216
2010-01-18 09:01:44 +00:00
Gabor Juhos
3789aa82ac ar71xx: fix phy interface selection for the RB-450G
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865

SVN-Revision: 19185
2010-01-17 14:33:26 +00:00
Gabor Juhos
e02f1581d0 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

SVN-Revision: 19184
2010-01-17 14:33:23 +00:00
Gabor Juhos
cb80426641 ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
SVN-Revision: 19150
2010-01-15 12:08:03 +00:00
Gabor Juhos
3dc1073b53 ar71xx: reduce button threshold values
SVN-Revision: 19116
2010-01-13 10:18:30 +00:00
Gabor Juhos
58301cdeb8 ar71xx: add support for the D-Link DIR-600 rev. A1 board
SVN-Revision: 19100
2010-01-11 08:02:10 +00:00
Gabor Juhos
a37ae4f128 ar71xx: add missing flash partition for the DIR-825
SVN-Revision: 19075
2010-01-08 13:35:25 +00:00
Gabor Juhos
d2ff313775 ar71xx: don't include nvram.h for the WRT400N
SVN-Revision: 19055
2010-01-06 15:24:04 +00:00
Gabor Juhos
de6bbad010 ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
SVN-Revision: 19047
2010-01-05 20:12:12 +00:00
Gabor Juhos
953ff0cf43 ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
SVN-Revision: 18988
2010-01-01 19:40:04 +00:00
Gabor Juhos
f8b7b8ee41 ar71xx: update mips multi-machine stuff
SVN-Revision: 18985
2010-01-01 11:28:19 +00:00
Gabor Juhos
1a32a435f4 ar71xx: select AR71XX_NVRAM for the WRT160NL
SVN-Revision: 18984
2010-01-01 11:11:43 +00:00
Gabor Juhos
9649acf7c6 ar71xx: fix wireless mac address on the WRT160NL
SVN-Revision: 18976
2009-12-31 12:42:53 +00:00
Gabor Juhos
858ea76117 ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
SVN-Revision: 18951
2009-12-27 20:59:54 +00:00
Gabor Juhos
86a8480788 ar71xx: pass eeprom and mac address location to the ar913x_add_device_wmac function
SVN-Revision: 18950
2009-12-27 20:59:50 +00:00
Gabor Juhos
828221c683 ar71xx: remove duplicated include
SVN-Revision: 18949
2009-12-27 20:59:46 +00:00
Gabor Juhos
761e67f9ff ar71xx: move dsa switch device support into a separate file
SVN-Revision: 18943
2009-12-26 14:19:26 +00:00
Gabor Juhos
bea984e187 ar71xx: move mach type definitions into a separate include file
SVN-Revision: 18942
2009-12-26 14:19:22 +00:00
Gabor Juhos
b7ee264d5f ar71xx: change board specific Kconfig option to 'default n'
SVN-Revision: 18941
2009-12-26 14:19:17 +00:00
Gabor Juhos
6ee4aa34ed ar71xx: move USB host device support into a separate file
SVN-Revision: 18940
2009-12-26 14:19:13 +00:00
Gabor Juhos
a93033d354 ar71xx: remove more unnecessary includes
SVN-Revision: 18939
2009-12-26 14:19:08 +00:00
Gabor Juhos
991a8d4398 ar71xx: use the generic m25p80 registration code for the MZK-W04NU
SVN-Revision: 18938
2009-12-26 14:19:05 +00:00
Gabor Juhos
c0993046d6 ar71xx: move gpio-buttons support into a spearate file
SVN-Revision: 18937
2009-12-26 14:19:01 +00:00
Gabor Juhos
3687b4fb26 ar71xx: move leds-gpio device support into a spearate file
SVN-Revision: 18936
2009-12-26 14:18:54 +00:00
Gabor Juhos
eb15b88af2 ar71xx: move PB42 specific PCI init code into a separate file
SVN-Revision: 18932
2009-12-25 13:09:04 +00:00
Gabor Juhos
7cf529c357 ar71xx: remove unnecessary includes
SVN-Revision: 18931
2009-12-25 13:09:00 +00:00
Gabor Juhos
40219e9bf4 ar71xx: fix bi-color led on the TL-WR841N v1.5
SVN-Revision: 18926
2009-12-25 10:06:25 +00:00
Gabor Juhos
cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Gabor Juhos
bb9123ebbe ar71xx: update AR7240 PCI code
SVN-Revision: 18860
2009-12-20 13:46:23 +00:00
Gabor Juhos
6fcb5f6294 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>

SVN-Revision: 18844
2009-12-19 07:35:49 +00:00
Gabor Juhos
17ee33ebb9 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>

SVN-Revision: 18821
2009-12-18 12:57:12 +00:00
Gabor Juhos
a733e30bf6 ar71xx: ar913x_wmac device support into a separate file
SVN-Revision: 18820
2009-12-18 12:57:09 +00:00
Gabor Juhos
70d31d46a8 ar71xx: move AP94 specific PCI init code into a separate file
SVN-Revision: 18819
2009-12-18 12:57:05 +00:00
Gabor Juhos
1f114b0dbd ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on the patch from #6186)
SVN-Revision: 18818
2009-12-18 12:57:01 +00:00
Gabor Juhos
e190743d25 ar71xx: add common m25p80 device
SVN-Revision: 18817
2009-12-18 12:56:55 +00:00
Gabor Juhos
4734a69891 ar71xx: add driver for the USB LED on the WNDR3700
SVN-Revision: 18758
2009-12-11 20:32:31 +00:00
Gabor Juhos
de8bfcaf38 ar71xx: add ar71xx_device_stopped function
SVN-Revision: 18757
2009-12-11 20:32:28 +00:00