Fix the location of the length bytes in the 12-byte read/write CDB

structure.  This has been broken since 1998, but probably hasn't been
noticed because it takes a read/write of 64K blocks (32MB with 512 byte
blocks) to trigger using the 12 byte read/write CDB in scsi_read_write().

Submitted by:	"Moore, Eric Dean" <emoore@lsil.com>
MFC after:	3 days
This commit is contained in:
ken 2002-10-08 17:12:44 +00:00
parent 07c608aac1
commit 13b9c6f277

View File

@ -436,8 +436,8 @@ struct scsi_rw_12
#define SRW12_DPO 0x10
u_int8_t byte2;
u_int8_t addr[4];
u_int8_t reserved;
u_int8_t length[4];
u_int8_t reserved;
u_int8_t control;
};