diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-04 08:39:55 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-04 08:39:55 +0000 |
commit | 379f83dff03405050eb8b1d778276aa8f4a178bc (patch) | |
tree | b20bc627dbbb52e0f108942ebdf66566eb537ad5 /MdeModulePkg/Bus/Scsi/ScsiBusDxe | |
parent | baa9a782428f413631237d15989a5d369000abf3 (diff) | |
download | edk2-platforms-379f83dff03405050eb8b1d778276aa8f4a178bc.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Bus/Scsi/ScsiBusDxe')
-rw-r--r-- | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c index 1aa67c6386..3e510a65a7 100644 --- a/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c +++ b/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c @@ -1210,7 +1210,7 @@ DiscoverScsiDevice ( //
// ANSI-approved version
//
- ScsiIoDevice->ScsiVersion = (UINT8) (InquiryData.Version & 0x03);
+ ScsiIoDevice->ScsiVersion = (UINT8) (InquiryData.Version & 0x07);
}
return TRUE;
|