1
/***************************************************************************
4
* Fri Oct 20 11:20:04 2006
5
* Copyright 2006 algernon
6
* <algernon@localhost.localdomain>
7
****************************************************************************/
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
27
#ifndef _BURN_STATUS_PAGE_H
28
#define _BURN_STATUS_PAGE_H
39
typedef struct _BraseroScsiStatusWrSpdDesc BraseroScsiStatusWrSpdDesc;
41
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
43
struct _BraseroScsiStatusWrSpdDesc {
52
struct _BraseroScsiStatusPage {
53
uchar code :6; /* 0 */
59
uchar rd_CDR :1; /* 2 */
67
uchar wr_CDR :1; /* 3 */
75
uchar play_audio :1; /* 4 */
77
uchar digital_port_2 :1;
78
uchar digital_port_1 :1;
81
uchar multisession :1;
84
uchar CDDA_support :1; /* 5 */
85
uchar CDDA_accuracy :1;
87
uchar RW_interleace :1;
93
uchar lock :1; /* 6 */
100
uchar separate_vol_level :1; /* 7 */
101
uchar separate_chnl_mute :1;
102
uchar changer_support :1;
103
uchar slot_selection :1;
104
uchar side_change :1;
108
uchar rd_current_speed [2]; /* 8 */
109
uchar max_buf_size [2];
110
uchar volume_lvl_num [2];
111
uchar rd_max_speed [2];
113
uchar reserved6 :8; /* 16 */
115
uchar reserved8 :1; /* 17 */
122
uchar wr_max_speed [2]; /* 18 */
123
uchar wr_current_speed [2];
125
uchar copy_mngt_rev [2]; /* 22 */
129
uchar current_rot_ctl :2; /* 27 */
132
uchar wr_selected_speed [2];
133
uchar wr_speed_desc_num [2];
135
BraseroScsiStatusWrSpdDesc wr_spd_desc [0]; /* 32 */
140
struct _BraseroScsiStatusWrSpdDesc {
149
struct _BraseroScsiStatusPage {
154
uchar len :8; /* 1 */
156
uchar reserved1 :2; /* 2 */
164
uchar reserved2 :2; /* 3 */
172
uchar buffer :1; /* 4 */
173
uchar multisession :1;
176
uchar digital_port_1 :1;
177
uchar digital_port_2 :1;
181
uchar barcode :1; /* 5 */
184
uchar c2_pointers :1;
185
uchar RW_interleace :1;
187
uchar CDDA_accuracy :1;
188
uchar CDDA_support :1;
190
uchar load_type :3; /* 6 */
197
uchar reserved5 :2; /* 7 */
199
uchar side_change :1;
200
uchar slot_selection :1;
201
uchar changer_support :1;
202
uchar separate_chnl_mute :1;
203
uchar separate_vol_level :1;
205
uchar rd_max_speed [2]; /* 8 */
206
uchar volume_lvl_num [2];
207
uchar max_buf_size [2];
208
uchar rd_current_speed [2];
210
uchar reserved6 :8; /* 16 */
212
uchar reserved7 :2; /* 17 */
219
uchar wr_max_speed [2]; /* 18 */
220
uchar wr_current_speed [2];
222
uchar copy_mngt_rev [2]; /* 22 */
226
uchar reserved10 :6; /* 27 */
227
uchar current_rot_ctl :2;
229
uchar wr_selected_speed [2];
230
uchar wr_speed_desc_num [2];
232
BraseroScsiStatusWrSpdDesc wr_spd_desc [0]; /* 32 */
237
typedef struct _BraseroScsiStatusPage BraseroScsiStatusPage;
243
#endif /* _BURN_STATUS_PAGE_H */