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
07c608aac1
commit
13b9c6f277
@ -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