Commit Graph

763 Commits (8fcdb09e1f3fa270c1d7542931c8ceb082397509)

Author SHA1 Message Date
Gabor Juhos 346e44105a ar71xx: register the first ethernet interface on the DB120 board
SVN-Revision: 28979
2011-11-12 10:54:18 +00:00
Gabor Juhos b1ba5e2f3d ar71xx: allow to register ethernet interfaces for AR934X
SVN-Revision: 28978
2011-11-12 10:54:17 +00:00
Gabor Juhos 2f9e535e89 ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
SVN-Revision: 28977
2011-11-12 10:54:16 +00:00
Gabor Juhos e962b07c8b ar71xx: add AR934X specific bootstrap and reset register bits
SVN-Revision: 28976
2011-11-12 10:54:15 +00:00
Gabor Juhos d8db8e94c8 ar71xx: fix GPIO direction setup for AR934x
SVN-Revision: 28974
2011-11-12 10:54:09 +00:00
Gabor Juhos 43e993e5f5 ar71xx: fix AR934X clock frequency calculation
SVN-Revision: 28973
2011-11-12 10:54:08 +00:00
Felix Fietkau 7a2efd8c28 ar71xx: remove dead code
SVN-Revision: 28851
2011-11-08 00:33:20 +00:00
Felix Fietkau 94309039b7 ar71xx: on ar7240, exclude ports from their own port vlan destination mask
SVN-Revision: 28850
2011-11-08 00:33:15 +00:00
Gabor Juhos a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos 4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos 4aace1e2e3 ar71xx: fix WHR-HP-G300N MTD partitions
SVN-Revision: 28800
2011-11-07 12:59:03 +00:00
Gabor Juhos 4c985724af ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
SVN-Revision: 28709
2011-11-01 14:38:12 +00:00
Gabor Juhos 91f08d47c2 ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos 21e651c9a1 ar71xx: add AR933X GMAC register defines
SVN-Revision: 28705
2011-11-01 11:20:50 +00:00
Gabor Juhos f372620ffa ar71xx: unify LED names on Planex boards
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos 66ab406d5a ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos e7586959df ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos 1646346798 ar71xx: add initial support for the OpenMesh OM2P board
Based on a patch by Marek Lindner <marek@open-mesh.com>

SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos d02f22fea1 ar71xx/all0258n: fix partition layout
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28615
2011-10-27 07:54:47 +00:00
Gabor Juhos 9d51cda2db ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Gabor Juhos d96e321bd1 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Jonas Gorski a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Jonas Gorski c674c874b7 ag71xx: close a race between the phy state machine and link state
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.

Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.

SVN-Revision: 28380
2011-10-08 11:37:14 +00:00
Gabor Juhos 6ac4156136 ar71xx: fix MAC addresses on the DIR-825-B1 board
Patch-by: Lukas Kuna

