Page MenuHomeFreeBSD

D15077.id41486.diff
No OneTemporary

D15077.id41486.diff

Index: lib/libifconfig/libifconfig_media.c
===================================================================
--- lib/libifconfig/libifconfig_media.c
+++ 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: sbin/devd/devd.cc
===================================================================
--- sbin/devd/devd.cc
+++ 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: sbin/etherswitchcfg/ifmedia.c
===================================================================
--- sbin/etherswitchcfg/ifmedia.c
+++ 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: sbin/ifconfig/ifmedia.c
===================================================================
--- sbin/ifconfig/ifmedia.c
+++ 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
Mon, Feb 9, 7:11 AM (9 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28551355
Default Alt Text
D15077.id41486.diff (1 KB)

Event Timeline