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:
parent
c80ba0ad1b
commit
ead5f16cef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104681
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user