SVN-Revision: 28295
2011-09-23 19:56:39 +00:00
Gabor Juhos 733399600f ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Gabor Juhos d3617ac7d3 ar71xx: add AR933x specific USB setup function
SVN-Revision: 28276
2011-09-21 11:47:51 +00:00
Gabor Juhos 91340d8af7 ar71xx: add ar71xx_device_reset_rmw helper
SVN-Revision: 28275
2011-09-21 11:47:50 +00:00
Gabor Juhos 079e746fc4 ar71xx: remove 'default [yn]' from machine Kconfig entries
SVN-Revision: 28273
2011-09-21 11:47:47 +00:00
Gabor Juhos 73dac07c44 ar71xx: sort AR71XX_MACH_* entries
SVN-Revision: 28272
2011-09-21 11:47:45 +00:00
Felix Fietkau 1bdf65f580 ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
SVN-Revision: 28213
2011-09-11 17:44:12 +00:00
Felix Fietkau 65d809ef19 ar71xx: do not count normal interrupts as spurious (fixes #10037)
SVN-Revision: 28182
2011-09-06 05:38:23 +00:00
Felix Fietkau cd2c68501c ar71xx: fix ethernet PLL setting on ar7242
SVN-Revision: 28124
2011-08-29 21:23:46 +00:00
Felix Fietkau 12c84f8eeb ar71xx: add some code to detect DMA stuck conditions on ar7240
SVN-Revision: 27975
2011-08-13 22:30:14 +00:00
Felix Fietkau 85ccc74e1b ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
SVN-Revision: 27973
2011-08-13 21:49:46 +00:00
Felix Fietkau d26bb6c59c ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout (fixes #9922)
SVN-Revision: 27959
2011-08-11 13:52:40 +00:00
Felix Fietkau 4b75394056 ar71xx: fix ethernet FIFO state corruption on ar7240
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

SVN-Revision: 27896
2011-08-04 17:36:31 +00:00
Felix Fietkau d2aeca6b6d ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

SVN-Revision: 27895
2011-08-04 17:36:27 +00:00
Felix Fietkau 500c3a1475 ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
2011-08-04 17:36:23 +00:00
Jonas Gorski e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Felix Fietkau 9e4113b493 ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau 1afe8a0726 rtl8366: unify rtl8366s and rtl8366rb platform data
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Felix Fietkau 9105dad418 ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Felix Fietkau c7173a211d ar71xx: reinitialize global switch settings after reset on ar7240
SVN-Revision: 27705
2011-07-20 14:39:47 +00:00
Felix Fietkau ca473833c4 ar71xx: configure address aging on ar7240
SVN-Revision: 27704
2011-07-20 14:39:42 +00:00
Felix Fietkau fefc79f3cb ar71xx: reset the phy in the ethernet init on ar724x
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Felix Fietkau 005fe5d1fd ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
SVN-Revision: 27702
2011-07-20 12:04:29 +00:00
Felix Fietkau e7ab000008 ar71xx: increase the delay after the ethernet MAC reset
SVN-Revision: 27701
2011-07-20 12:04:25 +00:00
Felix Fietkau 255dcaa3a6 ar71xx: fix an unused variable warning
SVN-Revision: 27700
2011-07-20 12:04:20 +00:00
Felix Fietkau f3d693c0ee ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
SVN-Revision: 27568
2011-07-09 06:30:13 +00:00
Felix Fietkau 2806c75c07 ag71xx: keep the rx engine stopped while the link is not up, should hopefully fix stability issues from #9405
SVN-Revision: 27567
2011-07-09 06:29:46 +00:00
Gabor Juhos f9e4619b97 ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
The config option has been removed in 2.6.39.

SVN-Revision: 27320
2011-06-30 12:15:33 +00:00
Gabor Juhos d98476c6bd ar71xx: merge 2.6.39 patches
Also remove the old UART driver for ar933x.

SVN-Revision: 27314
2011-06-29 08:57:37 +00:00
Gabor Juhos 6627574e57 ar71xx: add 2.6.39 support
SVN-Revision: 27310
2011-06-29 08:57:32 +00:00
Gabor Juhos 1e138098cd ar71xx: remove ar71xx_gpio_irq_set_type
SVN-Revision: 27309
2011-06-29 08:57:30 +00:00
Gabor Juhos 055e317ed8 ar71xx: add separate handlers for IP3 interrupts
SVN-Revision: 27308
2011-06-29 08:57:29 +00:00
Gabor Juhos 59bff8bf18 ar71xx: use separate handlers for IP2 interrupts
SVN-Revision: 27307
2011-06-29 08:57:28 +00:00
Gabor Juhos 9d6af600e1 ar71xx: remove useless irq_desc.status initializations
SVN-Revision: 27306
2011-06-29 08:57:27 +00:00
Felix Fietkau ed7f41792a ar71xx: bring up secondary radio on wzr-hp-ag300h (fixes #9608)
SVN-Revision: 27282
2011-06-25 13:48:47 +00:00
Gabor Juhos e6af77a1c8 ar71xx: cleanup AR933X UART driver
SVN-Revision: 27222
2011-06-19 13:17:51 +00:00
Gabor Juhos 066e04d497 ar71xx: fix uart clock frequency for AR933X
SVN-Revision: 27221
2011-06-19 13:17:50 +00:00
Gabor Juhos b7e016ba42 ar71xx: use ar933x_uart.h in the AR933X serial driver
SVN-Revision: 27166
2011-06-13 08:12:40 +00:00
Gabor Juhos b58ede16a5 ar71xx: update early_printk code
SVN-Revision: 27165
2011-06-13 08:12:38 +00:00
Gabor Juhos 13363d9129 ar71xx: setup wdt_clock for AR913X to avoid a kernel bug
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27102
2011-06-04 12:30:10 +00:00
Gabor Juhos ae2cbfa1e8 ar71xx: select the internal antenna by default on the ZCN-1523H boards
SVN-Revision: 27101
2011-06-04 12:30:09 +00:00
Felix Fietkau 31dd60689e Revert "ar71xx: only enable the rx engine after the link is up..."
It messes up the DMA state when the link goes down

SVN-Revision: 27088
2011-06-01 18:15:43 +00:00
Gabor Juhos 750af1522b ar71xx: init external_reset for AR933X
SVN-Revision: 27083
2011-06-01 13:12:30 +00:00
Gabor Juhos af4cae4498 ar71xx: add external_reset field to ath9k_platform_data
SVN-Revision: 27082
2011-06-01 13:12:28 +00:00
Gabor Juhos f0c7b93e5d ar71xx: init get_mac_revision on AR9330 rev 1
SVN-Revision: 27081
2011-06-01 13:12:27 +00:00
Gabor Juhos 1a54e33c17 ar71xx: add get_mac_revision to ath9k_platform_data
SVN-Revision: 27080
2011-06-01 13:12:26 +00:00
Gabor Juhos 34ff32a6eb ar71xx: export SoC revision
SVN-Revision: 27079
2011-06-01 13:12:24 +00:00
Felix Fietkau 4f06b8263a ar71xx: add kernel support for the buffalo wzr-hp-ag300h
SVN-Revision: 27075
2011-06-01 02:23:26 +00:00
Gabor Juhos f332dbd7be ar71xx: add support for the AP121/AP121-MINI reference boards
SVN-Revision: 27067
2011-05-31 22:53:43 +00:00
Gabor Juhos 8beff081eb ar71xx: register UART for the AR933X SoCs
SVN-Revision: 27066
2011-05-31 22:53:42 +00:00
Gabor Juhos b460bc6f12 ar71xx: add serial driver for the AR933X UART
SVN-Revision: 27065
2011-05-31 22:53:40 +00:00
Gabor Juhos c34e0cbc4c ar71xx: add WMAC initialization code for the AR933X SoCs
SVN-Revision: 27064
2011-05-31 22:53:39 +00:00
Gabor Juhos e8a0aaf9a2 ar71xx: add ethernet initialization for the AR933X SoCs
SVN-Revision: 27063
2011-05-31 22:53:37 +00:00
Gabor Juhos e0a0f3796a ar71xx: enable USB support for the AR933x SoCs
SVN-Revision: 27062
2011-05-31 22:53:36 +00:00
Gabor Juhos 677c80ee17 ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
SVN-Revision: 27061
2011-05-31 22:53:35 +00:00
Gabor Juhos 88c45e3130 ar71xx: the watchdog uses the reference clock on the AR933x SoCs
SVN-Revision: 27060
2011-05-31 22:53:34 +00:00
Gabor Juhos 7acbacab8c ar71xx: add AR933x specific glue code for IRQ initialization
SVN-Revision: 27059
2011-05-31 22:53:32 +00:00
Gabor Juhos e6fde61bec ar71xx: don't register 8250 UART on the AR933x SoCs
SVN-Revision: 27058
2011-05-31 22:53:31 +00:00
Gabor Juhos 8f7541a044 ar71xx: enable GPIO support for the AR933x SoCs
SVN-Revision: 27057
2011-05-31 22:53:30 +00:00
Gabor Juhos e11b9c8371 ar71xx: add AR933x specific frequency initialization code
SVN-Revision: 27056
2011-05-31 22:53:29 +00:00
Gabor Juhos 0bf4478d37 ar71xx: add AR933x specific early_printk support
SVN-Revision: 27055
2011-05-31 22:53:27 +00:00
Gabor Juhos 6b3ca9ef0b ar71xx: add preliminary support for the Atheros AR933x SoCs
SVN-Revision: 27054
2011-05-31 22:53:26 +00:00
Gabor Juhos 0677e16248 ar71xx: Fix header offset for newer WRT160NL models
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27049
2011-05-31 22:53:20 +00:00
Gabor Juhos be97e2a043 ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
SVN-Revision: 27048
2011-05-31 22:53:19 +00:00
Gabor Juhos 5d5f72415e ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
SVN-Revision: 27045
2011-05-31 22:53:15 +00:00
Gabor Juhos f7b3c3dfd1 ar71xx: sync ath9k_platform_data.h with compat-wireless
SVN-Revision: 27044
2011-05-31 22:53:14 +00:00
Gabor Juhos 60d5abbc27 ar71xx: ag71xx: make ring sizes configurable via ethtool
SVN-Revision: 27041
2011-05-31 22:53:10 +00:00
Gabor Juhos 7a2651f633 ar71xx: ag71xx: prepare to make ring sizes configurable
SVN-Revision: 27040
2011-05-31 22:53:09 +00:00
Gabor Juhos 669aba3871 ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Reported-by: Dave Täht <dave.taht@gmail.com>

SVN-Revision: 27039
2011-05-31 22:53:07 +00:00
Felix Fietkau 2b5402d128 ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
SVN-Revision: 27035
2011-05-30 23:08:01 +00:00
Felix Fietkau 0ebc93831f ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
SVN-Revision: 27034
2011-05-30 23:07:57 +00:00
Matteo Croce 17e257925f ar71xx: don't probe the LAN PHY
SVN-Revision: 26924
2011-05-17 11:15:24 +00:00
Matteo Croce 4deecea26b ar71xx: detect link on LAN ports
SVN-Revision: 26922
2011-05-17 11:12:56 +00:00
Matteo Croce 2ea528d1d0 ar71xx: add link detection on Ubiquiti devices WAN port
SVN-Revision: 26891
2011-05-14 23:31:50 +00:00
Matteo Croce c0c2e18452 use correct macros and frame size in ag71xx
SVN-Revision: 26890
2011-05-14 23:10:06 +00:00
Matteo Croce 99d1d4f795 ar71xx: cosmetic fixes
SVN-Revision: 26889
2011-05-14 23:08:00 +00:00
Gabor Juhos 9b5036a29d ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos 869f3cb718 ar71xx: remove superfluous fifo_cfg overrides
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
Gabor Juhos 5d77f370d6 ar71xx: ag71xx: make switch register access atomic
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.

This is easily noticable during an iperf session:

...
[  3] 52.0-53.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 53.0-54.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[  3] 54.0-55.0 sec  6.75 MBytes  56.6 Mbits/sec
[  3] 55.0-56.0 sec  0.00 Bytes  0.00 bits/sec
[  3] 56.0-57.0 sec  10.5 MBytes  88.1 Mbits/sec
...
[  3] 169.0-170.0 sec  11.4 MBytes  95.4 Mbits/sec
[  3] 170.0-171.0 sec  11.4 MBytes  95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[  3] 171.0-172.0 sec  7.63 MBytes  64.0 Mbits/sec
[  3] 172.0-173.0 sec  9.38 MBytes  78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[  3] 173.0-174.0 sec  11.3 MBytes  94.4 Mbits/sec
[  3] 174.0-175.0 sec  11.4 MBytes  95.4 Mbits/sec

SVN-Revision: 26856
2011-05-08 16:32:53 +00:00
Gabor Juhos 3711658281 ar71xx: ag71xx: fix section mismatch warnings
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.

The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.

SVN-Revision: 26855
2011-05-08 13:30:36 +00:00
Gabor Juhos ef53029870 ar71xx: ag71xx: fix build error if debugfs is enabled
SVN-Revision: 26854
2011-05-08 13:30:26 +00:00
Gabor Juhos 8b67d748cb ar71xx: ag71xx: add debugfs entry for [rt]x_ring
SVN-Revision: 26845
2011-05-07 12:40:34 +00:00
Gabor Juhos 2166432ba0 ar71xx: ag71xx: add timestamps to ag71xx_buf
SVN-Revision: 26844
2011-05-07 12:40:28 +00:00
Gabor Juhos 896e1d1ab4 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
SVN-Revision: 26843
2011-05-07 12:40:26 +00:00
Gabor Juhos a6708d20d1 ar71xx: ag71xx: use debugfs_remove_recursive
SVN-Revision: 26842
2011-05-07 12:40:25 +00:00
Gabor Juhos c39e5b9360 ar71xx: override wmac device name for the AR934x SoCs
SVN-Revision: 26840
2011-05-07 09:23:32 +00:00
Felix Fietkau cbc75a9c70 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Felix Fietkau 36aecb08b8 ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
SVN-Revision: 26777
2011-04-28 19:30:49 +00:00
Gabor Juhos fa9f45f345 ar71xx: fix build error w/o CONFIG_PCI
SVN-Revision: 26606
2011-04-12 13:14:56 +00:00
Gabor Juhos e193547733 ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
Gabor Juhos 54ede24829 ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Gabor Juhos ef4c1d49a6 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
SVN-Revision: 26595
2011-04-11 17:37:08 +00:00
Gabor Juhos 4711dea8ff ar71xx: fix AR934X_WMAC_SIZE
SVN-Revision: 26594
2011-04-11 17:37:03 +00:00
Gabor Juhos 8586e61b00 ar71xx: fix section mismatch
SVN-Revision: 26562
2011-04-09 18:47:55 +00:00
Gabor Juhos a8bf5e3cdb ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
Also initialize that for each SoC and print its value along with the
other frequencies.

SVN-Revision: 26561
2011-04-09 18:47:52 +00:00
Gabor Juhos 5573d6eb28 ar71xx: show the SoC type earlier
SVN-Revision: 26560
2011-04-09 18:47:50 +00:00
Gabor Juhos ab4c3b3a1c ar71xx: cleanup SoC detection code
SVN-Revision: 26559
2011-04-09 18:47:49 +00:00
Gabor Juhos 3310c70702 ar71xx: Fix mac address offset for AR934x
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26557
2011-04-09 18:47:42 +00:00
Gabor Juhos 8f889f9250 ar71xx: add DB120 board specific PCI initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26523
2011-04-07 20:53:41 +00:00
Gabor Juhos a0c3d49064 ar71xx: register WMAC device on the DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26522
2011-04-07 20:53:37 +00:00
Gabor Juhos 428888faec ar71xx: add support for the built-in WMAC of the AR934x
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26521
2011-04-07 20:53:34 +00:00
Gabor Juhos 14b42c44ec ar71xx: add initial support for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26518
2011-04-07 20:53:19 +00:00
Gabor Juhos 2b064bb398 ar71xx: add support for the watchdog of the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26516
2011-04-07 20:53:10 +00:00
Gabor Juhos e4555809c7 ar71xx: enable PCI for the AR934[24] SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26515
2011-04-07 20:53:05 +00:00
Gabor Juhos 4f395745af ar71xx: enable USB support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26514
2011-04-07 20:53:03 +00:00
Gabor Juhos 25693b4769 ar71xx: enable GPIO support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26513
2011-04-07 20:53:00 +00:00
Gabor Juhos 334a5ec36e ar71xx: add AR934x specific glue for ar7100_device{start,stop}
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26512
2011-04-07 20:52:57 +00:00
Gabor Juhos ccd3ebd309 ar71xx: add AR934x specific UART clock initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26511
2011-04-07 20:52:53 +00:00
Gabor Juhos 91470edada ar71xx: add AR934x specific glue for IRQ initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26510
2011-04-07 20:52:49 +00:00
Gabor Juhos 3b209880bc ar71xx: add initial support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26509
2011-04-07 20:52:45 +00:00
Felix Fietkau 98c78c13db ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
SVN-Revision: 26394
2011-04-02 00:47:33 +00:00
Felix Fietkau 41ee4a283c ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus behind the switch instead
SVN-Revision: 26393
2011-04-02 00:47:29 +00:00
Felix Fietkau acbb3e50e7 ar71xx: frequent ethernet mac resets upset the MDIO bus on ar7240, so do not run them on every device open, only on tx timeouts
SVN-Revision: 26392
2011-04-02 00:47:25 +00:00
Gabor Juhos 8eb616de82 ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26119
2011-03-13 15:08:31 +00:00
Felix Fietkau 5bddd70a37 Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
SVN-Revision: 25854
2011-03-03 16:21:23 +00:00
Felix Fietkau 57a14f4e15 ar71xx: add missing gpio_set_debounce function
SVN-Revision: 25848
2011-03-03 10:33:35 +00:00
Gabor Juhos 256169cbd0 ar71xx: add rtl8366s initvals for the DIR-825 board
SVN-Revision: 25121
2011-01-26 20:35:47 +00:00
Gabor Juhos 67c3e0bf7e ar71xx: add support for the WNDR3700v2 board
Based on a patch by Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25118
2011-01-26 20:35:42 +00:00
Jo-Philipp Wich 18ed5bca9b fix null pointer access in mach-dir-600-a1.c machine setup (#8671)
SVN-Revision: 25043
2011-01-18 18:04:50 +00:00
Gabor Juhos b67bbfe287 ar71xx: fix wlan LED on the TL-WR741 board
* Patch from #8630

SVN-Revision: 24963
2011-01-11 08:20:47 +00:00
Gabor Juhos dd53effe15 ar71xx: fix wrong names of the WPS LED/button
Reported-by: Nuno Gonçalves

SVN-Revision: 24961
2011-01-10 18:15:47 +00:00
Gabor Juhos 23a6173099 ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
SVN-Revision: 24944
2011-01-09 09:29:45 +00:00
Gabor Juhos 0de8689b70 ar71xx: use spinlock in ar71xx_device_{start,stop}
SVN-Revision: 24929
2011-01-08 11:28:32 +00:00
Felix Fietkau 6acfae9379 ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes broadcast frames on the second ethernet MAC
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24723
2010-12-19 11:56:42 +00:00
Gabor Juhos cafe08a1b2 ar71xx: remove stray semicolons
SVN-Revision: 24651
2010-12-17 17:57:20 +00:00
Gabor Juhos 01c76bf128 ar71xx: fix WLAN LEDs on the DIR-825 board
SVN-Revision: 24650
2010-12-17 17:10:21 +00:00
Gabor Juhos c1d3a23d19 ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
SVN-Revision: 24649
2010-12-17 17:10:19 +00:00