summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-30 06:26:54 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-30 06:26:54 +0000
commit3bfa77f0f6dc52dc867318b86ddd23bcf504818f (patch)
tree999abf43b0f0870a2438da24dd65489a3bd91281 /MdeModulePkg
parent74bafbaed969ab60f7aa91e74f626268550b5a81 (diff)
downloadedk2-platforms-3bfa77f0f6dc52dc867318b86ddd23bcf504818f.tar.xz
Fix bug that that the template does not match fields in structure EFI_BLOCK_IO_MEDIA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9645 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
index e46b071a73..c8a588e520 100644
--- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
+++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
@@ -52,10 +52,10 @@ ATA_DEVICE gAtaDeviceTemplate = {
FALSE, // ReadOnly
FALSE, // WritingCache
0x200, // BlockSize
- 0, // LastBlock
4, // IoAlign
- 1, // LogicalBlocksPerPhysicalBlock
- 0 // LowestAlignedLba
+ 0, // LastBlock
+ 0, // LowestAlignedLba
+ 1 // LogicalBlocksPerPhysicalBlock
},
{ // DiskInfo
EFI_DISK_INFO_IDE_INTERFACE_GUID,