--- - branch: MAIN date: Wed Oct 4 07:07:16 UTC 2017 files: - new: '1.60' old: '1.59' path: src/sys/net/if_media.h pathrev: src/sys/net/if_media.h@1.60 type: modified id: 20171004T070716Z.f3adbcdc1f45cfdab9e222f1cb3156b72fb08155 log: |2 All Ethernet media more than 1000Mbps don't support half duplex. For the convinience, ifconfig without "mediaopt fullduplex" sets IFM_FDX automatically for those medias. Without this change, "ifconfig xxN mediaopt 10Gbase-T" (without "mediaopt fullduplex") returns EINVAL if a driver doesn't call ifmedia_add() without IFM_FDX because ifmedia_match() returns NULL. module: src subject: 'CVS commit: src/sys/net' unixtime: '1507100836' user: msaitoh