diff options
author | imp <imp@FreeBSD.org> | 2004-08-15 23:39:18 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-08-15 23:39:18 +0000 |
commit | 0c243144c1343f5acd3e77bba947376e73b004cc (patch) | |
tree | 923b659ccab332b52af22d65eda3007d5a0265aa /sys/dev/usb/uhid.c | |
parent | 7a3bb5bd7ec70b9c0f9b5b04f647f22db5c4b9f6 (diff) | |
download | FreeBSD-src-0c243144c1343f5acd3e77bba947376e73b004cc.zip FreeBSD-src-0c243144c1343f5acd3e77bba947376e73b004cc.tar.gz |
Tweak the compatibility macros a little so that the device printing is
moved into them.
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r-- | sys/dev/usb/uhid.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index 72d5fac..3258963 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -210,10 +210,8 @@ USB_ATTACH(uhid) sc->sc_udev = uaa->device; 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 == NULL) { |