Header file for IDE controller driver.\r
\r
Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r
Header file for IDE controller driver.\r
\r
Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
extern EFI_COMPONENT_NAME_PROTOCOL gIdeControllerComponentName;\r
extern EFI_COMPONENT_NAME2_PROTOCOL gIdeControllerComponentName2;\r
\r
extern EFI_COMPONENT_NAME_PROTOCOL gIdeControllerComponentName;\r
extern EFI_COMPONENT_NAME2_PROTOCOL gIdeControllerComponentName2;\r
\r
Register Driver Binding protocol for this driver.\r
\r
@param This A pointer points to the Binding Protocol instance\r
Register Driver Binding protocol for this driver.\r
\r
@param This A pointer points to the Binding Protocol instance\r
@param RemainingDevicePath A pointer to the device path. Ignored by device\r
driver but used by bus driver\r
@param RemainingDevicePath A pointer to the device path. Ignored by device\r
driver but used by bus driver\r
\r
@param This A pointer points to the Binding Protocol instance\r
@param Controller The handle of controller to be tested. Parameter\r
passed by the caller\r
@param RemainingDevicePath A pointer to the device path. Should be ignored by\r
device driver\r
\r
@param This A pointer points to the Binding Protocol instance\r
@param Controller The handle of controller to be tested. Parameter\r
passed by the caller\r
@param RemainingDevicePath A pointer to the device path. Should be ignored by\r
device driver\r
- \r
- @retval EFI_SUCESS This driver is removed DeviceHandle \r
- @retval !EFI_SUCCESS This driver was not removed from this device \r
+\r
+ @retval EFI_SUCESS This driver is removed DeviceHandle\r
+ @retval !EFI_SUCCESS This driver was not removed from this device\r
- This function can be used to obtain information about a specified channel. \r
- It's usually used by IDE Bus driver during enumeration process. \r
+ This function can be used to obtain information about a specified channel.\r
+ It's usually used by IDE Bus driver during enumeration process.\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel Channel number (0 based, either 0 or 1)\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel Channel number (0 based, either 0 or 1)\r
then it will no be enumerated.\r
@param MaxDevices The Max number of IDE devices that the bus driver can expect\r
on this channel. For ATA/ATAPI, this number is either 1 or 2.\r
then it will no be enumerated.\r
@param MaxDevices The Max number of IDE devices that the bus driver can expect\r
on this channel. For ATA/ATAPI, this number is either 1 or 2.\r
@retval EFI_SUCCESS Success to get channel information\r
@retval EFI_INVALID_PARAMETER Invalid channel id.\r
**/\r
@retval EFI_SUCCESS Success to get channel information\r
@retval EFI_INVALID_PARAMETER Invalid channel id.\r
**/\r
- This function is called by IdeBus driver before executing certain actions. \r
- This allows IDE Controller Init to prepare for each action. \r
+ This function is called by IdeBus driver before executing certain actions.\r
+ This allows IDE Controller Init to prepare for each action.\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Phase phase indicator defined by IDE_CONTROLLER_INIT protocol\r
@param Channel Channel number (0 based, either 0 or 1)\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Phase phase indicator defined by IDE_CONTROLLER_INIT protocol\r
@param Channel Channel number (0 based, either 0 or 1)\r
\r
@param This The EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param IdentifyData A pointer to EFI_IDENTIFY_DATA data structure\r
\r
@param This The EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param IdentifyData A pointer to EFI_IDENTIFY_DATA data structure\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param BadModes Operation mode indicator\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param BadModes Operation mode indicator\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param SupportedModes Modes collection supported by IDE device\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param SupportedModes Modes collection supported by IDE device\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param Modes IDE device modes\r
\r
@param This the EFI_IDE_CONTROLLER_INIT_PROTOCOL instance.\r
@param Channel IDE channel number (0 based, either 0 or 1)\r
@param Device IDE device number\r
@param Modes IDE device modes\r
@param DriverName A pointer to the Unicode string to return. This Unicode string\r
is the name of the driver specified by This in the language\r
specified by Language.\r
@param DriverName A pointer to the Unicode string to return. This Unicode string\r
is the name of the driver specified by This in the language\r
specified by Language.\r
@retval EFI_SUCCESS The Unicode string for the Driver specified by This\r
and the language specified by Language was returned\r
in DriverName.\r
@retval EFI_SUCCESS The Unicode string for the Driver specified by This\r
and the language specified by Language was returned\r
in DriverName.\r
\r
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.\r
@param ControllerHandle The handle of a controller that the driver specified by\r
\r
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.\r
@param ControllerHandle The handle of a controller that the driver specified by\r
ControllerHandle and ChildHandle in the language\r
specified by Language from the point of view of the\r
driver specified by This.\r
ControllerHandle and ChildHandle in the language\r
specified by Language from the point of view of the\r
driver specified by This.\r
@retval EFI_SUCCESS The Unicode string for the user readable name in the\r
language specified by Language for the driver\r
specified by This was returned in DriverName.\r
@retval EFI_SUCCESS The Unicode string for the user readable name in the\r
language specified by Language for the driver\r
specified by This was returned in DriverName.\r