25#ifndef _EFI_IDE_CONTROLLER_INIT_PROTOCOL_H_
26#define _EFI_IDE_CONTROLLER_INIT_PROTOCOL_H_
33#define EFI_IDE_CONTROLLER_INIT_PROTOCOL_GUID \
35 0xa1e37052, 0x80d9, 0x4e65, {0xa3, 0x17, 0x3e, 0x9a, 0x55, 0xc4, 0x3e, 0xc9 } \
100 EfiAtaSataTransferProtocol
106#define EFI_SATA_AUTO_SPEED 0
111#define EFI_SATA_GEN1_SPEED 1
116#define EFI_SATA_GEN2_SPEED 2
215#define EFI_ATAPI_DEVICE_IDENTIFY_DATA 0x8000
274 OUT BOOLEAN *Enabled,
275 OUT UINT8 *MaxDevices
557extern EFI_GUID gEfiIdeControllerInitProtocolGuid;
EFI_STATUS(EFIAPI * EFI_IDE_CONTROLLER_CALCULATE_MODE)(IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This, IN UINT8 Channel, IN UINT8 Device, OUT EFI_ATA_COLLECTIVE_MODE **SupportedModes)
EFI_STATUS(EFIAPI * EFI_IDE_CONTROLLER_SUBMIT_DATA)(IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This, IN UINT8 Channel, IN UINT8 Device, IN EFI_IDENTIFY_DATA *IdentifyData)
EFI_STATUS(EFIAPI * EFI_IDE_CONTROLLER_SET_TIMING)(IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This, IN UINT8 Channel, IN UINT8 Device, IN EFI_ATA_COLLECTIVE_MODE *Modes)
ATA_IDENTIFY_DATA EFI_ATA_IDENTIFY_DATA
EFI_STATUS(EFIAPI * EFI_IDE_CONTROLLER_GET_CHANNEL_INFO)(IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This, IN UINT8 Channel, OUT BOOLEAN *Enabled, OUT UINT8 *MaxDevices)
EFI_STATUS(EFIAPI * EFI_IDE_CONTROLLER_NOTIFY_PHASE)(IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This, IN EFI_IDE_CONTROLLER_ENUM_PHASE Phase, IN UINT8 Channel)
EFI_IDE_CONTROLLER_ENUM_PHASE
@ EfiIdeBeforeChannelReset
@ EfiIdeAfterChannelEnumeration
@ EfiIdeAfterChannelReset
@ EfiIdeBeforeChannelEnumeration
@ EfiIdeBusAfterDevicePresenceDetection
@ EfiIdeBusBeforeDevicePresenceDetection
EFI_STATUS(EFIAPI * EFI_IDE_CONTROLLER_DISQUALIFY_MODE)(IN EFI_IDE_CONTROLLER_INIT_PROTOCOL *This, IN UINT8 Channel, IN UINT8 Device, IN EFI_ATA_COLLECTIVE_MODE *BadModes)
EFI_ATA_EXT_TRANSFER_PROTOCOL
EFI_IDE_CONTROLLER_SUBMIT_DATA SubmitData
EFI_IDE_CONTROLLER_DISQUALIFY_MODE DisqualifyMode
EFI_IDE_CONTROLLER_SET_TIMING SetTiming
EFI_IDE_CONTROLLER_CALCULATE_MODE CalculateMode
EFI_IDE_CONTROLLER_NOTIFY_PHASE NotifyPhase
EFI_IDE_CONTROLLER_GET_CHANNEL_INFO GetChannelInfo
EFI_ATA_MODE MultiWordDmaMode
EFI_ATA_MODE SingleWordDmaMode
EFI_ATA_EXT_TRANSFER_PROTOCOL TransferProtocol
UINT32 Mode
The actual ATA mode. This field is not a bit map.
BOOLEAN Valid
TRUE if Mode is valid.
EFI_ATAPI_IDENTIFY_DATA AtapiData
EFI_ATA_IDENTIFY_DATA AtaData