Modules/USB - Added prototype mass storage driver
[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 };
24
25 struct sMSC_CSW
26 {
27         Uint32  dCSWSignature;  // = 0x53425355
28         Uint32  dCSWTag;
29         Uint32  dCSWDataResidue;
30         Uint8   dCSWStatus;
31 };
32
33 #endif

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