Several SCSI command implementations in UefiScsiLib encode the LUN in
Cdb[1] bits [7:5]. For READ and WRITE commands, this conflicts directly
with the RDPROTECT and WRPROTECT bitfield definitions in SBC-3, whereas
for a number of other commands it conflicts with Reserved
(all-bits-zero) bitfield definitions in SPC-4 and SBC-3.

New in v4:
- format patches with 11 context lines for easier reviewability
- add patch #2 to update SCSI commands different from READ and WRITE too
  [Feng]
- public branch:
  https://github.com/lersek/edk2/commits/bz1166971_rdwrvr_cdb_lun_encode_v4

Thanks,
Laszlo

Laszlo Ersek (2):
  MdePkg: UefiScsiLib: do not encode LUN in CDB for READ and WRITE
  MdePkg: UefiScsiLib: do not encode LUN in CDB for other SCSI commands

 MdePkg/Library/UefiScsiLib/UefiScsiLib.c | 81 +-------------------------------
 1 file changed, 1 insertion(+), 80 deletions(-)

-- 
1.8.3.1


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to