CVS commit: src/sys/dev/scsipi

"Michael van Elst" <[email protected]> Thu, 16 Jul 2026 06:19:25 +0000
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	mlelstv
Date:		Thu Jul 16 06:19:25 UTC 2026

Modified Files:
	src/sys/dev/scsipi: cd.c

Log Message:
SCSI-2 and later define READ(6) as optional and READ(10) as mandatory
and some devices (e.g. the Linux iSCSI tgtd) reject the small commands.

MODE_SENSE(6) and MODE_SENSE(10) can both be optional, so it's possible
that a SCSI-2 device only implements READ(10) and MODE_SENSE(6), which
then needs further refinement.


To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357 src/sys/dev/scsipi/cd.c

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