X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=MdeModulePkg%2FBus%2FAta%2FAtaBusDxe%2FAtaPassThruExecute.c;h=acfbd743943ae9829b6d3d2f132d41ecba99ff8e;hb=fcf5e49dc912f27b77b50ddea3c6b7a4ba28717c;hp=b10a7a7842ddfc2e4069d17598a2f1fbee09a9bd;hpb=c61f936286cd8b929835dce81424a19fbcebba95;p=mirror_edk2.git diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c index b10a7a7842..acfbd74394 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c @@ -5,8 +5,8 @@ It transforms the high level identity, read/write, reset command to ATA pass through command and protocol. - Copyright (c) 2009 - 2010 Intel Corporation.
- All rights reserved. This program and the accompanying materials + Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -354,6 +354,7 @@ DiscoverAtaDevice ( // Acb = ZeroMem (&AtaDevice->Acb, sizeof (*Acb)); Acb->AtaCommand = ATA_CMD_IDENTIFY_DRIVE; + Acb->AtaDeviceHead = (UINT8) (BIT7 | BIT6 | BIT5 | (AtaDevice->PortMultiplierPort << 4)); // // Prepare for ATA pass through packet.