Commit Graph

986 Commits (4f5f42fcf96aca1fb2b6a358c037b52b28c6d9e1)

Author SHA1 Message Date
Gabor Juhos c3b4131574 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
Gabor Juhos b4b218d20a 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
Gabor Juhos 3d21246af0 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
Jo-Philipp Wich 2bbf2a3c19 [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
Gabor Juhos 693a00b805 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
Gabor Juhos 53568d6359 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
Gabor Juhos fd8f0781e3 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
Gabor Juhos 0c2b8d1d98 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
Gabor Juhos ac6dc4fb0d 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
Gabor Juhos 4b1ab04766 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
Gabor Juhos 56cd39f5bc 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
Gabor Juhos 54bab1473e 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
Gabor Juhos 359db89206 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
Gabor Juhos 4060780e57 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
Gabor Juhos af1a59b1ab 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
Gabor Juhos 738eb2d5ea 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
Gabor Juhos 34c49fa90a 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
Gabor Juhos 6a9f1a0f40 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
Gabor Juhos 0af965f950 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
Gabor Juhos 0bf7b33e19 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
Gabor Juhos 73378d717d 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
Gabor Juhos 64e26215ee 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
Gabor Juhos 08d44a0942 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
Gabor Juhos 326e9a8356 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
Gabor Juhos 9bc2533b39 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
Gabor Juhos 896369267c 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
Gabor Juhos 55e2c5200a 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
Gabor Juhos e80ae1b19a 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
Gabor Juhos 0fae3953cf 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
Gabor Juhos 5481ea653c 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
Gabor Juhos adde83905e 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
Gabor Juhos 60eea9284b 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
Gabor Juhos f7921c963f 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
Gabor Juhos 37b67cc5d2 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
Gabor Juhos 4b565ddb06 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
Gabor Juhos af172fc704 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
Felix Fietkau d560a3be45 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
Gabor Juhos 0d0f1c601d 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
Gabor Juhos b67365f9ac 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
Gabor Juhos f4e935e035 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
Gabor Juhos e48e1d35ba 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
Gabor Juhos 7d315cc477 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
Gabor Juhos 428adf203f 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
Gabor Juhos 634b355d3c 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
Felix Fietkau d8dc22afd6 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
Felix Fietkau fec8e48603 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
Gabor Juhos 9828d89496 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
Gabor Juhos 00c14fd865 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
Gabor Juhos 65ffc1bc61 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
Gabor Juhos 468bef06f3 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
Gabor Juhos 5504bc6629 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
Gabor Juhos 0346ad9467 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
Gabor Juhos f5523da72c 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
Gabor Juhos 2d6e859525 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
Gabor Juhos d18aa81fca 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
Gabor Juhos 2383f010d9 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
Felix Fietkau 82a3705ef1 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
Felix Fietkau bc1573db72 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
Gabor Juhos 0b5ddaebff 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
Gabor Juhos 522e6f6a47 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
Gabor Juhos 038a4d7a7d 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
Gabor Juhos ea686cbea0 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
Gabor Juhos 685a1f59a7 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
Gabor Juhos 56b4822790 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
Gabor Juhos dca0ec2a53 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
Felix Fietkau 0414b8cf78 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 Croce 72915b4a56 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
Gabor Juhos c76b3f6282 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
Gabor Juhos 8816b5283a 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
Gabor Juhos 4628dc5124 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
Gabor Juhos f92973072d 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
Gabor Juhos 872e71e3f5 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
Gabor Juhos 24d9dfb98c 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
Gabor Juhos a4bd57700c 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
Gabor Juhos a161e43710 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
Gabor Juhos 937b4d7183 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
Gabor Juhos 1698cb5180 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
Gabor Juhos 0676846255 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
Gabor Juhos 9691b4e468 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
Gabor Juhos b0b877b8be 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
Gabor Juhos 45e6e81be6 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
Gabor Juhos 290284a0ea 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
Gabor Juhos 523fe5378c 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
Gabor Juhos 78487709a6 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
Gabor Juhos 495aed4039 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
Gabor Juhos 61be658834 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 Croce 8364df7278 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
Gabor Juhos d0b6cc45af 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
Gabor Juhos e2686b946d 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
Gabor Juhos ff0d37992c [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
Gabor Juhos 9be2ec7744 [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
Gabor Juhos 9a8810cd40 [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
Gabor Juhos b38a697aa7 [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
Gabor Juhos 843e4c9648 [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
Gabor Juhos 54e6d0e354 [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
Gabor Juhos 95ea6571aa [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
Gabor Juhos 99cf69088e [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
Gabor Juhos 5104dd2b1d [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
Gabor Juhos 05500844db [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
Gabor Juhos 074681b8d6 [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
Gabor Juhos 7ea3d1520a [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
Gabor Juhos 7c3041dac6 [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
Gabor Juhos ea6ce3904f [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
Gabor Juhos 716f74c9bd [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
Gabor Juhos 6bfa32dda5 [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
Gabor Juhos 42e75cfee0 [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
Gabor Juhos a9c43c0abb [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
Gabor Juhos 346ca391ed [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
Gabor Juhos 322052f47a [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
Gabor Juhos a8abf2cf4b [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
Gabor Juhos 01b93ffd27 [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
Gabor Juhos 98a02e113b [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
Gabor Juhos be1b8cc75c [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
Gabor Juhos 7ce0ae81ee [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
Gabor Juhos c6c7d42839 [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
Gabor Juhos 35948c0144 [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
Gabor Juhos 38b922b128 [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
Gabor Juhos 465e00b30f [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
Gabor Juhos 80f0f758b2 [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
Gabor Juhos 23dcbe7aec [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
Gabor Juhos 14030d25dc [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
Gabor Juhos f9a833a3b6 [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
Gabor Juhos 4672a50b90 [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
Gabor Juhos cf572ffe84 [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
Gabor Juhos 813801626e [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
Gabor Juhos a663170ee2 [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
Gabor Juhos 923f9f71d9 [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
Gabor Juhos 8f7326831c [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
Gabor Juhos a43abba1c3 [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
Gabor Juhos 60d9465d36 [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
Gabor Juhos d6ffcb84ac [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
Gabor Juhos 4a046eb2dd [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
Gabor Juhos 504e43877e [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
Gabor Juhos eb234acf5f [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
Gabor Juhos 19074c2685 [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
Gabor Juhos 923cb8f9be [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
Gabor Juhos ce27f824ed [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
Gabor Juhos 0bba4fca43 [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
Gabor Juhos aa63556c19 [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
Gabor Juhos a50dc46434 [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
Gabor Juhos d32c8f92c0 [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
Gabor Juhos f31f390206 [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
Gabor Juhos 6c120bb0ba [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
Gabor Juhos e246e0ed0d [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
Gabor Juhos 455c6f7c88 [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
Gabor Juhos e0d2a8de66 [ar71xx] change flash partition map of the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 09:57:37 +00:00
Gabor Juhos 660ca8bb15 [ar71xx] add parallel flash driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 08:41:47 +00:00
Gabor Juhos 62e4a692dc [ar71xx] fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 19:29:41 +00:00
Gabor Juhos 5a5e5a75d8 [ar71xx] create a 'firmware' partition for MZK-W300NH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 15:31:33 +00:00
Gabor Juhos f7bb74d48d [ar71xx] improve MZK-W300NH support (thanks to Kazuki Shimada for the board)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 18:18:36 +00:00
Gabor Juhos 77bd54ed2c [ar71xx] pass ucode name to the VSC7385 driver on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 07:56:49 +00:00
Gabor Juhos 90183675e4 [ar71xx] add SPI driver for the Vitesse VSC7385 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 07:51:29 +00:00
Gabor Juhos dad297d9c2 [ar71xx] add experimental support for the AP83-040 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 19:54:25 +00:00
Gabor Juhos 449dc1019e [ar71xx] add another SPI controller driver for the earlier AP83 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 19:50:04 +00:00
Gabor Juhos b8b3fe08cb [ar71xx] add flash locking code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 18:17:07 +00:00
Gabor Juhos bb2ed20991 [ar71xx] register parallel flash device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 12:37:40 +00:00
Gabor Juhos 6ef2e153ea [ar71xx] add support for board specific PLL settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 13:00:08 +00:00
Gabor Juhos a3e1607f85 [ar71xx] register SPI bus on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 17:16:19 +00:00
Gabor Juhos e1bc7b5ab1 [ar71xx] add preliminary support for the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 18:36:49 +00:00
Gabor Juhos ca40d416f7 [ar71xx] update board setup code of the RouterStation Pro (patch by Ubiquiti Networks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 17:31:05 +00:00
Gabor Juhos 6dc08e81b0 [ar71xx] fix typos in the PB42 support code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 18:22:01 +00:00
Gabor Juhos f0d3b16a07 [ar71xx] add experimental support for the Atheros PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 08:23:48 +00:00
Gabor Juhos 4bfda49041 [ar71xx] reorder mtd partitions on the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-13 20:12:07 +00:00
Gabor Juhos 0253bca788 [ar71xx] create image for the WRT400N board (thanks to netprince)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-13 20:00:42 +00:00
Gabor Juhos 6ed90b02bd [ar71xx] remove extern directives
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 05:57:56 +00:00
Gabor Juhos 39cff165fb [ar71xx] increase AR71XX_MEM_SIZE_MAX (thanks to Leo Galambos for reporting)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 05:39:12 +00:00
Gabor Juhos 7d3620fda8 [ar71xx] use dev_name() instead of bus_id in ag71xx, ohci-ar71xx, ehci-ar71xx drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 19:21:39 +00:00
Gabor Juhos f744c274df [ar71xx] select ar8216 support for the WRT400N (thanks to netprince)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-26 18:47:41 +00:00
Gabor Juhos 23dc17551c [ar71xx] add experimental support for the Linksys WRT400N board (thanks to netprince)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-26 06:40:02 +00:00
Gabor Juhos 7c80560b0a [ar71xx] enable the synopsys woarkaround in the ehci-ar71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 12:25:49 +00:00
Gabor Juhos 82eeec0e00 [ar71xx] ap81: register GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 19:59:33 +00:00
Gabor Juhos ef33a3c7f8 [ar71xx] ap81: register SPI flash, and add default MTD partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:48:00 +00:00
Gabor Juhos 2da690b21b [ar71xx] ap81: register GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:34:11 +00:00
Gabor Juhos d6b05d346d [ar71xx] ap81: register USB host controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:14:55 +00:00
Gabor Juhos 6c1f8d5900 [ar71xx] ap81: register ethernet devices, and add default network configuration file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:07:16 +00:00
Gabor Juhos ee34ae403a [ar71xx] ap83: remove unnecessary include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:02:50 +00:00
Gabor Juhos 7388714b9c [ar71xx] preliminary support for the Atheros AP81 refrence board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 14:30:08 +00:00
Gabor Juhos fe83526510 [ar71xx] pb42: add GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 19:28:28 +00:00
Gabor Juhos 1c8f194f85 [ar71xx] pb42: fix ethernet, remove USB registration, add default network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 18:28:33 +00:00
Gabor Juhos 8b06846f40 [ar71xx] ls-sr71: add GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 12:53:31 +00:00
Gabor Juhos c06c7125cd [ar71xx] simplify setup code for Ubiquiti boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 12:24:11 +00:00
Gabor Juhos d444b0b7cb [ar71xx] tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 11:17:16 +00:00
Gabor Juhos 2a87c6aa4b [ar71xx] aw-nr580: add GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 18:32:04 +00:00
Gabor Juhos 58070e228a [ar71xx] aw-nr580: add support for the PCI slot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 17:06:29 +00:00
Gabor Juhos a94c151a92 [ar71xx] aw-nr580: add support for the LAN ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 16:34:09 +00:00
Gabor Juhos b08bea6d1f [ar71xx] aw-nr580: add GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 15:45:29 +00:00
Gabor Juhos 197a6f2935 [ar71xx] move 'ar71xx_add_device_usb' definition into devices.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 10:09:20 +00:00
Gabor Juhos f6347f01b6 [ar71xx] TL-WR941ND: update flash partition map
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 17:01:05 +00:00
Gabor Juhos caeb4fe155 [ar71xx] preliminary support for the Ubiquiti RouterStation Pro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 07:39:30 +00:00
Andy Boyett 7f8cc4e8cc [ar71xx] wnr2000: enable ar8216 workaround, add network config. LAN ports now work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 05:54:32 +00:00
Andy Boyett 0e2970634e [ar71xx] wnr2000: configure eth1 (WAN) and detect the ar8216 switch on eth0 (LAN)
ar8216 headers are embedded in packets on eth0 so it is not usable yet

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 01:22:57 +00:00
Andy Boyett 4e31ac069e [ar71xx] wnr2000: buttons and blinkenlights!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 01:20:27 +00:00
Gabor Juhos b0d77eccb7 [ar71xx] ag71xx driver: forgot to add a new file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-25 17:52:14 +00:00
Gabor Juhos bde9cc7cd1 [ar71xx] mzk-w04nu: enable the ar8216 chip workaround, and add a default network configuration file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-25 16:48:56 +00:00
Gabor Juhos 8bc3295891 [ar71xx] ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-25 16:47:11 +00:00
Gabor Juhos 5ce7623717 [ar71xx] remove duplicated includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 11:34:05 +00:00
Gabor Juhos 56ee4b5ebf [ar71xx] TL-WR941ND: add DSA device for the Marvell 88E6060 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 10:43:23 +00:00
Gabor Juhos 792c1d9a07 [ar71xx] move device registration function prototypes into a separate header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 08:50:00 +00:00
Gabor Juhos 77ab4f8182 [ar71xx] rename platform.c to devices.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 08:21:05 +00:00
Gabor Juhos 706dc16dd9 [ar71xx] enable TL-WR941ND in kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 08:01:31 +00:00
Gabor Juhos 4a38b41b88 [ar71xx] tl-wr941nd: register ethernet device, and fix machine id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 07:58:44 +00:00
Gabor Juhos c99fbd93f5 [ar71xx] micrel phy driver: change initcall level if compiled into the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 20:52:12 +00:00
Gabor Juhos fbc211fc67 [ar71xx] preliminary support for the TL-WR941ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 20:49:06 +00:00
Gabor Juhos bc73548569 [ar71xx] add an alias board name for the Ubiquiti RouterStation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 07:39:50 +00:00
Gabor Juhos 388b05cabf [ar71xx] add a workaround for fixing the bad performance of the Ubiquiti RouterStation/LS-SR71 boards, until they fix their bootloader.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 19:58:43 +00:00
Gabor Juhos 81b5773b7f [ar71xx] ag71xx driver: add Kconfig option for enabling debug messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-15 13:12:43 +00:00
Gabor Juhos b4a729598e [ar71xx] ag71xx driver: apply 2.6.28 specific patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-15 07:57:29 +00:00
Gabor Juhos 6029e51534 [ar71xx] switch to 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-15 07:52:55 +00:00
Gabor Juhos 50d2fe163f [ar71xx] ag71xx driver: fix a kernel crash caused by r14496
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-13 20:36:39 +00:00
Gabor Juhos eeb502575e [ar71xx] ag71xx driver: fix return code of the napi poll routine, was broken since [13545] (patch by Ubiquiti Networks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-13 11:16:57 +00:00
Gabor Juhos 886d8c80ae [ar71xx] ag71xx driver: update phy connecting code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-13 10:43:40 +00:00
Gabor Juhos ba9ae5c800 [ar71xx] remove netif schedule from the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-13 08:58:59 +00:00
Gabor Juhos 6ac0029648 [ar71xx] add preliminary support for the Ubiquiti LS-SR71 board (thanks to Xianghua Xiao for the initial patch, and for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-12 19:48:27 +00:00
Gabor Juhos 3f5a9262b4 [ar71xx] pull ethernet mac out of reset before registering the mdio_bus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-12 14:06:58 +00:00
Gabor Juhos 71ed79fcaf [ar71xx] parse the board parameter from the command line first
Signed-off-by: Andrea Tassi <andrea.tassi at gmail.com> and WiFi(ed) - The Embedded Development Team (of Riccardo Coppola <coppola.riccardo at gmail.com>, Andrea Tassi <andrea.tassi at gmail.com> and Massimiliano Toce <massimiliano.toce at gmail.com>) 

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-12 08:08:14 +00:00
Gabor Juhos 44499f6e85 [ar71xx] create firmware images for the Planex MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-05 16:46:55 +00:00
Gabor Juhos c4817c6509 [ar71xx] parse RedBoot environments as well (patch by Jonas <jmajau@ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 08:44:50 +00:00
Gabor Juhos 7ccebf5ece [ar71xx] mzk-w04nu: fetch MAC address from the flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 07:53:46 +00:00
Gabor Juhos 3cfad2c8a0 [ar71xx] fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 07:26:31 +00:00
Gabor Juhos 2755258397 [ar71xx] parse dot-separated MAC address (patch by Jonas <jmajau@ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 19:37:57 +00:00
Gabor Juhos 42d662b4c7 [ar71xx] mzk-w04nu: add GPIO LEDs and buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 17:51:51 +00:00
Gabor Juhos 5f96cabf6a [ar71xx] print some informations about the SoC at bootup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 09:46:04 +00:00
Gabor Juhos 0460a9eb37 [ar71xx] fix leds-gpio platform data initialization (closes #4512)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-28 11:48:14 +00:00
Gabor Juhos 3fa91d0a55 [ar71xx] tew-632brp: enable WAN port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 07:08:24 +00:00
Gabor Juhos 0fa58384f4 [ar71xx] experimental support for the Planex MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 18:50:43 +00:00
Gabor Juhos 3ec8148f9d [ar71xx] tew-632brp: add WPS button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 17:45:33 +00:00
Gabor Juhos fc9fbf2abb [ar71xx] move random MAC address generation into the platform initialization code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 14:55:09 +00:00
Gabor Juhos 7cc8863c92 [ar71xx] add preliminary support for the Planex MZK-W300NH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 19:46:41 +00:00
Gabor Juhos 964646bbb9 [ar71xx] remove board specific stuff from the generic machine setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 19:07:13 +00:00
Gabor Juhos 397365a2cb [ar71xx] add preliminary support for the Atheros PB42 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 19:06:00 +00:00
Gabor Juhos 97005e1e04 [ar71xx] fix the registered machine type of the WNR2000 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 09:32:22 +00:00
Gabor Juhos a4e60d29c8 [ar71xx] register WMAC device on the Netgear WNR2000 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 14:14:03 +00:00
Gabor Juhos 3fc9a88fa1 [ar71xx] prepare for ath9k support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 18:54:33 +00:00
Gabor Juhos 488c8fd093 [ar71xx] add experimental support for the NETGEAR WNR2000 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-30 13:46:43 +00:00
Gabor Juhos 412afeaa89 [ar71xx] add dummy WMAC device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-30 06:52:57 +00:00
Gabor Juhos f325f91165 [ar71xx] add experimental support for the Ubiquiti LSX board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-29 17:54:16 +00:00
Gabor Juhos 31950ef9a2 [ar71xx] add WMAC definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-26 21:48:50 +00:00
Gabor Juhos 8da02c8595 [ar71xx] add Ubiquiti board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-26 20:12:42 +00:00
Gabor Juhos dbb49737c1 [ar71xx] use SoC specific irq dispatch code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-23 13:59:04 +00:00
Gabor Juhos 7a37b799da [ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas <jmajau at ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-20 08:28:39 +00:00
Gabor Juhos 013387f3ba [ar71xx] rb-4xx: setup code cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-20 07:47:30 +00:00
Gabor Juhos 0e2abca351 [ar71xx] improve Ubiquiti RouterStation support (based on a patch by Jonas <jmajau at ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 20:18:48 +00:00
Gabor Juhos 1c83fbd366 [ar71xx] rename RouterStation stuff, and add machine type for the LSX board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 19:17:53 +00:00
Gabor Juhos c73ad5478f [ar71xx] prepare for RouterStation support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 19:18:52 +00:00
Gabor Juhos da4fdfab1d [ar71xx] move machine setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 16:11:42 +00:00
Gabor Juhos c52307074d [ar71xx] tew-632brp: add status LED
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 11:07:11 +00:00
Gabor Juhos 0897bff821 [ar71xx] tew-632brp: register GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 11:04:16 +00:00
Gabor Juhos 8b7534d6e6 [ar71xx] tew-632brp: register GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 09:48:34 +00:00
Gabor Juhos 432f440550 [ar71xx] tew-632brp: use LZMA compressed uImage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 08:32:04 +00:00
Gabor Juhos 8e23f40be7 [ar71xx] tew-632brp: register flash device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-14 19:40:17 +00:00
Gabor Juhos b3fecbcda9 [ar71xx] register eth0 device on the TEW-632BRP board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 18:49:01 +00:00
Gabor Juhos 1e97fce4d1 [ar71xx] ag71xx driver: increase size of dma descriptors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 10:16:49 +00:00
Gabor Juhos b03862a72b [ar71xx] ag71xx driver: use same FIFO configuration for all SOC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 09:42:57 +00:00
Gabor Juhos df84ce6c3a [ar71xx] ag71xx driver: add OOM handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 13:15:12 +00:00
Gabor Juhos e348e3753c [ar71xx] ag71xx driver: don't refill rx buffers twice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 08:31:25 +00:00
Gabor Juhos e0bfa7cae9 [ar71xx] ag71xx driver: interrupt status is masked by hw, don't mask it again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 08:24:47 +00:00
Gabor Juhos 65bf8b94f2 [ar71xx] ag71xx driver: remove unused code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 08:22:56 +00:00
Gabor Juhos 1977abcdce [ar71xx] ag71xx driver: NAPI poll cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-07 09:46:41 +00:00
Gabor Juhos ec8e8d2a58 [ar71xx] ag71xx driver: handle TX timout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-07 06:43:02 +00:00
Gabor Juhos a6c5cf39f1 [ar71xx] add dummy code for the TRENDnet TEW-632BRP board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-06 18:10:57 +00:00
Gabor Juhos ba4e9b0974 [ar71xx] ag71xx driver: always use NAPI to transmit packets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-06 10:03:36 +00:00
Gabor Juhos 84af7151d4 [ar71xx] ag71xx driver: improve poll routine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-05 20:08:00 +00:00
Gabor Juhos 060a762e04 [ar71xx] ag71xx driver: always flush register writes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-05 19:42:02 +00:00
Gabor Juhos dd1613db57 [ar71xx] ag71xx driver: don't use dma_cache_wback_inv
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-05 10:39:46 +00:00
Gabor Juhos be23a15ee7 [ar71xx] ag71xx driver: don't use CHECKSUM_UNNECCESARY (closes #4161)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-05 07:15:45 +00:00
Gabor Juhos 1ee5af12e9 [ar71xx] EHCI driver: add AR913x support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 18:16:05 +00:00
Gabor Juhos a8dcd432b9 [ar71xx] add SoC specific reset code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 18:13:43 +00:00
Gabor Juhos bdce5d4077 [ar71xx] add AR913x specific reset register offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 17:00:04 +00:00
Gabor Juhos ab09799f09 [ar71xx] rename reset register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 16:55:43 +00:00
Gabor Juhos 81beea2925 [ar71xx] fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 12:50:21 +00:00
Gabor Juhos df81f5decb [ar71xx] register GPIO buttons on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 12:18:17 +00:00
Gabor Juhos 6e121e498e [ar71xx] make all AR913x GPIO lines usable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 12:17:14 +00:00
Gabor Juhos bead03710a [ar71xx] OHCI driver cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 09:42:26 +00:00
Gabor Juhos 26411fee77 [ar71xx] register USB device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 09:11:03 +00:00
Gabor Juhos 2f0d57a2df [ar71xx] add ar913x specific USB setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 07:19:23 +00:00
Gabor Juhos 5e389a14f3 [ar71xx] create platform data for the EHCI driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 15:54:08 +00:00
Gabor Juhos 15870dffc8 [ar71xx] rename USB variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 15:35:12 +00:00
Gabor Juhos de2eca1ee8 [ar71xx] ag71xx driver: minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 08:55:39 +00:00
Gabor Juhos 46c4c356af [ar71xx] update mips_machine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 21:17:31 +00:00
Gabor Juhos 7808db61ca [ar71xx] ag71xx driver: fix RX_STATUS_OF bitmask, and add DMA status register bit descriptions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 08:49:22 +00:00
Gabor Juhos f5dc8e6efe [ar71xx] ag71xx driver: add some debug stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 08:46:37 +00:00
Gabor Juhos b1f31c9121 [ar71xx] ag71xx driver: reset DMA registers in hardware initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-01 21:21:36 +00:00
Gabor Juhos 4099ebdb00 [ar71xx] more ehci driver cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-30 20:09:43 +00:00
Gabor Juhos 4a52e64bb8 [ar71xx] ag71xx driver: fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-30 13:20:12 +00:00
Gabor Juhos 6d19ef4f18 [ar71xx] ehci driver cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-30 11:07:22 +00:00
Gabor Juhos 3578cf314c [ar71xx] ag71xx driver: clean up hardware initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 14:08:53 +00:00
Gabor Juhos 2827d4ec43 [ar71xx] fix build error introduced in r13389
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 10:07:56 +00:00
Gabor Juhos 678aaf812b [ar71xx] register eth1 device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 09:07:01 +00:00
Gabor Juhos 614e782dee [ar71xx] add gpio leds for the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 09:06:01 +00:00
Gabor Juhos e168ccced8 [ar71xx] ag71xx driver: add more register bit definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 22:40:34 +00:00
Gabor Juhos b2d1c5773c [ar71xx] ag71xx driver: unregister MDIO bus in module exit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 22:25:43 +00:00
Gabor Juhos 491cd8b323 [ar71xx] ag71xx driver: use SoC specific PLL values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 18:54:58 +00:00
Gabor Juhos af8da9031f [ar71xx] ag71xx driver: introduce new flag for the AR913x SOCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 17:31:22 +00:00
Gabor Juhos 0614f72494 [ar71xx] register eth0 device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 08:39:08 +00:00
Gabor Juhos 31ecd080e3 [ar71xx] ag71xx: introduce SoC specific fuctions for DDR flush and PLL setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 20:00:41 +00:00
Gabor Juhos c22e1afc64 [ar71xx] add definitions for AR91xx specific DDR registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 17:34:08 +00:00
Gabor Juhos a0db668dea [ar71xx] rename DDR registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 17:17:13 +00:00
Gabor Juhos f1cc74e8ea [ar71xx] ag71xx: dump additional registers in debug mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 14:09:00 +00:00
Gabor Juhos d39a6db113 [ar71xx] fix AP83 boot failure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 08:40:46 +00:00
Gabor Juhos 834c2de24a [ar71xx] add dummy code for the Atheros AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 19:19:55 +00:00
Gabor Juhos cd2a054229 [ar71xx] enable gigabit feature if the SoC supports it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 17:55:46 +00:00
Gabor Juhos ea8f5369e9 [ar71xx] improve SoC detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 17:39:12 +00:00
Gabor Juhos 8a6b74261d [ar71xx] ethernet driver preparation for gigabit support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-24 16:56:36 +00:00
Gabor Juhos 78e33a4f9a [ar71xx] fix gpio-leds, and gpio-buttons platform data initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-24 11:03:18 +00:00
Gabor Juhos fc473d4880 [ar71xx] add experimental support for the AzureWave AW-NR580 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-18 13:21:24 +00:00
Gabor Juhos 0ca01f7bdc [ar71xx] use MyLoader partition parser on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 17:42:35 +00:00
Gabor Juhos c3e6c0c4bd [ar71xx] move MyLoader stuff into generic files, will be used on adm5120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 09:19:27 +00:00
Gabor Juhos bedfcc443a [ar71xx] define some bits of the ethernet controller's registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 08:57:31 +00:00
Gabor Juhos e4f087b401 [ar71xx] fixes the ethernet port mask of RB433 in the platform data
* Signed-off-by: Joerg Albert <jal2 at gmx.de> 
 * closes #4185

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-13 17:02:59 +00:00
Gabor Juhos 5a6e7ec751 [ar71xx] rewrite memory size detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-13 15:55:39 +00:00
Gabor Juhos 5a1d964785 [ar71xx] cosmetic changes in the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-12 18:08:32 +00:00
Gabor Juhos 85082a047d [ar71xx] enable ethernet and PCI on RB-493/AH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-03 15:11:09 +00:00
Gabor Juhos 8b47c4566c [ar71xx] setup speed/duplex on RB-433/450 (closes #4151)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-31 11:50:47 +00:00
Gabor Juhos ada4649074 [ar71xx] change ag71xx platform device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-17 07:12:44 +00:00
Gabor Juhos 0d3bf063cb [ar71xx] fix RB-493 detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-16 19:18:46 +00:00
Gabor Juhos 2154d8cde2 [ar71xx] preliminary support for the RB-493/AH, based on a patch by Carl Riechers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-15 19:03:31 +00:00
Gabor Juhos 1f385fa9cf [ar71xx] minor ethernet driver update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-15 18:31:21 +00:00
Gabor Juhos e40c3beb47 [ar71xx] add hardware watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-30 08:05:18 +00:00
Gabor Juhos 0ff4aa4b31 [ar71xx] remove some debug stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 18:41:03 +00:00
Gabor Juhos 0c32489004 [ar71xx] add MyLoader support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:56:10 +00:00
Gabor Juhos d427ec45a9 [ar71xx] WP543: add static mtd partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:38:53 +00:00
Gabor Juhos 71164d3a81 [ar71xx] fix the PCI byte lane enable generation code, based on a patch by Chris Dearman
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-17 13:29:47 +00:00
Gabor Juhos 506544a431 [ar71xx] add gpio-buttons devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 09:47:37 +00:00
Gabor Juhos 91e3f567de [ar71xx] simplify leds-gpio device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 08:59:27 +00:00
Gabor Juhos 4aae175405 [ar71xx] register gpio-leds on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-04 13:39:11 +00:00
Gabor Juhos c3eecc83d1 [ar71xx] make use the USB controller on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 19:37:58 +00:00
Gabor Juhos 15358e8e77 [ar71xx] fix platform device ids of the USB controllers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 18:02:18 +00:00
Gabor Juhos e82f7dfdaa [ar71xx] fix EHCI driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 17:11:51 +00:00
Gabor Juhos b1167c23f4 [ar71xx] fix phy id on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 15:23:26 +00:00
Felix Fietkau 9fd8bebddb make openwrt boot on ar9130 (currently no ethernet yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 14:41:26 +00:00
Gabor Juhos dd67cca098 [ar71xx] ag71xx: add initial message level support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-10 09:18:42 +00:00
Gabor Juhos 0eedb7aee6 [ar71xx] reorder nand partitions on RB-4xx (closes #3852)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 07:33:13 +00:00
Gabor Juhos 56bd819318 [ar71xx] ethernet driver updates
* new mii bus code, mac0 and mac1 can use the mac0's miii bus from now on
* swap eth0 & eth1 on RB433/450


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 18:22:38 +00:00
Gabor Juhos d3e93d1a18 [ar71xx] fix the name of the micrel PHY driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 12:46:05 +00:00
Gabor Juhos 9abc8423dd [ar71xx] parse mac address on RouterBOARDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22 16:35:29 +00:00
Gabor Juhos 7670811acd surprise :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 17:08:14 +00:00