b35a5873fdcaed760bd47a0b21a1191480338fa4
[tpg/acess2.git] / KernelLand / Modules / USB / MSC / msc_proto.h
1 /*
2  * Acess2 USB Stack Mass Storage Driver
3  * - By John Hodge (thePowersGang)
4  *
5  * main.c
6  * - Driver Core
7  */
8 #ifndef _MSC__MSC_PROTO_H_
9 #define _MSC__MSC_PROTO_H_
10
11 typedef struct sMSC_CBW tMSC_CBW;
12 typedef struct sMSC_CSW tMSC_CSW;
13
14 struct sMSC_CBW
15 {
16         Uint32  dCBWSignature;  // = 0x43425355
17         Uint32  dCBWTag;
18         Uint32  dCBWDataTransferLength;
19         Uint8   bmCBWFlags;
20         Uint8   bCBWLUN;
21         Uint8   bCBWLength;
22         Uint8   CBWCB[16];
23 } PACKED;
24
25 #define MSC_CSW_SIGNATURE       0x53425355
26
27 struct sMSC_CSW
28 {
29         Uint32  dCSWSignature;  // = 0x53425355
30         Uint32  dCSWTag;
31         Uint32  dCSWDataResidue;
32         Uint8   bCSWStatus;
33 } PACKED;
34
35 #endif

UCC git Repository :: git.ucc.asn.au