Commit Graph

15 Commits

Author SHA1 Message Date
thorpej
e19c356e76 Make the ifmedia_entry list a TAILQ. This is pretty much for cosmetics
(media added to tail, so that when e.g. the list is run to print out
what media exist, they appear in-order).
1999-11-03 23:06:35 +00:00
thorpej
98109043a9 Expose the ifmedia_match() function. 1999-10-27 17:59:24 +00:00
thorpej
86f87d7c5f Add a new shared media option, IFM_FLOW, used to enable link-level
flow control.  IEEE 802.3x is in mind, but this could be generally
useful for different types of media.
1999-03-23 21:46:47 +00:00
thorpej
be4ce8c3f4 Add "10baseT-FDX" and "100baseTX-FDX" aliases to the end of the subtype
table.  These are actually subtype+option combos, but these are the
strings displayed by the MII code to indicate 10Mbps full-duplex and
100Mbps full-duplex respectively, and it's Nice that ifconfig(8) can
grok them.
1998-11-02 22:10:26 +00:00
thorpej
798cb235bc Oops, I forgot aliases for some old names (10baseT/UTP, 10base2/BNC,
and 10base5/AUI).
1998-08-12 23:23:29 +00:00
thorpej
f996a2e194 Define IFM_INST_MAX, the largest possible "instance" value. 1998-08-08 22:12:30 +00:00
thorpej
ddb9746a51 Define the minimum and maximum "network type" values. These values are
incremented by the minimum to interate through them.
1998-08-06 19:16:37 +00:00
thorpej
dd588c0660 Add a macro to create a media word from type, subtype, options, and instance. 1998-08-06 02:38:19 +00:00
thorpej
b04ded7264 Completely rewrite the way media descriptions are represented. The same
data structure is used, but a much saner matching mechanism is used, one
which allows greater ease in adding new types.
1998-08-06 02:19:34 +00:00
thorpej
1b58f59205 Add IFM_10_FL - 10baseFL (fiber) 1998-08-03 12:42:26 +00:00
jtc
7cea5e6bbe Fix tipo 1998-01-30 08:37:41 +00:00
thorpej
9bba708a7a Add 1000baseFX and 10baseT/STP Ethernet media types. 1998-01-30 01:24:40 +00:00
thorpej
fecae4de60 Back out the previous change (add IFM_10_EXT) after some dicussion
w/ BSDI and Matt Thomas.
1997-03-26 01:19:27 +00:00
thorpej
6adc9b82fd Add the IFM_10_EXT ("external") ethernet subtype, to accomodate cards
that have the notion of an "external media port".  Suggested by
Matt Thomas <matt@3am-software.com>.
1997-03-24 06:57:31 +00:00
thorpej
1b1c7ef868 BSD/OS-style network interface media selection, implemented by
Jonathan Stone and myself.  Many thanks to Matt Thomas for providing
the information necessary to implement this interface, and for helping
to shake out the bugs.
1997-03-17 02:55:12 +00:00