According to SCSI spec, ANSI version is 3 bits, so 0x7 should be used to get correct ANSI version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10773 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
li-elvin
2010-08-04 08:39:55 +00:00
parent baa9a78242
commit 379f83dff0
2 changed files with 5 additions and 5 deletions

View File

@@ -1210,7 +1210,7 @@ DiscoverScsiDevice (
//
// ANSI-approved version
//
ScsiIoDevice->ScsiVersion = (UINT8) (InquiryData.Version & 0x03);
ScsiIoDevice->ScsiVersion = (UINT8) (InquiryData.Version & 0x07);
}
return TRUE;