History

usb: Add base USB MCTP definitions

Upcoming changes will add a USB host (and later gadget) driver for the MCTP-over-USB protocol. Add a header that provides common definitions for protocol support: the packet header format and a few framing definitions. Add a define for the MCTP class code, as per https://usb.org/defined-class-codes.

Jeremy Kerr committed 1 year ago

Commit dcc35ba1 parent e6a53213 files · +32 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/usb/ch9.h+1−0
@@ -330,6 +330,7 @@ struct usb_device_descriptor { · 329 unmodified lines
330#define USB_CLASS_AUDIO_VIDEO 0x10330#define USB_CLASS_AUDIO_VIDEO 0x10
331#define USB_CLASS_BILLBOARD 0x11331#define USB_CLASS_BILLBOARD 0x11
332#define USB_CLASS_USB_TYPE_C_BRIDGE 0x12332#define USB_CLASS_USB_TYPE_C_BRIDGE 0x12
333#define USB_CLASS_MCTP 0x14
333#define USB_CLASS_MISC 0xef334#define USB_CLASS_MISC 0xef
334#define USB_CLASS_APP_SPEC 0xfe335#define USB_CLASS_APP_SPEC 0xfe
335#define USB_SUBCLASS_DFU 0x01336#define USB_SUBCLASS_DFU 0x01