summaryrefslogtreecommitdiffstats
path: root/sys/net/if_media.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add media types for 802.11 AC.stsp2018-02-041-1/+34
| | | | | The first driver to make use of these will probably be bwfm(4). typos spotted by and ok phessler kettenis
* some more 25g media types, and a bunch of AOC types.dlg2017-11-151-1/+15
| | | | | with tweaks from carlos cardenas and visa@ ok mpi@
* A space here, a space there. Soon we're talking real whitespacekrw2017-01-241-2/+2
| | | | rectification.
* fix typo (bas->base), "please commit" mikeb@sthen2016-12-141-2/+2
|
* New media types from FreeBSDmikeb2016-12-131-1/+85
| | | | | No objections from deraadt@, OK dlg Thanks to stsp@ who has extended ifm_media field to 64 bits.
* Remove wireless turbo mode support. It is a non-standard extensionstsp2016-01-121-3/+1
| | | | | | which only worked with ath(4) devices from a decade ago. Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. ok reyk deraadt chris sthen kettenis
* Add ifmedia definitions for 802.11n.stsp2015-11-151-1/+235
| | | | ok deraadt mpi phessler kettenis guenther
* Make room for media types of the future. Extend the ifmedia word to 64 bits.stsp2015-09-111-76/+71
| | | | | | | | | | | | | | | | This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq. Old ifconfig and dhclient binaries can still assign addresses, however the 'media' subcommand stops working. Recompiling ifconfig and dhclient with new headers before a reboot should not be necessary unless in very special circumstances where non-default media settings must be used to get link and console access is not available. There may be some MD fallout but that will be cleared up later. ok deraadt miod with help and suggestions from several sharks attending l2k15
* Remove IFM_MAKEMODE. It is unused in base and ports and there doesn't seemstsp2015-09-091-3/+2
| | | | | | to be a way of feeding it with a valid argument without peeking into the internals of ifmedia macros. ok mpi miod deraadt
* Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.mpi2014-12-051-2/+3
| | | | ok mikeb@, krw@, bluhm@, tedu@
* Add 10GSFP+Cu to the Ethernet media types. This is for 10G direct attachedclaudio2010-02-091-1/+5
| | | | cables. OK jsg@, krw@, sthen@
* s/hz/Hz/ on multiples of the SI unit hertz other than MHz.sobrado2009-11-021-4/+4
| | | | reminded by STeve Andre.
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* add 10GbaseT media type, 10 Gigabit Ethernet over CAT 6 unshielded orreyk2008-06-191-1/+6
| | | | | | shielded twisted pair cables. this is an upcoming standard. ok brad@
* add a 2.5 Gbps fiber media type.brad2007-10-051-1/+5
| | | | | | From FreeBSD ok claudio@ dlg@
* Use the proper baudrate for 10Gb hw now that it can fit into the buadratebrad2007-09-191-4/+4
| | | | | | field. ok claudio@ dlg@
* - Use a 64-bit int for the baudrate within the ifmedia_baudrate struct andbrad2007-09-171-3/+3
| | | | | | | return a 64-bit int for ifmedia_baudrate(). - Fix consumers of ifmedia_baudrate() to deal with the change. ok claudio@ dlg@
* remove token ring leftovers, ok mcbride pvalhenning2007-05-291-38/+1
|
* Add IFM_ETH_FMASK. From NetBSD.kettenis2006-12-291-1/+4
| | | | Requested by brad@
* Add IFM_ETH_RXPAUSE and IFM_ETH_TXPAUSE. From NetBSD.kettenis2006-12-271-1/+5
| | | | ok brad@, deraadt@
* add media types for 10Gb Ethernet, though only using a baudratebrad2006-06-211-1/+16
| | | | of 1Gbps, until the size of the baudrate field has been increased.
* kill spaces OK deraadt@claudio2005-08-101-23/+23
|
* Add an additional media subtype IFM_TDM_E1_G704_CRC4 for TDM interfaces.claudio2005-08-101-1/+9
| | | | | | | This makes it possible to distinguish between E1 G.704 mode with and without CRC4 checksum. Also add an operating mode IFM_TDM_MASTER to specify that the card has to provide the clock source for the line. OK deraadt@ canacar@
* - prototype must not have variable name.brad2005-07-051-19/+18
| | | | | | | | | | | | From itojun NetBSD - Fix signed/unsigned comparison warnings. - Make ifm_data unsigned. - Make media and mask unsigned. From thorpej NetBSD ok deraadt@
* added new commands to ifconfig used by net80211 interfaces:reyk2004-11-021-4/+26
| | | | | | | mode (set mode for multi-mode interfaces) and chan (set the radio channel). some additional output will be printed by "ifconfig -m". ok deraadt@ millert@ damien@
* media descriptions and such for carp, ryan daniel okhenning2004-10-281-1/+9
|
* Add an Ethernet option bit for master mode (for 1000baseT, the linkbrad2004-10-071-1/+5
| | | | | | | master provides the clock -- this is normally the switch, but if you are doing back-to-back NICs, you need to tell one side to be the master). ok mcbride@
* Media support for the 802.11 framework, missing in that commit the other day.millert2004-06-271-1/+32
|
* starting TDM T1->E3->whatever media interface model we will attemptderaadt2004-06-191-1/+59
| | | | | to program to over the next week; thanks for feedback in developing this from cedric, claudio, chris, alex
* defines and struct for the ieee80211 framework; deraadt@ ok.fgsch2003-08-241-1/+3
|
* 1000baseTX -> 1000baseTnate2002-11-261-5/+8
| | | | | | | - More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@
* o Add ibss and ibss-master mediaopt for ifconfigmillert2002-04-101-1/+5
| | | | | o Map port type 4 to ibss regardless of firmware type. This gives us a consistent way to set ibss mode.
* i forgot these for if_wimickey2002-03-281-1/+3
|
* First round of __P removal in sysmillert2002-03-141-13/+13
|
* sync mii code with netbsdnate2000-08-261-15/+62
| | | | | | | adds detach functionality for phys some code cleanup Nobody really had time to test all of this out, but theo said commit anyway
* small knits in .c, more media definitions from netbsd in .hmickey2000-03-211-1/+38
|
* use LIST_* macros where appropriate instead of using LIST* internals.mickey2000-02-261-1/+25
| | | | | | | | 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.
* From NetBSD:jason2000-02-181-4/+6
| | | | | Bump media variant bits and alter IFM_TMASK accordingly Add IFM_HPNA_1 (HomePNA 1.0)
* expose ifmedia_matchjason2000-01-081-1/+5
|
* 1000baseXX mediajason1999-07-211-2/+10
|
* o OpenBSD gets if_media support (from NetBSD)jason1998-09-031-0/+356
o rework/simplify if_xl to use it