diff options
author | Michael Coulter <mjc@cvs.openbsd.org> | 2007-05-27 01:15:33 +0000 |
---|---|---|
committer | Michael Coulter <mjc@cvs.openbsd.org> | 2007-05-27 01:15:33 +0000 |
commit | e7ad94018faf8042b6e53d7897782f3108643b89 (patch) | |
tree | 9ff9f9a3cc8c7a947d5d728990e79cc711ce09ef /sys | |
parent | 865e82ef84474c6020bb7962f04d7ad749b661a4 (diff) |
add more struct/define stuff for use in cdio
ok krw@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/cd.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/scsi/cd.h b/sys/scsi/cd.h index 96fe32ec648..d0a4e3646b1 100644 --- a/sys/scsi/cd.h +++ b/sys/scsi/cd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.h,v 1.14 2006/12/12 02:44:36 krw Exp $ */ +/* $OpenBSD: cd.h,v 1.15 2007/05/27 01:15:32 mjc Exp $ */ /* $NetBSD: scsi_cd.h,v 1.6 1996/03/19 03:06:39 mycroft Exp $ */ /* @@ -180,6 +180,17 @@ struct scsi_load_unload { u_int8_t control; }; +struct scsi_set_cd_speed { + u_int8_t opcode; + u_int8_t rotation; +#define ROTATE_CLV 0 +#define ROTATE_CAV 1 + u_int8_t read[2]; + u_int8_t write[2]; + u_int8_t reserved[5]; + u_int8_t control; +}; + /* * Opcodes */ @@ -199,6 +210,7 @@ struct scsi_load_unload { #define PLAY_BIG 0xa5 /* cdrom pause in 'play audio' mode */ #define LOAD_UNLOAD 0xa6 /* cdrom load/unload media */ #define PLAY_TRACK_REL_BIG 0xa9 /* cdrom play track/index mode */ +#define SET_CD_SPEED 0xbb /* set cdrom read/write speed */ /* * Mode pages |