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/linux/usb (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
330330 #define USB_CLASS_AUDIO_VIDEO 0x10
331331 #define USB_CLASS_BILLBOARD 0x11
332332 #define USB_CLASS_USB_TYPE_C_BRIDGE 0x12
333+#define USB_CLASS_MCTP 0x14
333334 #define USB_CLASS_MISC 0xef
334335 #define USB_CLASS_APP_SPEC 0xfe
335336 #define USB_SUBCLASS_DFU 0x01

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t