ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
usbhdfsd-common.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Licenced under Academic Free License version 2.0
7 # Review ps2sdk README & LICENSE files for further details.
8 */
9 
15 #ifndef __USBHDFSD_COMMON_H__
16 #define __USBHDFSD_COMMON_H__
17 
18 //IOCTL function codes
20 #define USBMASS_IOCTL_RENAME 0x0000
22 #define USBMASS_IOCTL_GET_CLUSTER 0x0001
24 #define USBMASS_IOCTL_GET_LBA 0x0002
26 #define USBMASS_IOCTL_GET_DRIVERNAME 0x0003
27 
28 //DEVCTL function codes
30 #define USBMASS_DEVCTL_STOP_UNIT 0x0000
32 #define USBMASS_DEVCTL_STOP_ALL 0x0001
33 
34 //Device status bits.
36 #define USBMASS_DEV_STAT_CONN 0x01
38 #define USBMASS_DEV_STAT_CONF 0x02
40 #define USBMASS_DEV_STAT_ERR 0x80
41 
42 //Device events
46 };
47 
48 #endif /* __USBHDFSD_COMMON_H__ */
USBMASS_DEV_EV
@ USBMASS_DEV_EV_DISCONN
@ USBMASS_DEV_EV_CONN