mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
smsc: Allow 10BASE-T1L/-T1S media
These are Single-Pair Ethernet types (SPE) from 802.3cg. smsc sets the link flag only if mii_media_active is one of a known set of media types. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60745
This commit is contained in:
1 parent
b9585475ee
commit
81f86c9a94
1 file changed
+2
@@ -554,6 +554,8 @@ smsc_miibus_statchg(device_t dev)
|
||||
(IFM_ACTIVE | IFM_AVALID)) {
|
||||
switch (IFM_SUBTYPE(mii->mii_media_active)) {
|
||||
case IFM_10_T:
|
||||
case IFM_10_T1L:
|
||||
case IFM_10_T1S:
|
||||
case IFM_100_TX:
|
||||
sc->sc_flags |= SMSC_FLAG_LINK;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user