Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107153843
D15077.id41541.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15077.id41541.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15077: Remove support for FDDI and token ring media types in userland utilities.
Attached
Detach File
Event Timeline
Log In to Comment