FreeBSD/Linux Kernel Cross Reference
sys/sys/wormio.h
1 /* Shared between kernel & process */
2
3 #ifndef _SYS_WORMIO_H_
4 #define _SYS_WORMIO_H_
5
6 #include <sys/ioccom.h>
7
8 /***************************************************************\
9 * Ioctls for the WORM drive *
10 \***************************************************************/
11
12 /*
13 * Quirk select: chose the set of quirk functions to use for this
14 * device.
15 */
16
17 struct wormio_quirk_select
18 {
19 const char *vendor; /* vendor name */
20 const char *model; /* model name */
21 };
22
23 #define WORMIOCQUIRKSELECT _IOW('W', 10, struct wormio_quirk_select)
24
25 /*
26 * Prepare disk-wide parameters.
27 */
28
29 struct wormio_prepare_disk
30 {
31 int dummy; /* use dummy writes, laser turned off */
32 int speed; /* drive speed selection */
33 };
34
35 #define WORMIOCPREPDISK _IOW('W', 20, struct wormio_prepare_disk)
36
37 /*
38 * Prepare track-specific parameters.
39 */
40
41 struct wormio_prepare_track
42 {
43 int audio; /* audio track (data track if 0) */
44 int preemp; /* audio with preemphasis */
45 };
46
47 #define WORMIOCPREPTRACK _IOW('W', 21, struct wormio_prepare_track)
48
49 /*
50 * Fixation: write leadins and leadouts. Select table-of-contents
51 * type for this session. If onp is != 0, another session will be
52 * opened.
53 */
54
55 struct wormio_fixation
56 {
57 int toc_type; /* TOC type */
58 int onp; /* open next program area */
59 };
60
61 #define WORMIOCFIXATION _IOW('W', 22, struct wormio_fixation)
62 #define WORMIOCFINISHTRACK _IO('W', 23)
63 #define WORMIOCFINISHTRACK _IO('W', 23)
64
65 #endif /* !_SYS_WORMIO_H_ */
Cache object: 8a673f887848a69f00ee7bd0a637c8be
|