2 * This file has been modified for the cdrkit suite.
4 * The behaviour and appearence of the program code below can differ to a major
5 * extent from the version distributed by the original author(s).
7 * For details, see Changelog file distributed with the cdrkit package. If you
8 * received this file from another source then ask the distributing person for
9 * a log of modifications.
13 /* @(#)mmcvendor.h 1.3 04/03/01 Copyright 2002-2004 J. Schilling */
15 * Copyright (c) 2002-2004 J. Schilling
18 * This program is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License version 2
20 * as published by the Free Software Foundation.
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License along with
28 * this program; see the file COPYING. If not, write to the Free Software
29 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
38 #if defined(_BIT_FIELDS_LTOH) /* Intel bitorder */
40 struct ricoh_mode_page_30 {
41 MP_P_CODE; /* parsave & pagecode */
42 Uchar p_len; /* 0xE = 14 Bytes */
43 Ucbit BUEFS :1; /* Burn-Free supported */
44 Ucbit TWBFS :1; /* Test Burn-Free sup. */
46 Ucbit ARSCS :1; /* Auto read speed control supp. */
47 Ucbit AWSCS :1; /* Auto write speed control supp. */
49 Ucbit BUEFE :1; /* Burn-Free enabled */
51 Ucbit ARSCE :1; /* Auto read speed control enabled */
52 Ucbit AWSCD :1; /* Auto write speed control disabled */
54 Uchar link_counter[2]; /* Burn-Free link counter */
55 Uchar res[10]; /* Padding up to 16 bytes */
58 #else /* Motorola bitorder */
60 struct ricoh_mode_page_30 {
61 MP_P_CODE; /* parsave & pagecode */
62 Uchar p_len; /* 0xE = 14 Bytes */
64 Ucbit AWSCS :1; /* Auto write speed control supp. */
65 Ucbit ARSCS :1; /* Auto read speed control supp. */
67 Ucbit TWBFS :1; /* Test Burn-Free sup. */
68 Ucbit BUEFS :1; /* Burn-Free supported */
70 Ucbit AWSCD :1; /* Auto write speed control disabled */
71 Ucbit ARSCE :1; /* Auto read speed control enabled */
73 Ucbit BUEFE :1; /* Burn-Free enabled */
74 Uchar link_counter[2]; /* Burn-Free link counter */
75 Uchar res[10]; /* Padding up to 16 bytes */
79 struct cd_mode_vendor {
80 struct scsi_mode_header header;
82 struct ricoh_mode_page_30 page30;
87 #endif /* _MMCVENDOR_H */