1/* $NetBSD: if_media.c,v 1.1 1997/03/17 02:55:15 thorpej Exp $ */
2/* $Id: if_media.c,v 1.5 1998/02/06 12:13:48 eivind Exp $ */
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
--- 73 unchanged lines hidden (view full) ---
84 LIST_INIT(&ifm->ifm_list);
85 ifm->ifm_cur = NULL;
86 ifm->ifm_media = 0;
87 ifm->ifm_mask = dontcare_mask; /* IF don't-care bits */
88 ifm->ifm_change = change_callback;
89 ifm->ifm_status = status_callback;
90}
91
92/*
93 * Add a media configuration to the list of supported media
94 * for a specific interface instance.
95 */
96void
97ifmedia_add(ifm, mword, data, aux)
98 struct ifmedia *ifm;
99 int mword;
--- 375 unchanged lines hidden ---
2/* $Id: if_media.c,v 1.5 1998/02/06 12:13:48 eivind Exp $ */
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
--- 73 unchanged lines hidden (view full) ---
84 LIST_INIT(&ifm->ifm_list);
85 ifm->ifm_cur = NULL;
86 ifm->ifm_media = 0;
87 ifm->ifm_mask = dontcare_mask; /* IF don't-care bits */
88 ifm->ifm_change = change_callback;
89 ifm->ifm_status = status_callback;
90}
91
92/*
93 * Add a media configuration to the list of supported media
94 * for a specific interface instance.
95 */
96void
97ifmedia_add(ifm, mword, data, aux)
98 struct ifmedia *ifm;
99 int mword;
--- 375 unchanged lines hidden ---