Commit graph

581 commits

Author SHA1 Message Date
Gabor Juhos
f792c3647e ar71xx: fix wireless mac address on the TL-WR741ND
SVN-Revision: 19751
2010-02-19 11:52:39 +00:00
Gabor Juhos
ccbfcba859 ar71xx: move AP91 specific ethernet initialization into a separate file
SVN-Revision: 19750
2010-02-19 11:52:36 +00:00
Gabor Juhos
da5cacba76 ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

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

SVN-Revision: 19743
2010-02-19 11:52:15 +00:00
Gabor Juhos
0017e832cc ar71xx: fix WLAN mac address on the TL-WR1043ND
SVN-Revision: 19573
2010-02-10 20:01:20 +00:00
Gabor Juhos
0cbc5f678d ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
SVN-Revision: 19565
2010-02-09 16:27:35 +00:00
Gabor Juhos
c747902042 ar71xx: add missing fields to the ar71xx-ehci driver
SVN-Revision: 19534
2010-02-06 17:00:16 +00:00
Gabor Juhos
49c4df5487 rtl8366: make it available on all platforms
SVN-Revision: 19329
2010-01-25 15:13:38 +00:00
Gabor Juhos
97b983c8b9 rtl8366s: simplify mib counters handling
SVN-Revision: 19326
2010-01-25 14:24:53 +00:00
Gabor Juhos
20df2bf825 ar71xx: merge generic machine code into setup.c
SVN-Revision: 19325
2010-01-25 14:24:48 +00:00
Gabor Juhos
2b5ba9073f rtl8366_smi: move RTL8366S driver into a separate file
SVN-Revision: 19279
2010-01-22 17:38:07 +00:00
Gabor Juhos
46b0e6643a rtl8366_smi: rename rtl8366s specific functions and definitions
SVN-Revision: 19278
2010-01-22 17:37:58 +00:00
Gabor Juhos
08055fd6d1 rtl8366_smi: move chip specific stuff into its own struct
SVN-Revision: 19277
2010-01-22 17:37:53 +00:00
Gabor Juhos
de751af190 rtl8366_smi: separate gpio initialization
SVN-Revision: 19276
2010-01-22 17:37:50 +00:00
Gabor Juhos
a1247d2f83 rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct
SVN-Revision: 19275
2010-01-22 17:37:47 +00:00
Gabor Juhos
ab278275ee rtl8366_smi: store device pointer instead of plaform_device
SVN-Revision: 19274
2010-01-22 17:37:41 +00:00
Gabor Juhos
edfa82ab60 rtl8366_smi: rename switch attribute handlers
SVN-Revision: 19254
2010-01-21 12:13:43 +00:00
Gabor Juhos
7aefde9f66 rtl8366_smi: simplify rtl8366_attr_get_port_link function
SVN-Revision: 19250
2010-01-20 20:36:30 +00:00
Gabor Juhos
83fb9f73e1 rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
SVN-Revision: 19249
2010-01-20 20:36:27 +00:00
Gabor Juhos
cad07a09c1 rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions
SVN-Revision: 19248
2010-01-20 20:36:24 +00:00
Gabor Juhos
50849c6cff rtl8366_smi: minor code optimalizations
SVN-Revision: 19247
2010-01-20 20:36:21 +00:00
Gabor Juhos
3e6b3ea088 rtl8366_smi: coding style cleanup
SVN-Revision: 19246
2010-01-20 17:40:39 +00:00
Gabor Juhos
5e5451a54d rtl8366_smi: add Kconfig option for the debugfs stuff
SVN-Revision: 19243
2010-01-20 09:30:36 +00:00
Gabor Juhos
0d48b043b1 rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
SVN-Revision: 19242
2010-01-20 09:30:32 +00:00
Gabor Juhos
0296b24f80 rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
SVN-Revision: 19241
2010-01-20 09:30:25 +00:00
Gabor Juhos
743e7617b0 rtl8366_smi: fix return codes in rtl8366s_reset_vlan
SVN-Revision: 19240
2010-01-20 07:06:18 +00:00
Gabor Juhos
43815d730b rtl8366_smi: move variable initialization out from the loop
SVN-Revision: 19239
2010-01-20 07:06:15 +00:00
Gabor Juhos
fbc389ae9d rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
SVN-Revision: 19237
2010-01-20 07:06:10 +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
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
3789aa82ac ar71xx: fix phy interface selection for the RB-450G
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865

