xref: /minix3/minix/include/sys/ioc_disk.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc /*	sys/ioc_disk.h - Disk ioctl() command codes.	Author: Kees J. Bot
2*433d6423SLionel Sambuc  *								23 Nov 2002
3*433d6423SLionel Sambuc  *
4*433d6423SLionel Sambuc  */
5*433d6423SLionel Sambuc 
6*433d6423SLionel Sambuc #ifndef _S_I_DISK_H
7*433d6423SLionel Sambuc #define _S_I_DISK_H
8*433d6423SLionel Sambuc 
9*433d6423SLionel Sambuc #include <minix/ioctl.h>
10*433d6423SLionel Sambuc 
11*433d6423SLionel Sambuc #define DIOCSETP	_IOW('d', 3, struct part_geom)
12*433d6423SLionel Sambuc #define DIOCGETP	_IOR('d', 4, struct part_geom)
13*433d6423SLionel Sambuc #define DIOCEJECT	_IO ('d', 5)
14*433d6423SLionel Sambuc #define DIOCTIMEOUT	_IOWR('d', 6, int)
15*433d6423SLionel Sambuc #define DIOCOPENCT	_IOR('d', 7, int)
16*433d6423SLionel Sambuc #define DIOCFLUSH	_IO ('d', 8)
17*433d6423SLionel Sambuc #define DIOCSETWC	_IOW('d', 9, int)
18*433d6423SLionel Sambuc #define DIOCGETWC	_IOR('d', 10, int)
19*433d6423SLionel Sambuc 
20*433d6423SLionel Sambuc #endif /* _S_I_DISK_H */
21