openwrt/target/linux
Felix Fietkau 6ce848f622 ar8216: decrease page switch wait time
Until a few years ago the page switch wait time was set to msleep(1)
what was changed to usleep_range(1000, 2000) later.

I can not imagine that a low-level operation like switching page
on register level takes so much time.
Most likely the value of 1ms was initially set to check whether
it fixes an issue and then remained w/o further checking whether
also a smaller value would be sufficient.

Now the wait time is set to 5us and I successfully tested this on
AR8327. IMHO 5us should be plenty of time for all supported chips.
However I couldn't test this due to missing hardware.

If other chips should need a longer wait time we can add the
wait time as a parameter to the ar8xxx_chip struct.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44103
2015-01-24 19:42:01 +00:00
..
adm5120 adm5120: add experimental 3.14 kernel support 2015-01-10 18:10:04 +00:00
adm8668
ar7
ar71xx ar71xx: add support for TP-LINK TL-WR843ND v1 2015-01-23 12:32:46 +00:00
arm64
at91
atheros
au1000
avr32
bcm53xx bcm53xx: backport official Buffalo WZR-900DHP patch 2015-01-21 07:23:31 +00:00
brcm47xx brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init) 2015-01-16 12:48:27 +00:00
brcm63xx
brcm2708 brcm2708: missing symbols caused a build fail 2015-01-17 19:10:40 +00:00
cns3xxx
cns21xx
cobalt
ep93xx
gemini gemini: add ata driver 2015-01-08 20:26:34 +00:00
generic ar8216: decrease page switch wait time 2015-01-24 19:42:01 +00:00
imx6 kernel: update 3.14 to 3.14.28 2015-01-11 01:28:32 +00:00
iop32x
ipq806x
ixp4xx
kirkwood kirkwood: enable switch on Linksys EA3500 2015-01-18 16:45:01 +00:00
lantiq lantiq: correct value for fpi clock on ar9 2015-01-23 12:32:28 +00:00
malta malta: copy initramfs images 2015-01-14 12:09:33 +00:00
mcs814x mcs814x: document how to include 3rd party binary packages 2015-01-21 23:55:11 +00:00
mpc52xx
mpc83xx
mpc85xx
mvebu mvebu: fixups for the new driver 2015-01-16 08:44:15 +00:00
mxs
netlogic
octeon
omap
omap24xx
orion
oxnas
ppc40x
ppc44x
pxa
ramips ramips: add support for Tenda 3G150B 2015-01-22 09:35:22 +00:00
rb532
realview
sibyte
sparc
sunxi sunxi: update Olimex A13 SOM profile 2015-01-18 16:58:35 +00:00
uml target/uml: add missing config symbols 2015-01-11 22:03:06 +00:00
x86
x86_64
xburst
Makefile