Commit Graph

325 Commits (e447632dca7f231166c69ab04e6274f637b751f8)

Author SHA1 Message Date
Gabor Juhos 019a16cdd1 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
Felix Fietkau f622088030 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
Felix Fietkau 9c66f092fd 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
Felix Fietkau 40134c73fc 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
Felix Fietkau 7a9d13a750 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
Gabor Juhos 20a0bba898 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
Gabor Juhos a069981ab9 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
Gabor Juhos 8278f43ea1 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
Gabor Juhos 122dca56e5 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
Gabor Juhos 1743244300 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
Gabor Juhos fd62d6e97a 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
Gabor Juhos e61a8b2e88 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
Gabor Juhos 0eea4b85a2 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
Gabor Juhos 503f1bafb9 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
Gabor Juhos ad82075821 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
Felix Fietkau ebfdeeb267 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
Gabor Juhos 0e3f38c6e1 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
Gabor Juhos 21d31612c3 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
Gabor Juhos b6bd0ef667 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
Gabor Juhos 00b93e1214 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
Gabor Juhos da7993d9f8 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
Felix Fietkau 6f4f5e06bc 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
Jo-Philipp Wich fd27f8a1d9 [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
Felix Fietkau aba9d83bea 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
Felix Fietkau 159a5e0667 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
Felix Fietkau 19f9c43c95 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
Felix Fietkau 77ed8000f6 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
Felix Fietkau ef287bc6c5 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
Felix Fietkau ecd4ce5546 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
Andy Boyett 94f7c6cc52 [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
Gabor Juhos e3725ff115 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
Gabor Juhos 41b8423dc1 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
Gabor Juhos bba572559e 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
Gabor Juhos 9fc4c21a43 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
Gabor Juhos 85332413ff 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
Gabor Juhos a11dc0416a 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
Gabor Juhos c2ef5274ac 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
Gabor Juhos 3c75de37a8 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
Gabor Juhos 11f888b68e 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
Gabor Juhos 72ce25d04e 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
Gabor Juhos 27cb794c04 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
Gabor Juhos a63b2e9e7d 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
Gabor Juhos ed2826b023 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
Gabor Juhos afdd5b2423 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
Gabor Juhos 9de158aa40 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
Gabor Juhos f29068f97c 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
Felix Fietkau 3e2f215c02 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
Gabor Juhos 060132c3b8 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
Gabor Juhos f950ef6dca 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
Gabor Juhos 961db2b910 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