]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix bug that that the template does not match fields in structure EFI_BLOCK_IO_MEDIA
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Dec 2009 06:26:54 +0000 (06:26 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 30 Dec 2009 06:26:54 +0000 (06:26 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9645 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c

index e46b071a73b6358782e794abf627e1333867fe46..c8a588e520030f474ca3444603cd6f4355d1b128 100644 (file)
@@ -52,10 +52,10 @@ ATA_DEVICE gAtaDeviceTemplate = {
     FALSE,                     // ReadOnly\r
     FALSE,                     // WritingCache\r
     0x200,                     // BlockSize \r
-    0,                         // LastBlock\r
     4,                         // IoAlign\r
-    1,                         // LogicalBlocksPerPhysicalBlock\r
-    0                          // LowestAlignedLba\r
+    0,                         // LastBlock\r
+    0,                         // LowestAlignedLba\r
+    1                          // LogicalBlocksPerPhysicalBlock\r
   },\r
   {                            // DiskInfo\r
     EFI_DISK_INFO_IDE_INTERFACE_GUID,\r