summaryrefslogtreecommitdiff
path: root/sys/net/if_media.c
AgeCommit message (Collapse)Author
2005-07-28rev 1.18Brad Smith
when there are multiple matches for the requested media, select the first matching instance rather than the last one. From chs NetBSD
2005-07-09ANSI protosBrad Smith
2005-07-05- prototype must not have variable name.Brad Smith
From itojun NetBSD - Fix signed/unsigned comparison warnings. - Make ifm_data unsigned. - Make media and mask unsigned. From thorpej NetBSD ok deraadt@
2005-07-03rev 1.13Brad Smith
when changing to an unsupported media type, return EINVAL instead of ENXIO. From NetBSD
2005-02-20ifmedia_set() should not panic, nor can it really fail. So if there isBrad Smith
some problem setting the media to the requested value (usually IFM_AUTO), we now force the media selection to IFM_NONE. From NetBSD
2005-02-15rev 1.19Brad Smith
Avoid DoS attack by setting ifm->ifm_media to a high number and running the kernel out of memory. From NetBSD Fixes panic mentioned in PR 4088. ok krw@ mcbride@ dhartmei@
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-10-20tyopJason Wright
2002-09-11KNF - return is not a function.Jun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2000-11-28Free the same type we malloced with.Artur Grabowski
2000-08-26sync mii code with netbsdNathan Binkert
adds detach functionality for phys some code cleanup Nobody really had time to test all of this out, but theo said commit anyway
2000-03-21small knits in .c, more media definitions from netbsd in .hMichael Shalayeff
2000-02-26use LIST_* macros where appropriate instead of using LIST* internals.Michael Shalayeff
From netbsd add 802.11 media types and options add ifmedia_delete_instance() to be used in *detach() routines. a few minor knits. jason@ ok.
2000-01-08expose ifmedia_matchJason Wright
1998-09-03o OpenBSD gets if_media support (from NetBSD)Jason Wright
o rework/simplify if_xl to use it