aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/usb/uas.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/usb/uas.h b/include/linux/usb/uas.h
index 856be7fcbbd8..9a988e413694 100644
--- a/include/linux/usb/uas.h
+++ b/include/linux/usb/uas.h
@@ -47,6 +47,14 @@ struct sense_iu {
47 __u8 sense[SCSI_SENSE_BUFFERSIZE]; 47 __u8 sense[SCSI_SENSE_BUFFERSIZE];
48}; 48};
49 49
50struct usb_pipe_usage_descriptor {
51 __u8 bLength;
52 __u8 bDescriptorType;
53
54 __u8 bPipeID;
55 __u8 Reserved;
56} __attribute__((__packed__));
57
50enum { 58enum {
51 CMD_PIPE_ID = 1, 59 CMD_PIPE_ID = 1,
52 STATUS_PIPE_ID = 2, 60 STATUS_PIPE_ID = 2,