]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c
Fix bug that that the template does not match fields in structure EFI_BLOCK_IO_MEDIA
[mirror_edk2.git] / 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
     FALSE,                     // ReadOnly\r
     FALSE,                     // WritingCache\r
     0x200,                     // BlockSize \r
-    0,                         // LastBlock\r
     4,                         // IoAlign\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
   },\r
   {                            // DiskInfo\r
     EFI_DISK_INFO_IDE_INTERFACE_GUID,\r