]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for link status, media and VLAN MTU (if supported) to if_cdce...
authorJohn-Mark Gurney <jmg@FreeBSD.org>
Sat, 26 Jun 2021 00:47:02 +0000 (17:47 -0700)
committerJohn-Mark Gurney <jmg@FreeBSD.org>
Sat, 26 Jun 2021 00:57:04 +0000 (17:57 -0700)
commitb43d600c839a9a4d66139c93506e26128370ed7c
treea32550e26d5163d8a12f622becf57a1f67f5aef1
parent33b8c039a960bcff3471baf5929558c4d1500727
Add support for link status, media and VLAN MTU (if supported) to if_cdce...

This makes it more usable in that dhclient will autolaunch from devd
now when cdce devices are plugged in..  It also sets the baudrate, but
this isn't exported via tools, and CDCE doesn't have a good way to
specify the media type, so there isn't a good way to tell userland
what the speed is currently...

Reviewed by: hps
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D30625
sys/dev/usb/net/if_cdce.c
sys/dev/usb/net/if_cdcereg.h