mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ef13cf23ee
commit
9b90631549
|
@ -1058,7 +1058,7 @@ AtapiReadCapacity (
|
|||
(Data.LastLba1 << 8) |
|
||||
Data.LastLba0;
|
||||
|
||||
IdeDev->BlkIo.Media->MediaPresent = TRUE;
|
||||
IdeDev->BlkIo.Media->MediaPresent = TRUE;
|
||||
|
||||
IdeDev->BlkIo.Media->ReadOnly = TRUE;
|
||||
|
||||
|
|
|
@ -698,11 +698,8 @@ DiscoverIdeDevice (
|
|||
/**
|
||||
This interface is used to initialize all state data related to the detection of one
|
||||
channel.
|
||||
|
||||
@retval EFI_SUCCESS Completed Successfully.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
VOID
|
||||
InitializeIDEChannelData (
|
||||
VOID
|
||||
)
|
||||
|
@ -712,7 +709,6 @@ InitializeIDEChannelData (
|
|||
MasterDeviceType = 0xff;
|
||||
SlaveDeviceExist = FALSE;
|
||||
SlaveDeviceType = 0xff;
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
/**
|
||||
This function is used to poll for the DRQ bit clear in the Status
|
||||
|
|
|
@ -201,10 +201,8 @@ DiscoverIdeDevice (
|
|||
This interface is used to initialize all state data related to the
|
||||
detection of one channel.
|
||||
|
||||
@retval EFI_SUCCESS Completed successfully.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
VOID
|
||||
InitializeIDEChannelData (
|
||||
VOID
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue