]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
Add generic HPET Timer DXE Driver and support libraries
[mirror_edk2.git] / PcAtChipsetPkg / Bus / Pci / IdeControllerDxe / IdeController.h
index 581361d24f3b8f08449177ee4e9811d23873a4b0..b612fbab246563cda796cbb1d9f0a8b290974d99 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Header file for IDE controller driver.\r
 \r
-  Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2008 - 2011, 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
@@ -12,8 +12,8 @@
 \r
 **/\r
 \r
-#ifndef _IDE_CONTROLLER_H\r
-#define _IDE_CONTROLLER_H\r
+#ifndef _IDE_CONTROLLER_H_\r
+#define _IDE_CONTROLLER_H_\r
 \r
 #include <Uefi.h>\r
 #include <Protocol/ComponentName.h>\r
@@ -155,7 +155,7 @@ EFIAPI
 IdeInitNotifyPhase (\r
   IN  EFI_IDE_CONTROLLER_INIT_PROTOCOL  *This,\r
   IN  EFI_IDE_CONTROLLER_ENUM_PHASE     Phase,\r
-  OUT UINT8                             Channel\r
+  IN  UINT8                             Channel\r
   )\r
 ;\r
 \r
@@ -219,7 +219,7 @@ IdeInitCalculateMode (
   IN  EFI_IDE_CONTROLLER_INIT_PROTOCOL  *This,\r
   IN  UINT8                             Channel,\r
   IN  UINT8                             Device,\r
-  IN  EFI_ATA_COLLECTIVE_MODE           **SupportedModes\r
+  OUT EFI_ATA_COLLECTIVE_MODE           **SupportedModes\r
   )\r
 ;\r
 \r
@@ -285,7 +285,7 @@ IdeControllerComponentNameGetDriverName (
   @param ControllerHandle       The handle of a controller that the driver specified by\r
                                 This is managing.  This handle specifies the controller\r
                                 whose name is to be returned.\r
-  @param OPTIONAL               The handle of the child controller to retrieve the name\r
+  @param OPTIONAL   ChildHandle The handle of the child controller to retrieve the name\r
                                 of.  This is an optional parameter that may be NULL.  It\r
                                 will be NULL for device drivers.  It will also be NULL\r
                                 for a bus drivers that wish to retrieve the name of the\r
@@ -306,7 +306,7 @@ IdeControllerComponentNameGetDriverName (
   @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_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.\r
+  @retval EFI_INVALID_PARAMETER ControllerHandle is NULL.\r
   @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid\r
                                 EFI_HANDLE.\r
   @retval EFI_INVALID_PARAMETER Language is NULL.\r