Deleted Added
full compact
if_media.c (114163) if_media.c (114232)
1/* $NetBSD: if_media.c,v 1.1 1997/03/17 02:55:15 thorpej Exp $ */
1/* $NetBSD: if_media.c,v 1.1 1997/03/17 02:55:15 thorpej Exp $ */
2/* $FreeBSD: head/sys/net/if_media.c 114163 2003-04-28 16:35:51Z sam $ */
2/* $FreeBSD: head/sys/net/if_media.c 114232 2003-04-29 17:23:23Z harti $ */
3
4/*
5 * Copyright (c) 1997
6 * Jonathan Stone and Jason R. Thorpe. All rights reserved.
7 *
8 * This software is derived from information provided by Matt Thomas.
9 *
10 * Redistribution and use in source and binary forms, with or without

--- 396 unchanged lines hidden (view full) ---

407 IFM_SUBTYPE_IEEE80211_DESCRIPTIONS;
408
409struct ifmedia_description ifm_subtype_ieee80211_option_descriptions[] =
410 IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS;
411
412struct ifmedia_description ifm_subtype_ieee80211_mode_descriptions[] =
413 IFM_SUBTYPE_IEEE80211_MODE_DESCRIPTIONS;
414
3
4/*
5 * Copyright (c) 1997
6 * Jonathan Stone and Jason R. Thorpe. All rights reserved.
7 *
8 * This software is derived from information provided by Matt Thomas.
9 *
10 * Redistribution and use in source and binary forms, with or without

--- 396 unchanged lines hidden (view full) ---

407 IFM_SUBTYPE_IEEE80211_DESCRIPTIONS;
408
409struct ifmedia_description ifm_subtype_ieee80211_option_descriptions[] =
410 IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS;
411
412struct ifmedia_description ifm_subtype_ieee80211_mode_descriptions[] =
413 IFM_SUBTYPE_IEEE80211_MODE_DESCRIPTIONS;
414
415struct ifmedia_description ifm_subtype_atm_descriptions[] =
416 IFM_SUBTYPE_ATM_DESCRIPTIONS;
417
418struct ifmedia_description ifm_subtype_atm_option_descriptions[] =
419 IFM_SUBTYPE_ATM_OPTION_DESCRIPTIONS;
420
415struct ifmedia_description ifm_subtype_shared_descriptions[] =
416 IFM_SUBTYPE_SHARED_DESCRIPTIONS;
417
418struct ifmedia_description ifm_shared_option_descriptions[] =
419 IFM_SHARED_OPTION_DESCRIPTIONS;
420
421struct ifmedia_type_to_subtype {
422 struct ifmedia_description *subtypes;

--- 18 unchanged lines hidden (view full) ---

441 &ifm_subtype_fddi_option_descriptions[0],
442 NULL,
443 },
444 {
445 &ifm_subtype_ieee80211_descriptions[0],
446 &ifm_subtype_ieee80211_option_descriptions[0],
447 &ifm_subtype_ieee80211_mode_descriptions[0]
448 },
421struct ifmedia_description ifm_subtype_shared_descriptions[] =
422 IFM_SUBTYPE_SHARED_DESCRIPTIONS;
423
424struct ifmedia_description ifm_shared_option_descriptions[] =
425 IFM_SHARED_OPTION_DESCRIPTIONS;
426
427struct ifmedia_type_to_subtype {
428 struct ifmedia_description *subtypes;

--- 18 unchanged lines hidden (view full) ---

447 &ifm_subtype_fddi_option_descriptions[0],
448 NULL,
449 },
450 {
451 &ifm_subtype_ieee80211_descriptions[0],
452 &ifm_subtype_ieee80211_option_descriptions[0],
453 &ifm_subtype_ieee80211_mode_descriptions[0]
454 },
455 {
456 &ifm_subtype_atm_descriptions[0],
457 &ifm_subtype_atm_option_descriptions[0],
458 NULL,
459 },
449};
450
451/*
452 * print a media word.
453 */
454static void
455ifmedia_printword(ifmw)
456 int ifmw;

--- 71 unchanged lines hidden ---
460};
461
462/*
463 * print a media word.
464 */
465static void
466ifmedia_printword(ifmw)
467 int ifmw;

--- 71 unchanged lines hidden ---