]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h
RefRefine soma code to make code run safely.
[mirror_edk2.git] / PcAtChipsetPkg / Bus / Pci / IdeControllerDxe / IdeController.h
index 581361d24f3b8f08449177ee4e9811d23873a4b0..79763496ee7df9fc991066a652e6a9798866cf3f 100644 (file)
@@ -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