openwrtv3/target/linux/generic/files/drivers/net/phy
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
..
b53 b53: hardcode reset GPIO for Linksys WRT300N 1.1 2014-07-06 11:40:51 +00:00
adm6996.c adm6996: the GPIO interface for the adm6996l does not support switch statistics. 2014-07-05 12:13:56 +00:00
adm6996.h linux/generic: add MIB counters and port status to ADM6996 switch 2014-04-22 08:08:02 +00:00
ar8216.c ar8216: decrease page switch wait time 2015-01-24 19:42:01 +00:00
ar8216.h ar8216: decrease page switch wait time 2015-01-24 19:42:01 +00:00
ar8327.c ar8216: fix ATU flushing 2015-01-24 19:41:51 +00:00
ar8327.h ar8216: display flow control info in swconfig get_link in case of autonegatiation too 2015-01-18 00:54:06 +00:00
ip17xx.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 2010-10-12 20:49:35 +00:00
mvsw61xx.c mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvsw61xx.h mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvswitch.c generic: mvswitch: add detach callback 2013-02-07 15:18:34 +00:00
mvswitch.h rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
psb6970.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 2010-10-12 20:49:35 +00:00
rtl8306.c revert: kernel: rtl8306: fix max pvid & remove port isolation 2014-03-30 10:04:55 +00:00
rtl8366_smi.c strict_strtoul is obsolete, use kstrtoul instead 2013-07-27 09:23:18 +00:00
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 2012-12-15 13:32:02 +00:00
rtl8366rb.c generic: add port mirroring/monitoring capability to rtl8366rb switch 2013-06-04 13:25:52 +00:00
rtl8366s.c fix rtl8366s OF binding 2013-04-12 18:56:05 +00:00
rtl8367.c rtl8367: add support for configuring the VLAN FID 2013-08-12 17:25:25 +00:00
rtl8367b.c generic: rtl8367: add compatible string with vendor prefix 2013-04-06 17:19:31 +00:00
swconfig.c ar8216: add 802.3az EEE info to swconfig get_link attribute 2015-01-18 00:53:59 +00:00
swconfig_leds.c ar71xx: swconfig: use the local helper to set LED brightness on link down 2014-01-26 16:46:21 +00:00