Go to the documentation of this file.
12 #ifndef _UAPI__PKTCDVD_H
13 #define _UAPI__PKTCDVD_H
15 #include <linux/types.h>
20 #define PACKET_DEBUG 1
24 #define PKT_RB_POOL_SIZE 512
29 #define PACKET_WAIT_TIME (HZ * 5 / 1000)
36 #if defined(CONFIG_CDROM_PKTCDVD_WCACHE)
37 #define USE_WCACHING 1
39 #define USE_WCACHING 0
52 #define PACKET_DVDRW 4
57 #define PACKET_WRITABLE 1
58 #define PACKET_NWA_VALID 2
59 #define PACKET_LRA_VALID 3
60 #define PACKET_MERGE_SEGS 4
66 #define PACKET_DISC_EMPTY 0
67 #define PACKET_DISC_INCOMPLETE 1
68 #define PACKET_DISC_COMPLETE 2
69 #define PACKET_DISC_OTHER 3
74 #define PACKET_MODE1 1
75 #define PACKET_MODE2 2
76 #define PACKET_BLOCK_MODE1 8
77 #define PACKET_BLOCK_MODE2 10
82 #define PACKET_SESSION_EMPTY 0
83 #define PACKET_SESSION_INCOMPLETE 1
84 #define PACKET_SESSION_RESERVED 2
85 #define PACKET_SESSION_COMPLETE 3
87 #define PACKET_MCN "4a656e734178626f65323030300000"
91 #define PKT_CTRL_CMD_SETUP 0
92 #define PKT_CTRL_CMD_TEARDOWN 1
93 #define PKT_CTRL_CMD_STATUS 2
107 #define PACKET_IOCTL_MAGIC ('X')
108 #define PACKET_CTRL_CMD _IOWR(PACKET_IOCTL_MAGIC, 1, struct pkt_ctrl_command)