Page MenuHomeFreeBSD

D15077.id41541.diff
No OneTemporary

D15077.id41541.diff

Index: head/lib/libifconfig/libifconfig_media.c
===================================================================
--- head/lib/libifconfig/libifconfig_media.c
+++ head/lib/libifconfig/libifconfig_media.c
@@ -373,15 +373,6 @@
}
break;
- case IFM_FDDI:
- case IFM_TOKEN:
- if (ifmr->ifm_status & IFM_ACTIVE) {
- return ("inserted");
- } else {
- return ("no ring");
- }
- break;
-
case IFM_IEEE80211:
if (ifmr->ifm_status & IFM_ACTIVE) {
/* NB: only sta mode associates */
Index: head/sbin/devd/devd.cc
===================================================================
--- head/sbin/devd/devd.cc
+++ head/sbin/devd/devd.cc
@@ -333,8 +333,6 @@
{
static struct ifmedia_description media_types[] = {
{ IFM_ETHER, "Ethernet" },
- { IFM_TOKEN, "Tokenring" },
- { IFM_FDDI, "FDDI" },
{ IFM_IEEE80211, "802.11" },
{ IFM_ATM, "ATM" },
{ -1, "unknown" },
Index: head/sbin/etherswitchcfg/ifmedia.c
===================================================================
--- head/sbin/etherswitchcfg/ifmedia.c
+++ head/sbin/etherswitchcfg/ifmedia.c
@@ -159,14 +159,6 @@
printf("no carrier");
break;
- case IFM_FDDI:
- case IFM_TOKEN:
- if (ifmr.ifm_status & IFM_ACTIVE)
- printf("inserted");
- else
- printf("no ring");
- break;
-
case IFM_IEEE80211:
if (ifmr.ifm_status & IFM_ACTIVE) {
/* NB: only sta mode associates */
Index: head/sbin/ifconfig/ifmedia.c
===================================================================
--- head/sbin/ifconfig/ifmedia.c
+++ head/sbin/ifconfig/ifmedia.c
@@ -168,14 +168,6 @@
printf("no carrier");
break;
- case IFM_FDDI:
- case IFM_TOKEN:
- if (ifmr.ifm_status & IFM_ACTIVE)
- printf("inserted");
- else
- printf("no ring");
- break;
-
case IFM_IEEE80211:
if (ifmr.ifm_status & IFM_ACTIVE) {
/* NB: only sta mode associates */

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 10:57 PM (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15758648
Default Alt Text
D15077.id41541.diff (1 KB)

Event Timeline