freebsd-skq/sys/dev/etherswitch
Kristof Provost 6d011946c5 arswitch: Ensure the lock is always held when calling arswitch_modifyreg()
arswitch_setled() and a number of _global_setup functions did not acquire the
lock before calling arswitch_modifyreg(). With WITNESS enabled this would
instantly panic.

Discovered on a TPLink-3600:
("panic: mutex arswitch not owned at sys/dev/etherswitch/arswitch/arswitch_reg.c:236")

Reviewed by:	adrian, kan
Differential Revision:	https://reviews.freebsd.org/D9187
2017-01-15 10:21:25 +00:00
..
arswitch arswitch: Ensure the lock is always held when calling arswitch_modifyreg() 2017-01-15 10:21:25 +00:00
e6000sw Improve ports handling in e6000sw driver 2017-01-05 17:08:10 +00:00
infineon [etherswitch] add infineon adm6996fc support on etherswitch 2016-11-17 07:33:37 +00:00
ip17x [etherswitch] enable phy4/mac4 of ip175c 2016-11-15 22:30:25 +00:00
micrel [etherswitch] Support Micrel KSZ8995MA switch chip 2017-01-14 23:24:50 +00:00
mtkswitch Remove erroneous lock assertions 2016-06-06 10:07:57 +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