aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb_usual.h
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2010-10-07 07:05:21 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:21:49 -0400
commit8fa7fd74ef398370383df276ca41082ba35aafd8 (patch)
treeeff3040f8e4b7ec1d2c611d811f790a2a96071ce /include/linux/usb_usual.h
parent1992de83e375acc789daf66b7b72a812a5235b75 (diff)
USB: storage: Use USB_ prefix instead of US_ prefix
This commit changes prefix for some of the USB mass storage class related macros (ie. USB_SC_ for subclass and USB_PR_ for class). Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb_usual.h')
-rw-r--r--include/linux/usb_usual.h59
1 files changed, 30 insertions, 29 deletions
diff --git a/include/linux/usb_usual.h b/include/linux/usb_usual.h
index a4b947e470a5..f387c436042e 100644
--- a/include/linux/usb_usual.h
+++ b/include/linux/usb_usual.h
@@ -81,35 +81,36 @@ enum { US_DO_ALL_FLAGS };
81 81
82/* Sub Classes */ 82/* Sub Classes */
83 83
84#define US_SC_RBC 0x01 /* Typically, flash devices */ 84#define USB_SC_RBC 0x01 /* Typically, flash devices */
85#define US_SC_8020 0x02 /* CD-ROM */ 85#define USB_SC_8020 0x02 /* CD-ROM */
86#define US_SC_QIC 0x03 /* QIC-157 Tapes */ 86#define USB_SC_QIC 0x03 /* QIC-157 Tapes */
87#define US_SC_UFI 0x04 /* Floppy */ 87#define USB_SC_UFI 0x04 /* Floppy */
88#define US_SC_8070 0x05 /* Removable media */ 88#define USB_SC_8070 0x05 /* Removable media */
89#define US_SC_SCSI 0x06 /* Transparent */ 89#define USB_SC_SCSI 0x06 /* Transparent */
90#define US_SC_LOCKABLE 0x07 /* Password-protected */ 90#define USB_SC_LOCKABLE 0x07 /* Password-protected */
91 91
92#define US_SC_ISD200 0xf0 /* ISD200 ATA */ 92#define USB_SC_ISD200 0xf0 /* ISD200 ATA */
93#define US_SC_CYP_ATACB 0xf1 /* Cypress ATACB */ 93#define USB_SC_CYP_ATACB 0xf1 /* Cypress ATACB */
94#define US_SC_DEVICE 0xff /* Use device's value */ 94#define USB_SC_DEVICE 0xff /* Use device's value */
95 95
96/* Protocols */ 96/* Storage protocol codes */
97 97
98#define US_PR_CBI 0x00 /* Control/Bulk/Interrupt */ 98#define USB_PR_CBI 0x00 /* Control/Bulk/Interrupt */
99#define US_PR_CB 0x01 /* Control/Bulk w/o interrupt */ 99#define USB_PR_CB 0x01 /* Control/Bulk w/o interrupt */
100#define US_PR_BULK 0x50 /* bulk only */ 100#define USB_PR_BULK 0x50 /* bulk only */
101 101#define USB_PR_UAS 0x62 /* USB Attached SCSI */
102#define US_PR_USBAT 0x80 /* SCM-ATAPI bridge */ 102
103#define US_PR_EUSB_SDDR09 0x81 /* SCM-SCSI bridge for SDDR-09 */ 103#define USB_PR_USBAT 0x80 /* SCM-ATAPI bridge */
104#define US_PR_SDDR55 0x82 /* SDDR-55 (made up) */ 104#define USB_PR_EUSB_SDDR09 0x81 /* SCM-SCSI bridge for SDDR-09 */
105#define US_PR_DPCM_USB 0xf0 /* Combination CB/SDDR09 */ 105#define USB_PR_SDDR55 0x82 /* SDDR-55 (made up) */
106#define US_PR_FREECOM 0xf1 /* Freecom */ 106#define USB_PR_DPCM_USB 0xf0 /* Combination CB/SDDR09 */
107#define US_PR_DATAFAB 0xf2 /* Datafab chipsets */ 107#define USB_PR_FREECOM 0xf1 /* Freecom */
108#define US_PR_JUMPSHOT 0xf3 /* Lexar Jumpshot */ 108#define USB_PR_DATAFAB 0xf2 /* Datafab chipsets */
109#define US_PR_ALAUDA 0xf4 /* Alauda chipsets */ 109#define USB_PR_JUMPSHOT 0xf3 /* Lexar Jumpshot */
110#define US_PR_KARMA 0xf5 /* Rio Karma */ 110#define USB_PR_ALAUDA 0xf4 /* Alauda chipsets */
111 111#define USB_PR_KARMA 0xf5 /* Rio Karma */
112#define US_PR_DEVICE 0xff /* Use device's value */ 112
113#define USB_PR_DEVICE 0xff /* Use device's value */
113 114
114/* 115/*
115 */ 116 */