We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbb64f commit a5a4ad2Copy full SHA for a5a4ad2
iop/usb/usbmass_bd/src/usb_mass.c
@@ -37,6 +37,20 @@
37
#define CBW_TAG 0x43425355
38
#define CSW_TAG 0x53425355
39
40
+typedef struct _mass_dev
41
+{
42
+ int controlEp; // config endpoint id
43
+ int bulkEpI; // in endpoint id
44
+ int bulkEpO; // out endpoint id
45
+ int devId; // device id
46
+ unsigned char configId; // configuration id
47
+ unsigned char status;
48
+ unsigned char interfaceNumber; // interface number
49
+ unsigned char interfaceAlt; // interface alternate setting
50
+ int usbPortNumber; //physical port number the USB device is connected to
51
+ int ioSema;
52
+ struct scsi_interface scsi;
53
+} mass_dev;
54
55
typedef struct _cbw_packet
56
{
0 commit comments