freebsd-dev/sys/dev/etherswitch
Wojciech Macek 2dd020069e Poll PHY status using internal e6000sw registers
e6000sw family automatically reflects PHY status in each port's registers.
Therefore it is not necessary to do a full PHY polling squence, which
results in much quicker operation and much less significant usage of
the SMI bus.

Care must be taken that the resulting ifmedia_active is identical to
what the PHY will compute, or gratuitous link status changes will
occur whenever the PHYs update function is called.

This patch implements above improvement. On the occasion set a pointer to
the proc structure to be part of software context instead of being
a global variable.

Submitted by: Marcin Wojtas <mw@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield
Reviewed by: loos
Differential revision: https://reviews.freebsd.org/D10714
2017-05-19 08:24:23 +00:00
..
arswitch arswitch: Ensure the lock is always held when calling arswitch_modifyreg() 2017-01-15 10:21:25 +00:00
e6000sw Poll PHY status using internal e6000sw registers 2017-05-19 08:24:23 +00:00
infineon [infineon] [etherswitch] no hardcode tagging port setting at amd6996fc 2017-05-06 05:50:07 +00:00
ip17x [ip17x] [etherswitch] fdt away and mii hang workaround on ip17x 2017-05-06 05:53:42 +00:00
micrel [etherswitch] Support Micrel KSZ8995MA switch chip 2017-01-14 23:24:50 +00:00
mtkswitch etherswitch: Fix RT305x vlan group operation 2017-02-20 08:10:41 +00:00
rtl8366 [etherswitch] add RTL8366SR support 2016-11-15 21:58:04 +00:00
ukswitch [etherswitch] add ukswitch hint that is phy offset at mdio register 2016-11-21 19:26:22 +00:00
etherswitch_if.m
etherswitch.c Convert etherswitch to use the make_dev_s(9) KPI. This fix a possible race 2017-01-08 20:37:41 +00:00
etherswitch.h [etherswitch] add in an initial API for controlling per-port LED behaviour. 2016-08-04 17:45:35 +00:00
miiproxy.c Fix French typos in etherswitch. 2015-04-18 07:34:39 +00:00
miiproxy.h