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