summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/cd.h14
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