summaryrefslogtreecommitdiff
path: root/sys/net/if_media.c
AgeCommit message (Expand)Author
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2015-10-17Fix build with IFMEDIA_DEBUG defined; ok sthen@Stefan Sperling
2015-09-29add sizes to some of the simpler free callsTheo de Raadt
2015-09-11Make room for media types of the future. Extend the ifmedia word to 64 bits.Stefan Sperling
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-21if_media.c needs net/if_var.h. This fixes the build with IFMEDIA_DEBUG.Theo de Raadt
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-19Prettify; remove useless cast, reformat, fix TAILQ_FOREACH's.pelikan
2014-01-19Count the number of media words required only once. If the media wordsTheo de Raadt
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2007-12-20return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-09-19tidy up a little.Brad Smith
2007-09-17- Use a 64-bit int for the baudrate within the ifmedia_baudrate struct andBrad Smith
2005-07-28rev 1.18Brad Smith
2005-07-09ANSI protosBrad Smith
2005-07-05- prototype must not have variable name.Brad Smith
2005-07-03rev 1.13Brad Smith
2005-02-20ifmedia_set() should not panic, nor can it really fail. So if there isBrad Smith
2005-02-15rev 1.19Brad Smith
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
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
2000-01-08expose ifmedia_matchJason Wright
1998-09-03o OpenBSD gets if_media support (from NetBSD)Jason Wright