aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_ioctl.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2018-05-17 19:54:11 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2018-05-17 19:54:11 +0000
commit3dc87e52a962e886e43b18029ade4bf758be12b0 (patch)
tree8fc849daa5a10f41f7b468766e7c6f87191a6af7 /sys/dev/usb/usb_ioctl.h
parent2a45e8282a7d740e61e27cd8d78e2ac5dd3cd532 (diff)
downloadsrc-3dc87e52a962e886e43b18029ade4bf758be12b0.tar.gz
src-3dc87e52a962e886e43b18029ade4bf758be12b0.zip
Add a "multifunction" device side USB template, which provides mass
storage, CDC ACM (serial), and CDC ECM (ethernet) at the same time. It's quite similar in function to Linux' "g_multi" gadget. Reviewed by: hselasky@ MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=333760
Diffstat (limited to 'sys/dev/usb/usb_ioctl.h')
-rw-r--r--sys/dev/usb/usb_ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_ioctl.h b/sys/dev/usb/usb_ioctl.h
index 7cf90649db00..fcd31e31989c 100644
--- a/sys/dev/usb/usb_ioctl.h
+++ b/sys/dev/usb/usb_ioctl.h
@@ -69,6 +69,7 @@ enum {
USB_TEMP_PHONE, /* USB Phone */
USB_TEMP_SERIALNET, /* USB CDC Ethernet and Modem */
USB_TEMP_MIDI, /* USB MIDI */
+ USB_TEMP_MULTI, /* USB Ethernet, serial, and storage */
USB_TEMP_MAX,
};