K 10 svn:author V 7 glebius K 8 svn:date V 27 2015-04-26T17:48:15.484929Z K 7 svn:log V 725 Convert xl(4) to new media and miibus KPI. xl(4) supports a zillion of varieties of 3Com NICs, so it is quite complex. Some NICs have miibus(4), and some not. Some miibus NICs have extra mediae, that are added from the NIC driver on top of phys mediae. So, unlike in other NIC drivers, the mediae list isn't static, but allocated per-softc. Actually it is possible to build a set of static mediae arrays, matching every possible NIC, but such approach would require testing on every possible NIC. Functional changes: o Since not tested on miibus(4) based xl(4), be conservative and don't declare IFCAP_LINKSTATE. Tested: 3Com 3c900B-COMBO Etherlink XL, only UTP tested Sponsored by: Netflix Sponsored by: Nginx, Inc. END