Revert redundant parts of r329440 after recent devmatch(8) changes.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
2ad275d20f
commit
171164e50d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329454
@ -1733,12 +1733,7 @@ uhub_child_pnpinfo_string(device_t parent, device_t child,
|
||||
}
|
||||
iface = usbd_get_iface(res.udev, res.iface_index);
|
||||
if (iface && iface->idesc) {
|
||||
snprintf(buf, buflen,
|
||||
"bus=usb "
|
||||
#if USB_HAVE_UGEN
|
||||
"device=%s "
|
||||
#endif
|
||||
"vendor=0x%04x product=0x%04x "
|
||||
snprintf(buf, buflen, "vendor=0x%04x product=0x%04x "
|
||||
"devclass=0x%02x devsubclass=0x%02x "
|
||||
"devproto=0x%02x "
|
||||
"sernum=\"%s\" "
|
||||
@ -1746,9 +1741,6 @@ uhub_child_pnpinfo_string(device_t parent, device_t child,
|
||||
"mode=%s "
|
||||
"intclass=0x%02x intsubclass=0x%02x "
|
||||
"intprotocol=0x%02x" "%s%s",
|
||||
#if USB_HAVE_UGEN
|
||||
res.udev->ugen_name,
|
||||
#endif
|
||||
UGETW(res.udev->ddesc.idVendor),
|
||||
UGETW(res.udev->ddesc.idProduct),
|
||||
res.udev->ddesc.bDeviceClass,
|
||||
|
Loading…
Reference in New Issue
Block a user