Subject: CVS commit: syssrc/sys/dev/scsipi
To: None <source-changes@netbsd.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 11/03/2002 23:14:29
Module Name:	syssrc
Committed By:	jdc
Date:		Sun Nov  3 21:14:28 UTC 2002

Modified Files:
	syssrc/sys/dev/scsipi: cd_scsi.c

Log Message:
Apply patch from Takeshi Nakayama on current-users which fixes problems
when trying to play audio CD's on some drives.  The original message was :

> In my analysis, rev 1.19 of cd_scsi.c used cd_scsibus_set_mode()
> instead of scsipi_mode_select(). cd_scsibus_set_mode() had the code
> which clear a data.header.data_length, but scsipi_mode_select()
> does not have. So we need `data.header.data_length = 0;' before
> calling scsipi_mode_select().

Fixes PR 7299 and probably PR 15155 and PR 16883 too.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 syssrc/sys/dev/scsipi/cd_scsi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.