From 4eae0d0cfea0abe85d3ab5fb661f2d10afd2dc6e Mon Sep 17 00:00:00 2001 From: reinoud Date: Tue, 20 Dec 2005 01:44:22 +0000 Subject: 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. --- sys/dev/scsipi/scsipi_cd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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)); -- cgit