wifipineapple-openwrt/target/linux/generic/files
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
..
Documentation/networking kernel: drop dead pwm code 2013-08-18 01:25:41 +00:00
arch/mips/fw/myloader rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
crypto/ocf kernel: ocf: add missing dependency for hifn driver 2014-01-21 12:11:18 +00:00
drivers ar8216: decrease page switch wait time 2015-01-24 19:42:01 +00:00
fs/yaffs2 kernel: update yaffs code 2013-12-16 07:51:19 +00:00
include ar8216: add 802.3az EEE info to swconfig get_link attribute 2015-01-18 00:53:59 +00:00