summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udbp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/udbp.c')
-rw-r--r--sys/dev/usb/udbp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c
index cc8cc82ef8ef..2bedbbe092d8 100644
--- a/sys/dev/usb/udbp.c
+++ b/sys/dev/usb/udbp.c
@@ -267,10 +267,8 @@ USB_ATTACH(udbp)
/* fetch the interface handle for the first interface */
(void) usbd_device2interface_handle(uaa->device, 0, &iface);
id = usbd_get_interface_descriptor(iface);
- usbd_devinfo(uaa->device, 0, devinfo);
+ usbd_devinfo(uaa->device, USBD_SHOW_INTERFACE_CLASS, devinfo);
USB_ATTACH_SETUP;
- printf("%s: %s, iclass %d/%d\n", USBDEVNAME(sc->sc_dev),
- devinfo, id->bInterfaceClass, id->bInterfaceSubClass);
/* Find the two first bulk endpoints */
for (i = 0 ; i < id->bNumEndpoints; i++) {