openwrtv4/target/linux/generic
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
..
base-files update the /init file to start /sbin/init 2013-03-13 18:11:13 +00:00
files ar8216: decrease page switch wait time 2015-01-24 19:42:01 +00:00
image rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
patches-3.3 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c 2015-01-05 13:03:07 +00:00
patches-3.8 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c 2015-01-05 13:03:07 +00:00
patches-3.10 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c 2015-01-05 13:03:07 +00:00
patches-3.13 ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c 2015-01-05 13:03:07 +00:00
patches-3.14 kernel: preserve bootloader command line on MIPS 2015-01-18 09:40:53 +00:00
patches-3.18 kernel: preserve bootloader command line on MIPS 2015-01-18 09:40:53 +00:00
config-3.3 kernel: add SECCOMP to menuconfig 2015-01-08 21:23:18 +00:00
config-3.8 kernel: add SECCOMP to menuconfig 2015-01-08 21:23:18 +00:00
config-3.10 kernel: add SECCOMP to menuconfig 2015-01-08 21:23:18 +00:00
config-3.13 kernel: add SECCOMP to menuconfig 2015-01-08 21:23:18 +00:00
config-3.14 kernel: add missing config symbol 2015-01-18 09:25:38 +00:00
config-3.18 kernel: add missing config symbol for 3.18 2015-01-18 14:28:13 +00:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00