SVN-Revision: 19185
2010-01-17 14:33:26 +00:00
Gabor Juhos
e02f1581d0 Fix Routerboard 411ar on board wireless
This patch adds the appropriate interrupt for slot 0 pin 1 of the Routerboard 411ar (RB411 with on board Atheros wireless).

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

SVN-Revision: 19184
2010-01-17 14:33:23 +00:00
Gabor Juhos
cb80426641 ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
SVN-Revision: 19150
2010-01-15 12:08:03 +00:00
Gabor Juhos
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
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
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
953ff0cf43 ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
SVN-Revision: 18988
2010-01-01 19:40:04 +00:00
Gabor Juhos
f8b7b8ee41 ar71xx: update mips multi-machine stuff
SVN-Revision: 18985
2010-01-01 11:28:19 +00:00
Gabor Juhos
1a32a435f4 ar71xx: select AR71XX_NVRAM for the WRT160NL
SVN-Revision: 18984
2010-01-01 11:11:43 +00:00
Gabor Juhos
9649acf7c6 ar71xx: fix wireless mac address on the WRT160NL
SVN-Revision: 18976
2009-12-31 12:42:53 +00:00
Gabor Juhos
858ea76117 ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
SVN-Revision: 18951
2009-12-27 20:59:54 +00:00
Gabor Juhos
86a8480788 ar71xx: pass eeprom and mac address location to the ar913x_add_device_wmac function
SVN-Revision: 18950
2009-12-27 20:59:50 +00:00
Gabor Juhos
828221c683 ar71xx: remove duplicated include
SVN-Revision: 18949
2009-12-27 20:59:46 +00:00
Gabor Juhos
761e67f9ff ar71xx: move dsa switch device support into a separate file
SVN-Revision: 18943
2009-12-26 14:19:26 +00:00
Gabor Juhos
bea984e187 ar71xx: move mach type definitions into a separate include file
SVN-Revision: 18942
2009-12-26 14:19:22 +00:00
Gabor Juhos
b7ee264d5f ar71xx: change board specific Kconfig option to 'default n'
SVN-Revision: 18941
2009-12-26 14:19:17 +00:00
Gabor Juhos
6ee4aa34ed ar71xx: move USB host device support into a separate file
SVN-Revision: 18940
2009-12-26 14:19:13 +00:00
Gabor Juhos
a93033d354 ar71xx: remove more unnecessary includes
SVN-Revision: 18939
2009-12-26 14:19:08 +00:00
Gabor Juhos
991a8d4398 ar71xx: use the generic m25p80 registration code for the MZK-W04NU
SVN-Revision: 18938
2009-12-26 14:19:05 +00:00
Gabor Juhos
c0993046d6 ar71xx: move gpio-buttons support into a spearate file
SVN-Revision: 18937
2009-12-26 14:19:01 +00:00
Gabor Juhos
3687b4fb26 ar71xx: move leds-gpio device support into a spearate file
SVN-Revision: 18936
2009-12-26 14:18:54 +00:00
Gabor Juhos
eb15b88af2 ar71xx: move PB42 specific PCI init code into a separate file
SVN-Revision: 18932
2009-12-25 13:09:04 +00:00
Gabor Juhos
7cf529c357 ar71xx: remove unnecessary includes
SVN-Revision: 18931
2009-12-25 13:09:00 +00:00
Gabor Juhos
40219e9bf4 ar71xx: fix bi-color led on the TL-WR841N v1.5
SVN-Revision: 18926
2009-12-25 10:06:25 +00:00
Gabor Juhos
cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Gabor Juhos
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
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
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
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
d38fd20cb7 ar71xx: move mdio_bus reset code
SVN-Revision: 18749
2009-12-11 12:21:15 +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
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
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
f065bbdf7f ar71xx: DIR-825 support cleanup
SVN-Revision: 18622
2009-12-03 15:07:41 +00:00
Gabor Juhos
e4d21e0399 ar71xx: add support for the D-Link DIR-825 rev. B1 board (thanks to ValXdater)
SVN-Revision: 18621
2009-12-03 15:07:34 +00:00
Gabor Juhos
8a7e19e7db ar71xx: change mii_bus name
SVN-Revision: 18619
2009-12-03 14:17:12 +00:00
Gabor Juhos
35dbf66787 ar71xx: override fifo_cfg[123] values on AR7240
SVN-Revision: 18614
2009-11-30 13:53:39 +00:00
Felix Fietkau
cb85dcb1a8 ar71xx: mask out reserved bits from the dma tx status in the ethernet driver
SVN-Revision: 18599
2009-11-29 13:38:03 +00:00
Felix Fietkau
896090973f ar71xx: add usb support for ubnt rocket m
SVN-Revision: 18598
2009-11-29 13:33:15 +00:00
Gabor Juhos
cfe5a8b593 ar71xx: fix mac address for 5GHz interface on WNDR3700
SVN-Revision: 18586
2009-11-28 18:01:09 +00:00
Gabor Juhos
0fd020c268 ar71xx: update ath9k_platform.h
SVN-Revision: 18585
2009-11-28 18:01:06 +00:00
Gabor Juhos
971fcf9943 ar71xx: add PCI fixup for the WNDR3700 board
SVN-Revision: 18565
2009-11-27 21:21:21 +00:00
Gabor Juhos
f662714bba ar71xx: fix pll_1000 values for the WNDR3700
SVN-Revision: 18564
2009-11-27 21:21:17 +00:00
Gabor Juhos
5e89cb5d31 ar71xx: add AR724x GPIO_FUNC register bit defines
SVN-Revision: 18561
2009-11-27 21:21:06 +00:00
Gabor Juhos
b1e79f5d0f ar71xx: fix AR724X_GPIO_COUNT
SVN-Revision: 18560
2009-11-27 21:21:01 +00:00
Gabor Juhos
42d014bce4 ar71xx: add AR724x register defines
SVN-Revision: 18559
2009-11-27 21:20:54 +00:00
Felix Fietkau
0c687044b2 ar71xx: use a separate board id for rocket m
SVN-Revision: 18450
2009-11-18 18:10:33 +00:00
Matteo Croce
8bb3f7cbe5 ar71xx: add Ubiquiti Rocket M and Nanostation M support
SVN-Revision: 18447
2009-11-18 17:05:42 +00:00
Gabor Juhos
b7692e73c6 ar71xx: setup platform data for ath9k on the TL-WR741ND, Bullet M and on the WNDR3700 boards
SVN-Revision: 18437
2009-11-16 17:31:32 +00:00
Gabor Juhos
a12a03de8d ar71xx: register LEDs and buttons on the WNDR3700
Thanks to aorlinks (https://forum.openwrt.org/viewtopic.php?pid=97415#p97415)

SVN-Revision: 18435
2009-11-16 17:31:25 +00:00
Gabor Juhos
2f5d0b63d4 ar71xx: use __init for ar{71,91}xx_usb_setup
SVN-Revision: 18434
2009-11-16 17:31:22 +00:00
Gabor Juhos
5ab66428b0 ar71xx: add preliminary support for the Netgear WNDR3700
Based on patches by Marco Porsch from:
https://forum.openwrt.org/viewtopic.php?id=22311

SVN-Revision: 18411
2009-11-13 17:11:29 +00:00
Gabor Juhos
21fc9ffe63 ar71xx: use soc specific divider for mdio clock
SVN-Revision: 18225
2009-10-30 12:26:22 +00:00
Gabor Juhos
f336f8748c ar71xx: update mdio_reset code
SVN-Revision: 18224
2009-10-30 12:26:17 +00:00
Gabor Juhos
891a351b39 ar71xx: Compex WPJ543 board is supported as well
SVN-Revision: 18100
2009-10-20 12:59:42 +00:00
Gabor Juhos
053e9ab067 ar71xx: fix PCI IRQ map of the WP543
SVN-Revision: 18099
2009-10-20 12:59:39 +00:00
Gabor Juhos
b1cd54b6b9 ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
SVN-Revision: 18072
2009-10-19 08:07:32 +00:00
Gabor Juhos
ebaa6a2fab ar71xx: reset the ethernet device before registration
SVN-Revision: 18071
2009-10-19 08:07:29 +00:00
Gabor Juhos
399aeeed70 ar71xx: initialize PCI controller on the Bullet M
SVN-Revision: 17812
2009-10-01 19:41:11 +00:00
Gabor Juhos
d2c055526c ar71xx: init ethernet mac address on the Bullet M
SVN-Revision: 17811
2009-10-01 19:41:08 +00:00
Gabor Juhos
fa59c65847 ar71xx: register GPIO button on the Bullet M
SVN-Revision: 17809
2009-10-01 19:41:03 +00:00
Gabor Juhos
5aae65b58c ar71xx: add PCI Host Controller fixup for ar724x
SVN-Revision: 17808
2009-10-01 19:41:00 +00:00
Gabor Juhos
0757fee42d ar71xx: use ar71xx_pci_fixup on ar71xx SoCs only
SVN-Revision: 17807
2009-10-01 19:40:57 +00:00
Gabor Juhos
2e09669095 ar71xx: fix a typo in the ar724x PCI code
SVN-Revision: 17806
2009-10-01 19:40:51 +00:00
Gabor Juhos
8458d7c73b ar71xx: flush mii register writes
SVN-Revision: 17695
2009-09-23 17:44:08 +00:00
Gabor Juhos
0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
2009-09-23 17:44:02 +00:00
Gabor Juhos
6ed55b43d7 ar71xx: remove some extern directives in the ag71xx driver
SVN-Revision: 17692
2009-09-23 17:43:57 +00:00
Matteo Croce
41ab4d3021 ar71xx: preliminary Ubiquiti Bullet M support
SVN-Revision: 17586
2009-09-15 09:16:21 +00:00
Gabor Juhos
967cc718f8 ar71xx: rewrite prom code (based on a patch by Jeff Hansen)
SVN-Revision: 17566
2009-09-10 18:30:12 +00:00
Gabor Juhos
376fba2698 ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
SVN-Revision: 17543
2009-09-08 19:16:15 +00:00
Gabor Juhos
582b8ba168 move early_printk stuff into a separate file
SVN-Revision: 17403
2009-08-26 07:31:04 +00:00
Gabor Juhos
4c8aa29833 remove AR71XX_EARLY_SERIAL stuff
SVN-Revision: 17400
2009-08-25 17:13:12 +00:00
Gabor Juhos
dd48a43550 WRT160NL: add default trigger for the power led
SVN-Revision: 17203
2009-08-09 14:13:26 +00:00
Gabor Juhos
214f39d46d WRT160NL: more mtd parser cleanup
SVN-Revision: 17201
2009-08-09 12:56:06 +00:00
Gabor Juhos
c202ef57b1 WRT160NL: mtd parser cleanup
SVN-Revision: 17177
2009-08-08 13:06:28 +00:00
Gabor Juhos
8f854e27c8 move the trx parser out from the patch
SVN-Revision: 17176
2009-08-08 12:08:41 +00:00
Gabor Juhos
0c2142d309 WRT160NL: register GPIO LEDs and buttons
SVN-Revision: 17166
2009-08-07 17:33:02 +00:00
Gabor Juhos
c23ddf2d27 update ar71xx_spi driver
SVN-Revision: 17143
2009-08-06 10:56:48 +00:00
Gabor Juhos
66f839ac67 oops, add missing semicolons
SVN-Revision: 17142
2009-08-06 09:42:29 +00:00
Gabor Juhos
e632633c5d get rid of some ifdefs in the IRQ code
SVN-Revision: 17141
2009-08-06 09:32:15 +00:00
Gabor Juhos
116576b3ba fix MISC IRQ handling on the AR7240
SVN-Revision: 17098
2009-08-02 13:27:43 +00:00
Gabor Juhos
5ab3bcc27f add ethernet suppor for the WRT160NL (thanks to Christian Daniel)
SVN-Revision: 17057
2009-07-31 07:01:26 +00:00
Gabor Juhos
bbab2a48b4 ag71xx driver: rename ag71xx_debug module parameter
SVN-Revision: 16833
2009-07-13 17:45:25 +00:00
Gabor Juhos
d99dcbca9f ag71xx driver: fix a typo
SVN-Revision: 16827
2009-07-13 12:20:02 +00:00
Gabor Juhos
a579511dbf ag71xx driver: align descriptors on cache_line boundary
SVN-Revision: 16825
2009-07-13 11:40:10 +00:00
Gabor Juhos
82a084680a ag71xx driver: store descriptor pointers in ag71xx_buf
SVN-Revision: 16824
2009-07-13 11:38:37 +00:00
Gabor Juhos
b1f5f1d3b0 ag71xx driver: descriptors always aligned on 4 byte boundary
SVN-Revision: 16818
2009-07-12 16:04:28 +00:00
Gabor Juhos
10357fc180 ag71xx driver: don't flush ddr on tx path
SVN-Revision: 16817
2009-07-12 16:02:27 +00:00
Gabor Juhos
a21bf40453 increase size of the kernel partition on the TL-WR[789]41N boards
SVN-Revision: 16785
2009-07-11 17:20:46 +00:00
Gabor Juhos
abd419a7df increase size of the kernel partition on the TEW-632BR board
SVN-Revision: 16784
2009-07-11 17:15:30 +00:00
Gabor Juhos
2dc230d260 register the VSC7395 device on the PB44 board
SVN-Revision: 16783
2009-07-11 16:27:54 +00:00
Gabor Juhos
eced3f210e add SPI controller driver for the PB44 board
SVN-Revision: 16781
2009-07-11 15:55:55 +00:00
Gabor Juhos
218298becf use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
2009-07-11 14:59:31 +00:00
Gabor Juhos
292775eb34 add definitions for some magic values in the spi_vsc7385 driver
SVN-Revision: 16779
2009-07-11 14:56:54 +00:00
Gabor Juhos
6b033e9bec fix a bug in the SPI driver (closes #5485)
SVN-Revision: 16767
2009-07-10 19:29:58 +00:00
Gabor Juhos
a38d9256a7 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
SVN-Revision: 16754
2009-07-09 19:46:41 +00:00
Gabor Juhos
b8a97ca5c5 register a GPIO LEDs and buttons on the PB44 board
SVN-Revision: 16748
2009-07-09 06:58:38 +00:00
Gabor Juhos
eca1b1ac07 register a I2C GPIO expander on the PB44 board
SVN-Revision: 16747
2009-07-09 06:57:44 +00:00
Gabor Juhos
2614fcb2f3 add initial support for the TL-WR741ND board
SVN-Revision: 16739
2009-07-07 19:20:10 +00:00
Gabor Juhos
a6e3c605bc add AR7240 specific fixes for the ag71xx driver
SVN-Revision: 16737
2009-07-07 18:06:02 +00:00
Gabor Juhos
f04fcfd801 make irq_chip definitions static
SVN-Revision: 16736
2009-07-07 18:04:26 +00:00
Gabor Juhos
3b47053fb3 AR7240 requires different IRQ unmasking code
SVN-Revision: 16734
2009-07-07 13:57:57 +00:00
Gabor Juhos
c38e7aa7b2 add missing break statement
SVN-Revision: 16701
2009-07-05 18:02:12 +00:00
Gabor Juhos
600958b416 add missing includes
SVN-Revision: 16676
2009-07-05 08:40:23 +00:00
Gabor Juhos
54038e0540 add AR7240 specific PCI code
SVN-Revision: 16674
2009-07-05 08:06:24 +00:00
Gabor Juhos
1e84d049a4 fix a typo in the PCI code
SVN-Revision: 16673
2009-07-05 08:02:23 +00:00
Gabor Juhos
089b5ccb47 reorganize PCI code
SVN-Revision: 16672
2009-07-05 07:53:07 +00:00
Gabor Juhos
d55e5fb153 fix AR7240 PCI IRQ support
SVN-Revision: 16669
2009-07-04 05:18:37 +00:00
Gabor Juhos
0fd8d0fad8 fix a bitmask in the ag71xx driver
SVN-Revision: 16658
2009-07-02 17:23:11 +00:00
Gabor Juhos
d97b12f8b7 fix ar71xx_device_{start,stop} functions on the AR7240 SoC
SVN-Revision: 16648
2009-07-01 19:41:00 +00:00
Gabor Juhos
17c84f1db9 initialize GPIO for the AR7240 SoC
SVN-Revision: 16647
2009-07-01 19:38:26 +00:00
Gabor Juhos
c524244c08 initialize IRQs for the AR7240 SoC
SVN-Revision: 16646
2009-07-01 19:37:03 +00:00
Gabor Juhos
eb3ff716c1 add AR7240 specific frequency detection
SVN-Revision: 16645
2009-07-01 19:34:59 +00:00
Gabor Juhos
18d7edb82e add AR7240 specific definitions
SVN-Revision: 16644
2009-07-01 19:32:48 +00:00
Gabor Juhos
0f1b173e9b fix a typo in ath9k_platform.h
SVN-Revision: 16643
2009-07-01 19:28:44 +00:00
Gabor Juhos
d9259b25bf increase NR_IRQS
SVN-Revision: 16623
2009-06-29 20:01:22 +00:00
Gabor Juhos
161fe2c40c fix PCI_CORE irq number
SVN-Revision: 16622
2009-06-29 19:58:36 +00:00
Gabor Juhos
5899460ebf use enum for the machine type
SVN-Revision: 16588
2009-06-27 20:20:05 +00:00
Gabor Juhos
8094a7062f add AR913x specific GPIO function bit definitions
SVN-Revision: 16583
2009-06-27 16:57:45 +00:00
Gabor Juhos
c94dcb755e setup mac address on the WNR2000
SVN-Revision: 16450
2009-06-14 11:38:26 +00:00
Gabor Juhos
5d21be0e31 move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
SVN-Revision: 16417
2009-06-11 08:07:14 +00:00
Gabor Juhos
31c9a411eb flush more register writings
SVN-Revision: 16415
2009-06-11 07:18:05 +00:00
Gabor Juhos
3de6b54859 flush AR71XX_RESET_PCI_INT_ENABLE register after writing
SVN-Revision: 16372
2009-06-07 18:23:39 +00:00
Gabor Juhos
0c4b6a0b07 setup mac address on the AP81 board
SVN-Revision: 16366
2009-06-06 19:03:30 +00:00
Gabor Juhos
67ace05bfe update flash locking code
SVN-Revision: 16359
2009-06-06 15:56:03 +00:00
Gabor Juhos
9668bbeea9 handle PCI_CORE interrupt as well
SVN-Revision: 16358
2009-06-06 13:48:36 +00:00
Gabor Juhos
ab19bea631 change flash partition map of the AP83 board
SVN-Revision: 16356
2009-06-06 09:57:37 +00:00
Gabor Juhos
ba08043ce4 add parallel flash driver
SVN-Revision: 16353
2009-06-06 08:41:47 +00:00
Gabor Juhos
e72be9e83b fix a typo
SVN-Revision: 16348
2009-06-05 19:29:41 +00:00
Gabor Juhos
45d8b93d06 create a 'firmware' partition for MZK-W300NH board
SVN-Revision: 16347
2009-06-05 15:31:33 +00:00
Gabor Juhos
f3c3e2772f improve MZK-W300NH support (thanks to Kazuki Shimada for the board)
SVN-Revision: 16340
2009-06-04 18:18:36 +00:00
Gabor Juhos
74dfd77f41 pass ucode name to the VSC7385 driver on the AP83 board
SVN-Revision: 16326
2009-06-04 07:56:49 +00:00
Gabor Juhos
08bd604941 add SPI driver for the Vitesse VSC7385 switch
SVN-Revision: 16324
2009-06-04 07:51:29 +00:00
Gabor Juhos
782cd2cf27 add experimental support for the AP83-040 board
SVN-Revision: 16316
2009-06-03 19:54:25 +00:00
Gabor Juhos
0755481965 add another SPI controller driver for the earlier AP83 boards
SVN-Revision: 16315
2009-06-03 19:50:04 +00:00
Gabor Juhos
b0acbe709c add flash locking code
SVN-Revision: 16311
2009-06-03 18:17:07 +00:00
Gabor Juhos
f84d0d2ae0 register parallel flash device on the AP83 board
SVN-Revision: 16232
2009-05-31 12:37:40 +00:00
Gabor Juhos
c2c496868e add support for board specific PLL settings
SVN-Revision: 16133
2009-05-28 13:00:08 +00:00
Gabor Juhos
cbe2c48249 register SPI bus on the AP83 board
SVN-Revision: 16115
2009-05-27 17:16:19 +00:00
Gabor Juhos
f6e6a733f5 add preliminary support for the WRT160NL
SVN-Revision: 16068
2009-05-25 18:36:49 +00:00
Gabor Juhos
db1d746463 update board setup code of the RouterStation Pro (patch by Ubiquiti Networks)
SVN-Revision: 16065
2009-05-25 17:31:05 +00:00
Gabor Juhos
220751e8ab fix typos in the PB42 support code
SVN-Revision: 15963
2009-05-21 18:22:01 +00:00
Gabor Juhos
7807c1a29f add experimental support for the Atheros PB44 board
SVN-Revision: 15928
2009-05-20 08:23:48 +00:00
Gabor Juhos
2e7a1d95f7 reorder mtd partitions on the WRT400N
SVN-Revision: 15829
2009-05-13 20:12:07 +00:00
Gabor Juhos
9ecc257d2f create image for the WRT400N board (thanks to netprince)
SVN-Revision: 15828
2009-05-13 20:00:42 +00:00
Gabor Juhos
fb48fbba16 remove extern directives
SVN-Revision: 15735
2009-05-09 05:57:56 +00:00
Gabor Juhos
15f0a64dda increase AR71XX_MEM_SIZE_MAX (thanks to Leo Galambos for reporting)
SVN-Revision: 15734
2009-05-09 05:39:12 +00:00
Gabor Juhos
ed861cf5e9 use dev_name() instead of bus_id in ag71xx, ohci-ar71xx, ehci-ar71xx drivers
SVN-Revision: 15629
2009-05-05 19:21:39 +00:00
Gabor Juhos
432136fba6 select ar8216 support for the WRT400N (thanks to netprince)
SVN-Revision: 15427
2009-04-26 18:47:41 +00:00
Gabor Juhos
aab2d9371b add experimental support for the Linksys WRT400N board (thanks to netprince)
SVN-Revision: 15422
2009-04-26 06:40:02 +00:00
Gabor Juhos
6931d43546 enable the synopsys woarkaround in the ehci-ar71xx driver
SVN-Revision: 15349
2009-04-23 12:25:49 +00:00
Gabor Juhos
d17716e16f ap81: register GPIO LEDs
SVN-Revision: 14931
2009-03-17 19:59:33 +00:00
Gabor Juhos
d63a050292 ap81: register SPI flash, and add default MTD partitions
SVN-Revision: 14924
2009-03-17 18:48:00 +00:00
Gabor Juhos
ed3b6e558e ap81: register GPIO buttons
SVN-Revision: 14923
2009-03-17 18:34:11 +00:00
Gabor Juhos
64958577a7 ap81: register USB host controller
SVN-Revision: 14922
2009-03-17 18:14:55 +00:00
Gabor Juhos
ef537a68da ap81: register ethernet devices, and add default network configuration file
SVN-Revision: 14921
2009-03-17 18:07:16 +00:00
Gabor Juhos
066052eddf ap83: remove unnecessary include
SVN-Revision: 14920
2009-03-17 18:02:50 +00:00
Gabor Juhos
beb47c57af preliminary support for the Atheros AP81 refrence board
SVN-Revision: 14888
2009-03-15 14:30:08 +00:00
Gabor Juhos
9b59499893 pb42: add GPIO buttons
SVN-Revision: 14877
2009-03-14 19:28:28 +00:00
Gabor Juhos
fa36af494f pb42: fix ethernet, remove USB registration, add default network configuration
SVN-Revision: 14876
2009-03-14 18:28:33 +00:00
Gabor Juhos
83f6f853e9 ls-sr71: add GPIO LEDs
SVN-Revision: 14873
2009-03-14 12:53:31 +00:00
Gabor Juhos
a31a173aec simplify setup code for Ubiquiti boards
SVN-Revision: 14872
2009-03-14 12:24:11 +00:00
Gabor Juhos
1d5f4b3687 tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
SVN-Revision: 14709
2009-03-01 11:17:16 +00:00
Gabor Juhos
91984cff19 aw-nr580: add GPIO LEDs
SVN-Revision: 14687
2009-02-27 18:32:04 +00:00
Gabor Juhos
23636366dc aw-nr580: add support for the PCI slot
SVN-Revision: 14686
2009-02-27 17:06:29 +00:00
Gabor Juhos
5842bd91b6 aw-nr580: add support for the LAN ports
SVN-Revision: 14685
2009-02-27 16:34:09 +00:00
Gabor Juhos
38f75ef671 aw-nr580: add GPIO buttons
SVN-Revision: 14682
2009-02-27 15:45:29 +00:00
Gabor Juhos
df2c881e14 move 'ar71xx_add_device_usb' definition into devices.h
SVN-Revision: 14680
2009-02-27 10:09:20 +00:00
Gabor Juhos
47dc8c615a TL-WR941ND: update flash partition map
SVN-Revision: 14673
2009-02-26 17:01:05 +00:00
Gabor Juhos
53b833a6c4 preliminary support for the Ubiquiti RouterStation Pro
SVN-Revision: 14666
2009-02-26 07:39:30 +00:00
Andy Boyett
1adf135943 wnr2000: enable ar8216 workaround, add network config. LAN ports now work
SVN-Revision: 14663
2009-02-26 05:54:32 +00:00
Andy Boyett
0b44a56a36 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

SVN-Revision: 14661
2009-02-26 01:22:57 +00:00
Andy Boyett
ec0f53cb37 wnr2000: buttons and blinkenlights!
SVN-Revision: 14660
2009-02-26 01:20:27 +00:00
Gabor Juhos
2242545e56 ag71xx driver: forgot to add a new file
SVN-Revision: 14657
2009-02-25 17:52:14 +00:00
Gabor Juhos
8e0e4cb3d8 mzk-w04nu: enable the ar8216 chip workaround, and add a default network configuration file
SVN-Revision: 14656
2009-02-25 16:48:56 +00:00
Gabor Juhos
0e8a23d053 ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
SVN-Revision: 14655
2009-02-25 16:47:11 +00:00
Gabor Juhos
60c561f016 remove duplicated includes
SVN-Revision: 14638
2009-02-23 11:34:05 +00:00
Gabor Juhos
77b57258af TL-WR941ND: add DSA device for the Marvell 88E6060 switch
SVN-Revision: 14637
2009-02-23 10:43:23 +00:00
Gabor Juhos
f7cf3b2a68 move device registration function prototypes into a separate header file
SVN-Revision: 14635
2009-02-23 08:50:00 +00:00
Gabor Juhos
46cf4434b6 rename platform.c to devices.c
SVN-Revision: 14634
2009-02-23 08:21:05 +00:00
Gabor Juhos
1afc3a7bd5 enable TL-WR941ND in kernel config
SVN-Revision: 14633
2009-02-23 08:01:31 +00:00
Gabor Juhos
a34753cacd tl-wr941nd: register ethernet device, and fix machine id
SVN-Revision: 14632
2009-02-23 07:58:44 +00:00
Gabor Juhos
db0a4e48f9 micrel phy driver: change initcall level if compiled into the kernel
SVN-Revision: 14628
2009-02-22 20:52:12 +00:00
Gabor Juhos
8e4fbc7399 preliminary support for the TL-WR941ND
SVN-Revision: 14627
2009-02-22 20:49:06 +00:00
Gabor Juhos
507e6e4140 add an alias board name for the Ubiquiti RouterStation
SVN-Revision: 14563
2009-02-19 07:39:50 +00:00
Gabor Juhos
357ed07a84 add a workaround for fixing the bad performance of the Ubiquiti RouterStation/LS-SR71 boards, until they fix their bootloader.
SVN-Revision: 14556
2009-02-18 19:58:43 +00:00