This commit is contained in:
jchen20 2009-06-26 07:14:08 +00:00
parent ef13cf23ee
commit 9b90631549
3 changed files with 3 additions and 9 deletions

View File

@ -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;

View File

@ -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

View File

@ -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
);