Deleted Added
full compact
if_media.c (73085) if_media.c (77217)
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 73085 2001-02-26 09:52:43Z alfred $ */
2/* $FreeBSD: head/sys/net/if_media.c 77217 2001-05-26 09:27:08Z phk $ */
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

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

396 IFM_SUBTYPE_TOKENRING_OPTION_DESCRIPTIONS;
397
398struct ifmedia_description ifm_subtype_fddi_descriptions[] =
399 IFM_SUBTYPE_FDDI_DESCRIPTIONS;
400
401struct ifmedia_description ifm_subtype_fddi_option_descriptions[] =
402 IFM_SUBTYPE_FDDI_OPTION_DESCRIPTIONS;
403
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

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

396 IFM_SUBTYPE_TOKENRING_OPTION_DESCRIPTIONS;
397
398struct ifmedia_description ifm_subtype_fddi_descriptions[] =
399 IFM_SUBTYPE_FDDI_DESCRIPTIONS;
400
401struct ifmedia_description ifm_subtype_fddi_option_descriptions[] =
402 IFM_SUBTYPE_FDDI_OPTION_DESCRIPTIONS;
403
404struct ifmedia_description ifm_subtype_ieee80211_descriptions[] =
405 IFM_SUBTYPE_IEEE80211_DESCRIPTIONS;
406
407struct ifmedia_description ifm_subtype_ieee80211_option_descriptions[] =
408 IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS;
409
404struct ifmedia_description ifm_subtype_shared_descriptions[] =
405 IFM_SUBTYPE_SHARED_DESCRIPTIONS;
406
407struct ifmedia_description ifm_shared_option_descriptions[] =
408 IFM_SHARED_OPTION_DESCRIPTIONS;
409
410struct ifmedia_type_to_subtype {
411 struct ifmedia_description *subtypes;

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

421 {
422 &ifm_subtype_tokenring_descriptions[0],
423 &ifm_subtype_tokenring_option_descriptions[0]
424 },
425 {
426 &ifm_subtype_fddi_descriptions[0],
427 &ifm_subtype_fddi_option_descriptions[0]
428 },
410struct ifmedia_description ifm_subtype_shared_descriptions[] =
411 IFM_SUBTYPE_SHARED_DESCRIPTIONS;
412
413struct ifmedia_description ifm_shared_option_descriptions[] =
414 IFM_SHARED_OPTION_DESCRIPTIONS;
415
416struct ifmedia_type_to_subtype {
417 struct ifmedia_description *subtypes;

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

427 {
428 &ifm_subtype_tokenring_descriptions[0],
429 &ifm_subtype_tokenring_option_descriptions[0]
430 },
431 {
432 &ifm_subtype_fddi_descriptions[0],
433 &ifm_subtype_fddi_option_descriptions[0]
434 },
435 {
436 &ifm_subtype_ieee80211_descriptions[0],
437 &ifm_subtype_ieee80211_option_descriptions[0]
438 },
429};
430
431/*
432 * print a media word.
433 */
434static void
435ifmedia_printword(ifmw)
436 int ifmw;

--- 63 unchanged lines hidden ---
439};
440
441/*
442 * print a media word.
443 */
444static void
445ifmedia_printword(ifmw)
446 int ifmw;

--- 63 unchanged lines hidden ---