Commit Graph

366 Commits (7eeb254cc49c4e9f837c980826ec112b9404f341)

Author SHA1 Message Date
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
13 years ago
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
13 years ago
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
13 years ago
Felix Fietkau 500c3a1475 ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
13 years ago
Felix Fietkau c7173a211d ar71xx: reinitialize global switch settings after reset on ar7240
SVN-Revision: 27705
13 years ago
Felix Fietkau ca473833c4 ar71xx: configure address aging on ar7240
SVN-Revision: 27704
13 years ago
Felix Fietkau fefc79f3cb ar71xx: reset the phy in the ethernet init on ar724x
SVN-Revision: 27703
13 years ago
Felix Fietkau 005fe5d1fd ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
SVN-Revision: 27702
13 years ago
Felix Fietkau e7ab000008 ar71xx: increase the delay after the ethernet MAC reset
SVN-Revision: 27701
13 years ago
Felix Fietkau 255dcaa3a6 ar71xx: fix an unused variable warning
SVN-Revision: 27700
13 years ago
Felix Fietkau f3d693c0ee ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
SVN-Revision: 27568
13 years ago
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
13 years ago
Gabor Juhos d98476c6bd ar71xx: merge 2.6.39 patches
Also remove the old UART driver for ar933x.

SVN-Revision: 27314
13 years ago
Gabor Juhos 6627574e57 ar71xx: add 2.6.39 support
SVN-Revision: 27310
13 years ago
Gabor Juhos e6af77a1c8 ar71xx: cleanup AR933X UART driver
SVN-Revision: 27222
13 years ago
Gabor Juhos b7e016ba42 ar71xx: use ar933x_uart.h in the AR933X serial driver
SVN-Revision: 27166
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos b460bc6f12 ar71xx: add serial driver for the AR933X UART
SVN-Revision: 27065
13 years ago
Gabor Juhos 88c45e3130 ar71xx: the watchdog uses the reference clock on the AR933x SoCs
SVN-Revision: 27060
13 years ago
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
13 years ago
Gabor Juhos 60d5abbc27 ar71xx: ag71xx: make ring sizes configurable via ethtool
SVN-Revision: 27041
13 years ago
Gabor Juhos 7a2651f633 ar71xx: ag71xx: prepare to make ring sizes configurable
SVN-Revision: 27040
13 years ago
Gabor Juhos 669aba3871 ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Reported-by: Dave Täht <dave.taht@gmail.com>

