From 3dc87e52a962e886e43b18029ade4bf758be12b0 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Thu, 17 May 2018 19:54:11 +0000 Subject: 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 --- sys/dev/usb/usb_ioctl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/usb/usb_ioctl.h') 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, }; -- cgit v1.2.3