aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ums.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-08-15 23:39:18 +0000
committerWarner Losh <imp@FreeBSD.org>2004-08-15 23:39:18 +0000
commit1ff2328528da16ce771d93ac097216049cb76454 (patch)
tree923b659ccab332b52af22d65eda3007d5a0265aa /sys/dev/usb/ums.c
parentc9dca5ca780fd0eb2604e0198626d3b0d1bb4ffa (diff)
downloadsrc-1ff2328528da16ce771d93ac097216049cb76454.tar.gz
src-1ff2328528da16ce771d93ac097216049cb76454.zip
Tweak the compatibility macros a little so that the device printing is
moved into them.
Notes
Notes: svn path=/head/; revision=133787
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index a9d0fc02ebf8..ff9ab5a538ae 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -214,10 +214,8 @@ USB_ATTACH(ums)
sc->sc_disconnected = 1;
sc->sc_iface = 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);
ed = usbd_interface2endpoint_descriptor(iface, 0);
if (!ed) {
printf("%s: could not read endpoint descriptor\n",