Gabor Juhos
88d8cdd503
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29710
13 years ago
Gabor Juhos
e1b7995aef
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
SVN-Revision: 29709
13 years ago
Gabor Juhos
67444c7795
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
SVN-Revision: 29708
13 years ago
Gabor Juhos
0f566a376c
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29707
13 years ago
Gabor Juhos
09a6e3f662
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
SVN-Revision: 29706
13 years ago
Gabor Juhos
714a9bd641
ar71xx: ar71xx_wdt: add shutdown handler
...
SVN-Revision: 29705
13 years ago
Gabor Juhos
8eb0b7ab3d
ar71xx: fix sections mismatch warnings in the nand drivers
...
SVN-Revision: 29667
13 years ago
Gabor Juhos
8c2482f76e
ar71xx: ag71xx: implement get_port_{link,stats} callbacks
...
SVN-Revision: 29626
13 years ago
Felix Fietkau
db0a1db257
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547 )
...
SVN-Revision: 29598
13 years ago
Gabor Juhos
36bc2c2c80
ar71xx: ag71xx: fix switch port setup for AR934X
...
SVN-Revision: 29554
13 years ago
Gabor Juhos
00667c3846
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
...
SVN-Revision: 29553
13 years ago
Gabor Juhos
0540970345
ar71xx: ag71xx: setup switch interface mode on AR934X
...
SVN-Revision: 29552
13 years ago
Gabor Juhos
44014110b8
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
...
SVN-Revision: 29551
13 years ago
Gabor Juhos
9ae65588d8
ar71xx: introduce ar71xx_switch_data
...
SVN-Revision: 29549
13 years ago
Gabor Juhos
850be54b72
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
SVN-Revision: 29543
13 years ago
Gabor Juhos
b7d7481b07
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
SVN-Revision: 29541
13 years ago
Gabor Juhos
0655552860
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
SVN-Revision: 29540
13 years ago
Gabor Juhos
204fc6bed5
ar71xx: ag71xx: nuke ar7240sw_init
...
SVN-Revision: 29539
13 years ago
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
13 years ago
Gabor Juhos
514b1167c9
ar71xx: add mtd partition parser for the TP-Link boards
...
SVN-Revision: 29415
13 years ago
Gabor Juhos
aa0c8c4885
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
SVN-Revision: 29123
13 years ago
Gabor Juhos
62a7795afd
ar71xx: merge nand scan patch
...
SVN-Revision: 29122
13 years ago
Gabor Juhos
d2316b2a45
ar71xx: ag71xx: add support for getting switch port link status
...
SVN-Revision: 29017
13 years ago
Gabor Juhos
34015ed6e8
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
SVN-Revision: 29015
13 years ago
Gabor Juhos
2d882cff23
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
SVN-Revision: 29014
13 years ago
Gabor Juhos
538a9493b9
ar71xx: set MII interface speed from the set_speed callbacks
...
SVN-Revision: 29013
13 years ago
Gabor Juhos
93cd46be13
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
SVN-Revision: 29012
13 years ago
Gabor Juhos
9579bb4267
ar71xx: ag71xx: remove MII interface setup code
...
SVN-Revision: 29011
13 years ago
Gabor Juhos
2f9e535e89
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
SVN-Revision: 28977
13 years ago
Felix Fietkau
7a2efd8c28
ar71xx: remove dead code
...
SVN-Revision: 28851
13 years ago
Felix Fietkau
94309039b7
ar71xx: on ar7240, exclude ports from their own port vlan destination mask
...
SVN-Revision: 28850
13 years ago
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
13 years ago
Felix Fietkau
1bdf65f580
ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
...
SVN-Revision: 28213
13 years ago
Felix Fietkau
12c84f8eeb
ar71xx: add some code to detect DMA stuck conditions on ar7240
...
SVN-Revision: 27975
13 years ago
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
14 years ago
Felix Fietkau
ca473833c4
ar71xx: configure address aging on ar7240
...
SVN-Revision: 27704
14 years ago
Felix Fietkau
fefc79f3cb
ar71xx: reset the phy in the ethernet init on ar724x
...
SVN-Revision: 27703
14 years ago
Felix Fietkau
005fe5d1fd
ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
...
SVN-Revision: 27702
14 years ago
Felix Fietkau
e7ab000008
ar71xx: increase the delay after the ethernet MAC reset
...
SVN-Revision: 27701
14 years ago
Felix Fietkau
255dcaa3a6
ar71xx: fix an unused variable warning
...
SVN-Revision: 27700
14 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
14 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
14 years ago
Gabor Juhos
d98476c6bd
ar71xx: merge 2.6.39 patches
...
Also remove the old UART driver for ar933x.
SVN-Revision: 27314
14 years ago
Gabor Juhos
6627574e57
ar71xx: add 2.6.39 support
...
SVN-Revision: 27310
14 years ago
Gabor Juhos
e6af77a1c8
ar71xx: cleanup AR933X UART driver
...
SVN-Revision: 27222
14 years ago
Gabor Juhos
b7e016ba42
ar71xx: use ar933x_uart.h in the AR933X serial driver
...
SVN-Revision: 27166
14 years ago