Add 'host root port' information to hw.ucomnames.
authorkrw <krw@openbsd.org>
Mon, 2 Oct 2023 23:38:11 +0000 (23:38 +0000)
committerkrw <krw@openbsd.org>
Mon, 2 Oct 2023 23:38:11 +0000 (23:38 +0000)
commit4be3a38b028503d4fe2fde825d85b86938d9cff0
tree2b7f631f47b32d0fde884e861dd28b044b0b0af5
parentd5690c12025ec58e5ebaad05b0507fa0c2bf85cd
Add 'host root port' information to hw.ucomnames.

usbN.X.Y becomes usbN.Z.X.Y

Display the usb<blah> string in ucom attach messages so grepping
dmesg can be used to find the path to a ucom.

More USB cluebats from kettenis@. Deep hub depths testing from
drahn@.

ok deraadt@ drahn@ kettenis@
lib/libc/sys/sysctl.2
sys/dev/usb/ucom.c
sys/dev/usb/usb_subr.c
usr.bin/cu/cu.1