Fill AtaDeviceHeader field in ATA command block

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10849 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2010-09-02 08:00:27 +00:00
parent e527bd203a
commit 034ffda8b2
1 changed files with 1 additions and 0 deletions

View File

@ -354,6 +354,7 @@ DiscoverAtaDevice (
// //
Acb = ZeroMem (&AtaDevice->Acb, sizeof (*Acb)); Acb = ZeroMem (&AtaDevice->Acb, sizeof (*Acb));
Acb->AtaCommand = ATA_CMD_IDENTIFY_DRIVE; Acb->AtaCommand = ATA_CMD_IDENTIFY_DRIVE;
Acb->AtaDeviceHead = (UINT8) (BIT7 | BIT6 | BIT5 | (AtaDevice->PortMultiplierPort << 4));
// //
// Prepare for ATA pass through packet. // Prepare for ATA pass through packet.