Commit Graph

660 Commits (1d1e4d10354832fbb2884d55464fc3f3ddbe2390)

Author SHA1 Message Date
Gabor Juhos a9c5e3159f ar71xx: update default network configuration for the WNDR3700/DIR-825-B1
Also drop the default network configuration of the TL-WR1043ND, because
the RTL8366RB switch is not yet supported by the rtl8366-smi driver.

SVN-Revision: 19217
2010-01-18 09:01:47 +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 c4838a0f9e rtl8366_smi: use inline function instead of a macro on top of container_of
SVN-Revision: 19215
2010-01-18 09:01:40 +00:00
Felix Fietkau a86a28841c ar71xx: add some default configs for rtl8366 based devices
SVN-Revision: 19210
2010-01-18 00:44:52 +00:00
Felix Fietkau 3cc98b09f7 adjust switch default configs for the swconfig api change
SVN-Revision: 19209
2010-01-18 00:38:08 +00:00
Felix Fietkau 2670e906b6 ar71xx: fix portability errors in dd commands
SVN-Revision: 19207
2010-01-18 00:12:15 +00:00
Felix Fietkau 88ddc59655 rtl8366_smi: reset the vlan table when resetting the switch and use vlan get/set ports for vlan member lists
SVN-Revision: 19206
2010-01-18 00:12:12 +00:00
Felix Fietkau b228fd428a rtl8366_smi: fix excessive stack usage and buffer handling bugs
SVN-Revision: 19205
2010-01-18 00:12:07 +00:00
Felix Fietkau 8394a32815 ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
2010-01-17 22:57:08 +00:00
Gabor Juhos d2229cb1cc rtl8366_smi: register the switch directly from the probe routine
SVN-Revision: 19202
2010-01-17 21:37:09 +00:00
Gabor Juhos 088ba7e1db rtl8366_smi: use vlanmc name for all vlanconfig variables
SVN-Revision: 19201
2010-01-17 21:17:59 +00:00
Gabor Juhos 639212697d rtl8366_smi: use vlan4k name for all vlan4kentry variables
SVN-Revision: 19200
2010-01-17 21:17:57 +00:00
Gabor Juhos 9cb11e2eef rtl8366_smi: move memset into the rtl8366s_get_member_config function
SVN-Revision: 19199
2010-01-17 21:17:53 +00:00
Gabor Juhos f55beb9e9b rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19198
2010-01-17 21:17:49 +00:00
Gabor Juhos 7f9b0eca90 rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19197
2010-01-17 21:17:46 +00:00
Gabor Juhos a90792056c ar71xx: upgrade rtl8366_smi driver
Thanks to Antti Seppälä.
Patch from https://forum.openwrt.org/viewtopic.php?pid=100150#p100150

