summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_device.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-02-24 03:43:05 +0000
committerthompsa <thompsa@FreeBSD.org>2009-02-24 03:43:05 +0000
commitf1a1841fd46d19db9e9c9715c72e7253c6821208 (patch)
treef4792f6be15577c3da25ef086c5ab15d262ccb99 /sys/dev/usb/usb_device.h
parent8041f6f6948e9212d22713bd2c0c2bec494e144c (diff)
downloadFreeBSD-src-f1a1841fd46d19db9e9c9715c72e7253c6821208.zip
FreeBSD-src-f1a1841fd46d19db9e9c9715c72e7253c6821208.tar.gz
MFp4 //depot/projects/usb@157974
Add support for setting and getting the USB template value through libusb20 and usbconfig. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_device.h')
-rw-r--r--sys/dev/usb/usb_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_device.h b/sys/dev/usb/usb_device.h
index e20479d..4c296d4 100644
--- a/sys/dev/usb/usb_device.h
+++ b/sys/dev/usb/usb_device.h
@@ -155,6 +155,10 @@ struct usb2_device {
char product[64]; /* product string */
};
+/* globals */
+
+extern int usb2_template;
+
/* function prototypes */
struct usb2_device *usb2_alloc_device(device_t parent_dev, struct usb2_bus *bus,
OpenPOWER on IntegriCloud