opnsense-src/sys/dev/mii
Gleb Smirnoff 61a3ac6e27 The MII layer shouldn't care about administrative status of an
interface. Make MII drivers forget about 'struct ifnet'.

Later plan is to provide an administrative downcall from ifnet
layer into drivers, to inform them about administrative status
change. If someone thinks that processing MII events for an
administratively down interface is a big problem, then drivers
would turn MII processing off.

The following MII drivers do evil things, like strcmp() on
driver name, so they still need knowledge of ifnet and thus
include if_var.h. They all need to be fixed:

sys/dev/mii/brgphy.c
sys/dev/mii/e1000phy.c
sys/dev/mii/ip1000phy.c
sys/dev/mii/jmphy.c
sys/dev/mii/nsphy.c
sys/dev/mii/rgephy.c
sys/dev/mii/truephy.c

Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
2013-10-26 18:40:17 +00:00
..
acphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
acphyreg.h
amphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
amphyreg.h
atphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
atphyreg.h
axphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
bmtphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
bmtphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
brgphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
brgphyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
ciphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
ciphyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
e1000phy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
e1000phyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
gentbi.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
icsphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
icsphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
ip1000phy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
ip1000phyreg.h
jmphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
jmphyreg.h Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet 2010-12-18 23:52:50 +00:00
lxtphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
lxtphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
mii.c The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
mii.h - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
mii_bitbang.c - Import the common MII bitbang'ing code from NetBSD and convert drivers to 2011-11-01 16:13:59 +00:00
mii_bitbang.h - Import the common MII bitbang'ing code from NetBSD and convert drivers to 2011-11-01 16:13:59 +00:00
mii_physubr.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
miibus_if.m
miidevs Recognize BCM5725C PHY. 2013-07-20 07:24:01 +00:00
miivar.h There's no need export the device interface methods of miibus(4). 2011-11-18 22:58:13 +00:00
mlphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
nsgphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
nsgphyreg.h
nsphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
nsphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
nsphyter.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
nsphyterreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
pnaphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
qsphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
qsphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
rdcphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
rdcphyreg.h Add RDC Semiconductor R6040 10/100 PHY driver. 2010-12-30 23:50:25 +00:00
rgephy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
rgephyreg.h For RTL8211B or later PHYs, enable crossover detection and 2013-03-20 05:31:34 +00:00
rlphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
rlswitch.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
smcphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
smscphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
tdkphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
tdkphyreg.h
tlphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
tlphyreg.h - Remove clause 3 and 4 from TNF licenses. 2010-09-26 22:11:41 +00:00
truephy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
truephyreg.h
ukphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
ukphy_subr.c o Flesh out the generic IEEE 802.3 annex 31B full duplex flow control 2010-11-14 13:26:10 +00:00
xmphy.c The MII layer shouldn't care about administrative status of an 2013-10-26 18:40:17 +00:00
xmphyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00