SVN-Revision: 19196
2010-01-17 21:17:42 +00:00
Gabor Juhos 001ebd8d90 ar71xx: create sysupgrade file for the WZR-HP-G300NH
SVN-Revision: 19193
2010-01-17 18:53:42 +00:00
Gabor Juhos 2c4be9350d ar71xx: update cfi patches for 2.6.3[12] as well
SVN-Revision: 19188
2010-01-17 14:33:35 +00:00
Gabor Juhos 8b78972577 ar71xx: move forcing of word write into a separate patch
SVN-Revision: 19187
2010-01-17 14:33:32 +00:00
Gabor Juhos f9f827eac2 ar71xx: add optimizations to the cfi cmdset 002 status checking
SVN-Revision: 19186
2010-01-17 14:33:29 +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
Felix Fietkau ae440b2f00 ar71xx: the lack of DQ* flash status checking for cfi cmdset 0002 does not only apply to erase commands, it also affects writes. extend the workaround to cover writes commands as well
SVN-Revision: 19175
2010-01-17 01:07:18 +00:00
Gabor Juhos 21a235bc67 ar71xx: fix typos in the ar71xx.sh
SVN-Revision: 19151
2010-01-15 12:11:05 +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 e92c0c7830 ar71xx: add GPIO driver for the NXP 74HC153 chip
SVN-Revision: 19149
2010-01-15 12:07:58 +00:00
Gabor Juhos 3dc1073b53 ar71xx: reduce button threshold values
SVN-Revision: 19116
2010-01-13 10:18:30 +00:00
Gabor Juhos 29653e2467 ar71xx: fix 320S33B flash chip support
SVN-Revision: 19114
2010-01-13 06:52:12 +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 d8ace8978a ar71xx: add NAPI statistics to the ag71xx driver
SVN-Revision: 19079
2010-01-08 20:22:55 +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
Jo-Philipp Wich d8bd549d71 fix typo after r19054
SVN-Revision: 19059
2010-01-06 20:16:07 +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 51c76750fc ar71xx: add detailed interrupt statistics for the ag71xx driver
SVN-Revision: 19054
2010-01-06 15:24:01 +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
Felix Fietkau e8d518154f ar71xx: fix ubntxm image builds
SVN-Revision: 19044
2010-01-05 18:37:22 +00:00
Felix Fietkau 29a6649cf0 ar71xx: clean up image fs selection templates
SVN-Revision: 19034
2010-01-04 16:27:41 +00:00
Gabor Juhos 4e558554cb ar71xx: add missing templates for PB4X image generation
SVN-Revision: 19033
2010-01-04 14:28:31 +00:00
Gabor Juhos 46b572636b ar71xx: update Kconfig of the ag71xx driver
SVN-Revision: 19032
2010-01-04 14:28:28 +00:00
Gabor Juhos 63a320c8f7 ar71xx: add dummy debugfs support for the ag71xx driver
SVN-Revision: 19031
2010-01-04 14:28:25 +00:00
Gabor Juhos 8113f1ae11 ar71xx: fix RB-450G board detection (closes: #6453)
SVN-Revision: 19030
2010-01-04 14:28:20 +00:00
Felix Fietkau 4dbf116c5f ar71xx: fix generating pb4x images
SVN-Revision: 19029
2010-01-04 11:54:58 +00:00
Gabor Juhos ac4b63a18b ar71xx: create firmware images for the AP81/PB42/PB44 boards
SVN-Revision: 19011
2010-01-02 16:30:52 +00:00
Gabor Juhos acf09aa0a8 ar71xx: simplify image generation a bit
SVN-Revision: 19010
2010-01-02 16:30:49 +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 8516d4ca64 ar71xx: refresh patches
SVN-Revision: 18983
2010-01-01 11:11:39 +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 af228d9eab ar71xx: change firmware image name for th TP-Link boards
SVN-Revision: 18895
2009-12-22 19:36:07 +00:00
Gabor Juhos f8767b177d ar71xx: add ath9k and hostapd-mini for the TL-WR741ND profile
SVN-Revision: 18894
2009-12-22 19:36:03 +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 ce6136a61c ar71xx: add dsa driver for the 88e6063 chip
SVN-Revision: 18892
2009-12-22 19:31:19 +00:00
Gabor Juhos bb9123ebbe ar71xx: update AR7240 PCI code
SVN-Revision: 18860
2009-12-20 13:46:23 +00:00
Gabor Juhos 0a46ab2f97 ar71xx: fix WNDR3700 firmware images
WNDR3700's U-Boot loads the kernel from a squashfs image, and it does
not support squashfs 4.0.

SVN-Revision: 18851
2009-12-19 18:10:41 +00:00
Nicolas Thill 775ab67b6b ar71xx: fix WNDR3700 image generation
SVN-Revision: 18849
2009-12-19 14:45:43 +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
Felix Fietkau 6a90a35f2b 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.
SVN-Revision: 18789
2009-12-15 22:37:54 +00:00
Gabor Juhos 8bc4e3ea14 ar71xx: enable diagnostic LED on the Routerstation Pro
SVN-Revision: 18782
2009-12-15 08:35:11 +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
Gabor Juhos 5e209e3852 ar71xx: fix build error with 2.6.31.7
SVN-Revision: 18756
2009-12-11 20:32:25 +00:00
Gabor Juhos 8956009fa6 ar71xx: fix NULL pointer dereference in the ethernet driver
SVN-Revision: 18755
2009-12-11 19:32:58 +00:00
Gabor Juhos 1156a9ac0c ar71xx: merge DSA switch patch
SVN-Revision: 18752
2009-12-11 16:41:51 +00:00
Gabor Juhos 18885b425c ar71xx: merge ag71xx specific patches
SVN-Revision: 18751
2009-12-11 16:41:40 +00:00
Gabor Juhos fce3ebbff8 ar71xx: nuke 2.6.28 support
SVN-Revision: 18750
2009-12-11 15:56:38 +00:00
Gabor Juhos d38fd20cb7 ar71xx: move mdio_bus reset code
SVN-Revision: 18749
2009-12-11 12:21:15 +00:00
Gabor Juhos e35c8c6dc5 ar71xx: sync kernel configs
SVN-Revision: 18711
2009-12-09 08:03:35 +00:00
Gabor Juhos 2b988fa855 ar71xx: register rtl8366-smi device on the DIR-825 B1 board
SVN-Revision: 18710
2009-12-09 08:03:31 +00:00
Felix Fietkau 2bff4bf4e5 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
SVN-Revision: 18709
2009-12-09 03:25:33 +00:00
Jo-Philipp Wich e0042b55ea fix default network config after r18699
SVN-Revision: 18708
2009-12-08 22:22:16 +00:00
Felix Fietkau ddc2e2270b ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
SVN-Revision: 18699
2009-12-08 14:06:18 +00:00
Gabor Juhos 7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos b12d752a63 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>

SVN-Revision: 18696
2009-12-08 12:46:25 +00:00
Gabor Juhos 63d8f159db ar71xx: register rtl8366_smi device on the WNDR3700
SVN-Revision: 18695
2009-12-08 10:29:37 +00:00
Gabor Juhos cc1b9a6046 ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
2009-12-08 10:29:35 +00:00
Gabor Juhos 5c7ee7f039 ar71xx: refresh patches
SVN-Revision: 18693
2009-12-08 10:29:30 +00:00
Gabor Juhos 18867965f7 ar71xx: add support for external mii_bus
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos 0e79007faf ar71xx: move phy_connect call to ag71xx_open
SVN-Revision: 18691
2009-12-08 10:29:19 +00:00
Gabor Juhos 9bb13d59d9 ar71xx: experimental 2.6.32 support
SVN-Revision: 18638
2009-12-04 20:27:03 +00:00
Florian Fainelli a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00