SVN-Revision: 27039
13 years ago
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
13 years ago
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
13 years ago
Matteo Croce 4deecea26b ar71xx: detect link on LAN ports
SVN-Revision: 26922
13 years ago
Matteo Croce c0c2e18452 use correct macros and frame size in ag71xx
SVN-Revision: 26890
13 years ago
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
13 years ago
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
13 years ago
Gabor Juhos ef53029870 ar71xx: ag71xx: fix build error if debugfs is enabled
SVN-Revision: 26854
13 years ago
Gabor Juhos 8b67d748cb ar71xx: ag71xx: add debugfs entry for [rt]x_ring
SVN-Revision: 26845
13 years ago
Gabor Juhos 2166432ba0 ar71xx: ag71xx: add timestamps to ag71xx_buf
SVN-Revision: 26844
13 years ago
Gabor Juhos 896e1d1ab4 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
SVN-Revision: 26843
13 years ago
Gabor Juhos a6708d20d1 ar71xx: ag71xx: use debugfs_remove_recursive
SVN-Revision: 26842
13 years ago
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
13 years ago
Gabor Juhos 2b064bb398 ar71xx: add support for the watchdog of the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26516
13 years ago
Felix Fietkau 41ee4a283c ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus behind the switch instead
SVN-Revision: 26393
13 years ago
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
13 years ago
Gabor Juhos 23a6173099 ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
SVN-Revision: 24944
14 years ago
Gabor Juhos 920a34c0ce ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23983
14 years ago
Gabor Juhos 3106aea40b ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23982
14 years ago
Gabor Juhos 30ef7d55fc ar71xx: use pr_* functions in drivers
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23981
14 years ago
Gabor Juhos fddf3b8dac ar71xx: drivers/rb4xx_nand: remove C++ comment usage
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23980
14 years ago
Gabor Juhos f4d5c885e4 ar71xx: return statements does not need parenthesis
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23979
14 years ago
Gabor Juhos e244e1c7cd ar71xx: fix inline attribute location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23978
14 years ago
Gabor Juhos acd8ad4de5 ar71xx: wrap long lines
(build errors has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23977
14 years ago
Gabor Juhos 500fac1735 ar71xx: fix whitespaces nits
(build error has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23975
14 years ago
Felix Fietkau 6656450c6d ar71xx: fix more section mismatches
SVN-Revision: 23575
14 years ago
Felix Fietkau 8858d90afe ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
SVN-Revision: 23574
14 years ago
Felix Fietkau b61a804bf7 ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
SVN-Revision: 23293
14 years ago
Gabor Juhos 47f8fd1dde ar71xx: rewrite SPI drivers for the RB4xx boards
* add a new SPI controller driver
  * add SPI driver for the CPLD chip
  * convert the NAND driver
  * enable the mikroSD slot
  * enable more LEDs

SVN-Revision: 22863
14 years ago
Felix Fietkau 523fcf0497 ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
SVN-Revision: 22675
14 years ago
Felix Fietkau a27ea45e76 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
SVN-Revision: 22075
14 years ago
Felix Fietkau 15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
14 years ago
Felix Fietkau 89da22d1ea ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
SVN-Revision: 22054
14 years ago
Gabor Juhos 5a28fb88a4 ar71xx: fix leds-rb750 build failure on 2.6.34
SVN-Revision: 22016
14 years ago
Gabor Juhos 6ce447427c ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
SVN-Revision: 21736
14 years ago
Gabor Juhos 90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
14 years ago
Felix Fietkau 7966004d99 ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason (fixes #7236)
SVN-Revision: 21166
14 years ago
Felix Fietkau 1c0e751391 ar71xx: fix up alignment handling
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary

tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers

SVN-Revision: 20892
14 years ago
Gabor Juhos 4c29a2c263 ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org

SVN-Revision: 20751
14 years ago
Gabor Juhos 4a28844d80 ar71xx: ag71xx: call the phy driver's netif_receive_skb()
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.

This fixes the header mangling of the AR8216 driver.

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

SVN-Revision: 20750
14 years ago
Gabor Juhos c874513cfa ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024)
* cc: backfire@openwrt.org

SVN-Revision: 20673
14 years ago
Gabor Juhos 905f2d62f9 ar71xx: update image generation and trx header parsing for the WRT160NL
* patch by Bernhard Loos
 * note: trailing whitespaces has been removed

SVN-Revision: 20525
14 years ago
Gabor Juhos b7ca043240 ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
SVN-Revision: 20506
14 years ago
Gabor Juhos f9acf8ada1 ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
SVN-Revision: 20505
14 years ago
Gabor Juhos 200db5ebb5 ar71xx: ag71xx: reorganize ag71xx_rx_packet function
SVN-Revision: 20504
14 years ago
Gabor Juhos 245775a49f ar71xx: ag71xx: Add netpoll support
This patch adds support for polling interrupts, used by
netconsole and the likes.

Tested on d-link dir-615 C1 using netconsole.

Signed-off-by: Pat Erley <pat-lkml@erley.org>

SVN-Revision: 20503
14 years ago
Andy Boyett 681054333e wrt400n: lan ports don't need the ar8216 workaround
SVN-Revision: 20491
14 years ago
Gabor Juhos 9a1031ce6d ar71xx: change PHY select logic, and update phy_masks
SVN-Revision: 20358
14 years ago
Gabor Juhos 2a818f388a ar71xx: ag71xx: fix MAC address setup
SVN-Revision: 20092
14 years ago
Gabor Juhos d58a367083 ar71xx: add NAND driver for the RB750
SVN-Revision: 20054
14 years ago
Gabor Juhos 6600fab893 ar71xx: add LED driver for the RB750
SVN-Revision: 20051
14 years ago
Gabor Juhos 2702ae4e8f ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
SVN-Revision: 20004
14 years ago
Gabor Juhos a4bccded57 ar71xx: ag71xx: move link update function
SVN-Revision: 20003
14 years ago
Gabor Juhos eacf9a7614 ar71xx: ag71xx: don't use dev->trans_start
SVN-Revision: 20002
14 years ago
Gabor Juhos ba288eeb84 ar71xx: ag71xx: use dma_unmap_single to unmap frames
SVN-Revision: 20001
14 years ago
Gabor Juhos 0e4eaea770 ar71xx: ag71xx: use correct device pointer for dma_map_single
SVN-Revision: 19951
14 years ago
Gabor Juhos 84823e1477 ar71xx: ag71xx: don't use virt_to_phys
SVN-Revision: 19950
14 years ago
Gabor Juhos 4a987d6008 ar71xx: ag71xx: simplify register access functions
SVN-Revision: 19949
14 years ago
Gabor Juhos e157281c5d ar71xx: ag71xx: use NETDEV_TX_OK
SVN-Revision: 19948
14 years ago
Gabor Juhos 1612fd447d ar71xx: enable TX/RX flow control on the AR7240
SVN-Revision: 19832
15 years ago
Gabor Juhos c747902042 ar71xx: add missing fields to the ar71xx-ehci driver
SVN-Revision: 19534
15 years ago
Gabor Juhos 49c4df5487 rtl8366: make it available on all platforms
SVN-Revision: 19329
15 years ago
Gabor Juhos 97b983c8b9 rtl8366s: simplify mib counters handling
SVN-Revision: 19326
15 years ago
Gabor Juhos 2b5ba9073f rtl8366_smi: move RTL8366S driver into a separate file
SVN-Revision: 19279
15 years ago
Gabor Juhos 46b0e6643a rtl8366_smi: rename rtl8366s specific functions and definitions
SVN-Revision: 19278
15 years ago
Gabor Juhos 08055fd6d1 rtl8366_smi: move chip specific stuff into its own struct
SVN-Revision: 19277
15 years ago
Gabor Juhos de751af190 rtl8366_smi: separate gpio initialization
SVN-Revision: 19276
15 years ago
Gabor Juhos a1247d2f83 rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct
SVN-Revision: 19275
15 years ago
Gabor Juhos ab278275ee rtl8366_smi: store device pointer instead of plaform_device
SVN-Revision: 19274
15 years ago
Gabor Juhos edfa82ab60 rtl8366_smi: rename switch attribute handlers
SVN-Revision: 19254
15 years ago
Gabor Juhos 7aefde9f66 rtl8366_smi: simplify rtl8366_attr_get_port_link function
SVN-Revision: 19250
15 years ago
Gabor Juhos 83fb9f73e1 rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
SVN-Revision: 19249
15 years ago
Gabor Juhos cad07a09c1 rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions
SVN-Revision: 19248
15 years ago
Gabor Juhos 50849c6cff rtl8366_smi: minor code optimalizations
SVN-Revision: 19247
15 years ago
Gabor Juhos 3e6b3ea088 rtl8366_smi: coding style cleanup
SVN-Revision: 19246
15 years ago
Gabor Juhos 5e5451a54d rtl8366_smi: add Kconfig option for the debugfs stuff
SVN-Revision: 19243
15 years ago
Gabor Juhos 0d48b043b1 rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
SVN-Revision: 19242
15 years ago
Gabor Juhos 0296b24f80 rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
SVN-Revision: 19241
15 years ago
Gabor Juhos 743e7617b0 rtl8366_smi: fix return codes in rtl8366s_reset_vlan
SVN-Revision: 19240
15 years ago
Gabor Juhos 43815d730b rtl8366_smi: move variable initialization out from the loop
SVN-Revision: 19239
15 years ago
Gabor Juhos fbc389ae9d rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
SVN-Revision: 19237
15 years ago
Gabor Juhos c4838a0f9e rtl8366_smi: use inline function instead of a macro on top of container_of
SVN-Revision: 19215
15 years ago
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
15 years ago
Felix Fietkau b228fd428a rtl8366_smi: fix excessive stack usage and buffer handling bugs
SVN-Revision: 19205
15 years ago
Felix Fietkau 8394a32815 ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
15 years ago
Gabor Juhos d2229cb1cc rtl8366_smi: register the switch directly from the probe routine
SVN-Revision: 19202
15 years ago
Gabor Juhos 088ba7e1db rtl8366_smi: use vlanmc name for all vlanconfig variables
SVN-Revision: 19201
15 years ago
Gabor Juhos 639212697d rtl8366_smi: use vlan4k name for all vlan4kentry variables
SVN-Revision: 19200
15 years ago
Gabor Juhos 9cb11e2eef rtl8366_smi: move memset into the rtl8366s_get_member_config function
SVN-Revision: 19199
15 years ago
Gabor Juhos f55beb9e9b rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19198
15 years ago
Gabor Juhos 7f9b0eca90 rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19197
15 years ago
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
15 years ago
Gabor Juhos e92c0c7830 ar71xx: add GPIO driver for the NXP 74HC153 chip
SVN-Revision: 19149
15 years ago
Gabor Juhos d8ace8978a ar71xx: add NAPI statistics to the ag71xx driver
SVN-Revision: 19079
15 years ago
Jo-Philipp Wich d8bd549d71 fix typo after r19054
SVN-Revision: 19059
15 years ago
Gabor Juhos 51c76750fc ar71xx: add detailed interrupt statistics for the ag71xx driver
SVN-Revision: 19054
15 years ago
Gabor Juhos 46b572636b ar71xx: update Kconfig of the ag71xx driver
SVN-Revision: 19032
15 years ago
Gabor Juhos 63a320c8f7 ar71xx: add dummy debugfs support for the ag71xx driver
SVN-Revision: 19031
15 years ago
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
15 years ago
Gabor Juhos 4734a69891 ar71xx: add driver for the USB LED on the WNDR3700
SVN-Revision: 18758
15 years ago
Gabor Juhos 8956009fa6 ar71xx: fix NULL pointer dereference in the ethernet driver
SVN-Revision: 18755
15 years ago
Gabor Juhos 18885b425c ar71xx: merge ag71xx specific patches
SVN-Revision: 18751
15 years ago
Gabor Juhos d38fd20cb7 ar71xx: move mdio_bus reset code
SVN-Revision: 18749
15 years ago
Gabor Juhos cc1b9a6046 ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
15 years ago
Gabor Juhos 18867965f7 ar71xx: add support for external mii_bus
SVN-Revision: 18692
15 years ago
Gabor Juhos 0e79007faf ar71xx: move phy_connect call to ag71xx_open
SVN-Revision: 18691
15 years ago
Gabor Juhos 8a7e19e7db ar71xx: change mii_bus name
SVN-Revision: 18619
15 years ago
Gabor Juhos 35dbf66787 ar71xx: override fifo_cfg[123] values on AR7240
SVN-Revision: 18614
15 years ago
Felix Fietkau cb85dcb1a8 ar71xx: mask out reserved bits from the dma tx status in the ethernet driver
SVN-Revision: 18599
15 years ago
Gabor Juhos 21fc9ffe63 ar71xx: use soc specific divider for mdio clock
SVN-Revision: 18225
15 years ago
Gabor Juhos f336f8748c ar71xx: update mdio_reset code
SVN-Revision: 18224
15 years ago
Gabor Juhos 8458d7c73b ar71xx: flush mii register writes
SVN-Revision: 17695
15 years ago
Gabor Juhos 0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
15 years ago
Gabor Juhos 6ed55b43d7 ar71xx: remove some extern directives in the ag71xx driver
SVN-Revision: 17692
15 years ago
Gabor Juhos 214f39d46d WRT160NL: more mtd parser cleanup
SVN-Revision: 17201
15 years ago
Gabor Juhos c202ef57b1 WRT160NL: mtd parser cleanup
SVN-Revision: 17177
15 years ago
Gabor Juhos 8f854e27c8 move the trx parser out from the patch
SVN-Revision: 17176
15 years ago
Gabor Juhos c23ddf2d27 update ar71xx_spi driver
SVN-Revision: 17143
15 years ago
Gabor Juhos bbab2a48b4 ag71xx driver: rename ag71xx_debug module parameter
SVN-Revision: 16833
15 years ago
Gabor Juhos d99dcbca9f ag71xx driver: fix a typo
SVN-Revision: 16827
15 years ago
Gabor Juhos a579511dbf ag71xx driver: align descriptors on cache_line boundary
SVN-Revision: 16825
15 years ago
Gabor Juhos 82a084680a ag71xx driver: store descriptor pointers in ag71xx_buf
SVN-Revision: 16824
15 years ago
Gabor Juhos b1f5f1d3b0 ag71xx driver: descriptors always aligned on 4 byte boundary
SVN-Revision: 16818
15 years ago
Gabor Juhos 10357fc180 ag71xx driver: don't flush ddr on tx path
SVN-Revision: 16817
15 years ago
Gabor Juhos eced3f210e add SPI controller driver for the PB44 board
SVN-Revision: 16781
15 years ago
Gabor Juhos 218298becf use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
15 years ago
Gabor Juhos 292775eb34 add definitions for some magic values in the spi_vsc7385 driver
SVN-Revision: 16779
15 years ago
Gabor Juhos 6b033e9bec fix a bug in the SPI driver (closes #5485)
SVN-Revision: 16767
15 years ago
Gabor Juhos a6e3c605bc add AR7240 specific fixes for the ag71xx driver
SVN-Revision: 16737
15 years ago
Gabor Juhos 0fd8d0fad8 fix a bitmask in the ag71xx driver
SVN-Revision: 16658
15 years ago
Gabor Juhos 5d21be0e31 move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
SVN-Revision: 16417
15 years ago
Gabor Juhos 67ace05bfe update flash locking code
SVN-Revision: 16359
15 years ago
Gabor Juhos ba08043ce4 add parallel flash driver
SVN-Revision: 16353
15 years ago
Gabor Juhos 08bd604941 add SPI driver for the Vitesse VSC7385 switch
SVN-Revision: 16324
15 years ago
Gabor Juhos 0755481965 add another SPI controller driver for the earlier AP83 boards
SVN-Revision: 16315
15 years ago
Gabor Juhos c2c496868e add support for board specific PLL settings
SVN-Revision: 16133
15 years ago
Gabor Juhos ed861cf5e9 use dev_name() instead of bus_id in ag71xx, ohci-ar71xx, ehci-ar71xx drivers
SVN-Revision: 15629
15 years ago
Gabor Juhos 432136fba6 select ar8216 support for the WRT400N (thanks to netprince)
SVN-Revision: 15427
15 years ago
Gabor Juhos 6931d43546 enable the synopsys woarkaround in the ehci-ar71xx driver
SVN-Revision: 15349
15 years ago
Gabor Juhos 2242545e56 ag71xx driver: forgot to add a new file
SVN-Revision: 14657
16 years ago
Gabor Juhos 0e8a23d053 ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
SVN-Revision: 14655
16 years ago
Gabor Juhos db0a4e48f9 micrel phy driver: change initcall level if compiled into the kernel
SVN-Revision: 14628
16 years ago
Gabor Juhos df267a8e2e ag71xx driver: add Kconfig option for enabling debug messages
SVN-Revision: 14517
16 years ago
Gabor Juhos bc8dc1cdba ag71xx driver: apply 2.6.28 specific patches
SVN-Revision: 14515
16 years ago
Gabor Juhos e697d8c27f ag71xx driver: fix a kernel crash caused by r14496
SVN-Revision: 14504
16 years ago
Gabor Juhos 39628cdd5f ag71xx driver: fix return code of the napi poll routine, was broken since [13545] (patch by Ubiquiti Networks)
SVN-Revision: 14496
16 years ago
Gabor Juhos 4bcc027e97 ag71xx driver: update phy connecting code
SVN-Revision: 14495
16 years ago
Gabor Juhos 09e02ec5a7 remove netif schedule from the ag71xx driver
SVN-Revision: 14494
16 years ago
Gabor Juhos e746170640 pull ethernet mac out of reset before registering the mdio_bus
SVN-Revision: 14486
16 years ago
Gabor Juhos 6bea544949 move random MAC address generation into the platform initialization code
SVN-Revision: 14204
16 years ago
Gabor Juhos 5ea042a30d ag71xx driver: increase size of dma descriptors
SVN-Revision: 13561
16 years ago
Gabor Juhos 4b6e4d88a9 ag71xx driver: use same FIFO configuration for all SOC
SVN-Revision: 13560
16 years ago
Gabor Juhos 206ccdf4ae ag71xx driver: add OOM handler
SVN-Revision: 13545
16 years ago
Gabor Juhos 2a680498b3 ag71xx driver: don't refill rx buffers twice
SVN-Revision: 13544
16 years ago
Gabor Juhos d058a11ada ag71xx driver: interrupt status is masked by hw, don't mask it again
SVN-Revision: 13543
16 years ago
Gabor Juhos 9d5a38adad ag71xx driver: remove unused code
SVN-Revision: 13542
16 years ago
Gabor Juhos c33682316e ag71xx driver: NAPI poll cleanup
SVN-Revision: 13538
16 years ago
Gabor Juhos 398ff859da ag71xx driver: handle TX timout
SVN-Revision: 13537
16 years ago
Gabor Juhos d6382555f4 ag71xx driver: always use NAPI to transmit packets
SVN-Revision: 13529
16 years ago
Gabor Juhos fcbd66fef1 ag71xx driver: improve poll routine
SVN-Revision: 13525
16 years ago
Gabor Juhos a6be4564b7 ag71xx driver: always flush register writes
SVN-Revision: 13524
16 years ago
Gabor Juhos 9afbc8dd61 ag71xx driver: don't use dma_cache_wback_inv
SVN-Revision: 13523
16 years ago
Gabor Juhos 17cc4d671c ag71xx driver: don't use CHECKSUM_UNNECCESARY (closes #4161)
SVN-Revision: 13522
16 years ago
Gabor Juhos 05ea87a13f EHCI driver: add AR913x support
SVN-Revision: 13519
16 years ago
Gabor Juhos d5bbef37fe rename reset register definitions
SVN-Revision: 13516
16 years ago
Gabor Juhos fbe5c883a0 OHCI driver cleanup
SVN-Revision: 13508
16 years ago
Gabor Juhos b4e4fa4b89 create platform data for the EHCI driver
SVN-Revision: 13499
16 years ago
Gabor Juhos 4c98f47b14 ag71xx driver: minor cleanup
SVN-Revision: 13496
16 years ago
Gabor Juhos 19a57a7794 ag71xx driver: fix RX_STATUS_OF bitmask, and add DMA status register bit descriptions
SVN-Revision: 13463
16 years ago
Gabor Juhos 2d3a12991c ag71xx driver: add some debug stuff
SVN-Revision: 13462
16 years ago
Gabor Juhos 6d0181c4fb ag71xx driver: reset DMA registers in hardware initialization
SVN-Revision: 13459
16 years ago
Gabor Juhos a89b690fdc more ehci driver cleanup
SVN-Revision: 13454
16 years ago
Gabor Juhos 4e61cbbf5e ag71xx driver: fix a typo
SVN-Revision: 13445
16 years ago
Gabor Juhos 05184c7c38 ehci driver cleanup
SVN-Revision: 13441
16 years ago
Gabor Juhos cbc625ee70 ag71xx driver: clean up hardware initialization
SVN-Revision: 13395
16 years ago
Gabor Juhos f506e75eb0 ag71xx driver: add more register bit definitions
SVN-Revision: 13387
16 years ago
Gabor Juhos bd20af97c2 ag71xx driver: unregister MDIO bus in module exit
SVN-Revision: 13385
16 years ago