wifipineapple-openwrt/target/linux
Felix Fietkau 95e0b242c2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44103 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ar7 ar7: remove leftover 3.10 patches 2014-12-18 11:57:42 +00:00
ar71xx ar71xx: add support for TP-LINK TL-WR843ND v1 2015-01-23 12:32:46 +00:00
arm64 arm64: add ARM 64-bits target 2014-11-24 06:34:07 +00:00
at91 at91: remove linux 3.10 support 2014-12-13 11:55:24 +00:00
atheros kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
au1000 au1000: remove leftover 3.3 kernel config 2014-12-13 11:55:49 +00:00
avr32 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
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 add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
brcm2708 brcm2708: missing symbols caused a build fail 2015-01-17 19:10:40 +00:00
cns3xxx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
cns21xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
cobalt cobalt: remove 3.3 and 3.10 kernel configuration files 2014-12-07 21:58:33 +00:00
ep93xx ep93xx: add support for kernel 3.14 2014-12-29 13:55:59 +00:00
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 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ipq806x ipq806x: refresh patches 2014-12-28 19:31:40 +00:00
ixp4xx ixp4xx: remove linux 3.10 support 2014-12-13 11:55:04 +00:00
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 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
mpc83xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
mpc85xx add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
mvebu mvebu: fixups for the new driver 2015-01-16 08:44:15 +00:00
mxs add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
netlogic netlogic: fix XLR network driver build 2014-12-13 08:08:30 +00:00
octeon octeon: enable VLAN support 2015-01-05 13:02:26 +00:00
omap kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
omap24xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
orion kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
oxnas oxnas: re-enable ubifs 2014-12-27 13:03:26 +00:00
ppc40x all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ppc44x kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
pxa all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ramips ramips: add support for Tenda 3G150B 2015-01-22 09:35:22 +00:00
rb532 rb532: remove linux 3.10 support 2014-12-13 11:55:32 +00:00
realview realview: drop old kernel configs 2014-12-13 11:55:59 +00:00
sibyte all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
sparc kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
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 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
x86_64 kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
xburst xburst: fix subtarget config file names 2014-12-11 20:07:52 +00:00
Makefile