summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hub.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2009-07-30 00:15:50 +0000
committeralfred <alfred@FreeBSD.org>2009-07-30 00:15:50 +0000
commitec456e3a3b32ea50f5c8e3b3a05352e989c10967 (patch)
treead76cd69ab61646de0aee618acfa94818090e52d /sys/dev/usb/usb_hub.c
parentfee3a289891db0743737072e9c451512f989ceae (diff)
downloadFreeBSD-src-ec456e3a3b32ea50f5c8e3b3a05352e989c10967.zip
FreeBSD-src-ec456e3a3b32ea50f5c8e3b3a05352e989c10967.tar.gz
USB core:
- add support for defragging of written device data. - improve handling of alternate settings in device side mode. - correct return value from usbd_get_no_alts() function. - reported by: HPS - P4 ID: 166156, 166168 - report USB device release information to devd and pnpinfo. - reported by: MIHIRA Sanpei Yoshiro - P4 ID: 166221 Submitted by: hps Approved by: re
Diffstat (limited to 'sys/dev/usb/usb_hub.c')
-rw-r--r--sys/dev/usb/usb_hub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c
index 8fbd573..0defc97 100644
--- a/sys/dev/usb/usb_hub.c
+++ b/sys/dev/usb/usb_hub.c
@@ -1020,12 +1020,14 @@ uhub_child_pnpinfo_string(device_t parent, device_t child,
snprintf(buf, buflen, "vendor=0x%04x product=0x%04x "
"devclass=0x%02x devsubclass=0x%02x "
"sernum=\"%s\" "
+ "release=0x%04x "
"intclass=0x%02x intsubclass=0x%02x",
UGETW(res.udev->ddesc.idVendor),
UGETW(res.udev->ddesc.idProduct),
res.udev->ddesc.bDeviceClass,
res.udev->ddesc.bDeviceSubClass,
res.udev->serial,
+ UGETW(res.udev->ddesc.bcdDevice),
iface->idesc->bInterfaceClass,
iface->idesc->bInterfaceSubClass);
} else {
OpenPOWER on IntegriCloud