summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-08-15 23:39:18 +0000
committerimp <imp@FreeBSD.org>2004-08-15 23:39:18 +0000
commit0c243144c1343f5acd3e77bba947376e73b004cc (patch)
tree923b659ccab332b52af22d65eda3007d5a0265aa /sys/dev/usb/usbdi.h
parent7a3bb5bd7ec70b9c0f9b5b04f647f22db5c4b9f6 (diff)
downloadFreeBSD-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/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index b9e1c1e..0fd24fe 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -263,6 +263,9 @@ struct usb_attach_arg {
#endif
+#define USBD_SHOW_DEVICE_CLASS 0x1
+#define USBD_SHOW_INTERFACE_CLASS 0x2
+
#if defined(__FreeBSD__)
int usbd_driver_load(module_t mod, int what, void *arg);
#endif
OpenPOWER on IntegriCloud