From 3bfa77f0f6dc52dc867318b86ddd23bcf504818f Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 30 Dec 2009 06:26:54 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 6 +++--- 1 file 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, -- 2.39.2