summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorreinoud <reinoud@NetBSD.org>2005-12-20 01:44:22 +0000
committerreinoud <reinoud@NetBSD.org>2005-12-20 01:44:22 +0000
commit4eae0d0cfea0abe85d3ab5fb661f2d10afd2dc6e (patch)
treefad2124d9d30ed97da3db0fdc219eb8968e4b371 /sys/dev
parent378a8ea13469b61406b1c7c935b47599c36cfa9e (diff)
The as `unused' specified field in the readdiscinfo SCSI command is really
application_code to be able to write to -RW media when its in restricted mode.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/scsipi/scsipi_cd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/scsipi/scsipi_cd.h b/sys/dev/scsipi/scsipi_cd.h
index 7265d5ee21f..38c6a5dc6d0 100644
--- a/sys/dev/scsipi/scsipi_cd.h
+++ b/sys/dev/scsipi/scsipi_cd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipi_cd.h,v 1.13 2005/12/11 23:34:27 simonb Exp $ */
+/* $NetBSD: scsipi_cd.h,v 1.14 2005/12/20 01:44:22 reinoud Exp $ */
/*
* Written by Julian Elischer (julian@tfs.com)
@@ -201,7 +201,7 @@ struct scsipi_read_discinfo_data {
uint8_t last_session_leadin_hmsf[4];
uint8_t last_possible_start_leadout_hmsf[4];
uint8_t disc_bar_code[8];
- uint8_t unused;
+ uint8_t application_code;
uint8_t num_opc_table_entries;
uint8_t opc_table_entries[1]; /* opc table entries follow */
} __attribute__((packed));