aboutsummaryrefslogtreecommitdiff
path: root/sbin/etherswitchcfg/ifmedia.c
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-04-11 17:28:24 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-04-11 17:28:24 +0000
commit0437c8e3b1981415c8010f0e3e6517ebdaf34247 (patch)
tree7212eeab92f8b989175b87de35b7dc4d3110830f /sbin/etherswitchcfg/ifmedia.c
parent7feb88191835a484298227be02cea7f2bc607816 (diff)
downloadsrc-0437c8e3b1981415c8010f0e3e6517ebdaf34247.tar.gz
src-0437c8e3b1981415c8010f0e3e6517ebdaf34247.zip
Remove support for FDDI networks.
Defines in net/if_media.h remain in case code copied from ifconfig is in use elsewere (supporting non-existant media type is harmless). Reviewed by: kib, jhb Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15017
Notes
Notes: svn path=/head/; revision=332412
Diffstat (limited to 'sbin/etherswitchcfg/ifmedia.c')
-rw-r--r--sbin/etherswitchcfg/ifmedia.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/sbin/etherswitchcfg/ifmedia.c b/sbin/etherswitchcfg/ifmedia.c
index fd2a7fb86db2..0857629ac0fa 100644
--- a/sbin/etherswitchcfg/ifmedia.c
+++ b/sbin/etherswitchcfg/ifmedia.c
@@ -380,15 +380,6 @@ static struct ifmedia_description ifm_subtype_tokenring_aliases[] =
static struct ifmedia_description ifm_subtype_tokenring_option_descriptions[] =
IFM_SUBTYPE_TOKENRING_OPTION_DESCRIPTIONS;
-static struct ifmedia_description ifm_subtype_fddi_descriptions[] =
- IFM_SUBTYPE_FDDI_DESCRIPTIONS;
-
-static struct ifmedia_description ifm_subtype_fddi_aliases[] =
- IFM_SUBTYPE_FDDI_ALIASES;
-
-static struct ifmedia_description ifm_subtype_fddi_option_descriptions[] =
- IFM_SUBTYPE_FDDI_OPTION_DESCRIPTIONS;
-
static struct ifmedia_description ifm_subtype_ieee80211_descriptions[] =
IFM_SUBTYPE_IEEE80211_DESCRIPTIONS;
@@ -482,24 +473,6 @@ static struct ifmedia_type_to_subtype ifmedia_types_to_subtypes[] = {
{
{ &ifm_subtype_shared_descriptions[0], 0 },
{ &ifm_subtype_shared_aliases[0], 1 },
- { &ifm_subtype_fddi_descriptions[0], 0 },
- { &ifm_subtype_fddi_aliases[0], 1 },
- { NULL, 0 },
- },
- {
- { &ifm_shared_option_descriptions[0], 0 },
- { &ifm_shared_option_aliases[0], 1 },
- { &ifm_subtype_fddi_option_descriptions[0], 0 },
- { NULL, 0 },
- },
- {
- { NULL, 0 },
- },
- },
- {
- {
- { &ifm_subtype_shared_descriptions[0], 0 },
- { &ifm_subtype_shared_aliases[0], 1 },
{ &ifm_subtype_ieee80211_descriptions[0], 0 },
{ &ifm_subtype_ieee80211_aliases[0], 1 },
{ NULL, 0 },