]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppy.c
IntelFrameworkModulePkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / IsaFloppyDxe / IsaFloppy.c
index 65555d3eb1433a3bd1d10d6511fa8bea6b0b2db7..768b74c987567c9d1f6895100121afd8c786aa3a 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   ISA Floppy Disk UEFI Driver conforming to the UEFI driver model\r
 \r
-  1. Support two types diskette drive  \r
+  1. Support two types diskette drive\r
      1.44M drive and 2.88M drive (and now only support 1.44M)\r
   2. Support two diskette drives per floppy disk controller\r
   3. Use DMA channel 2 to transfer data\r
   4. Do not use interrupt\r
   5. Support diskette change line signal and write protect\r
-  \r
-Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+\r
+Copyright (c) 2006 - 2018, 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
@@ -39,9 +39,9 @@ EFI_DRIVER_BINDING_PROTOCOL gFdcControllerDriver = {
 /**\r
   The main Entry Point for this driver.\r
 \r
-  @param[in] ImageHandle  The firmware allocated handle for the EFI image.  \r
+  @param[in] ImageHandle  The firmware allocated handle for the EFI image.\r
   @param[in] SystemTable  A pointer to the EFI System Table.\r
-  \r
+\r
   @retval EFI_SUCCESS     The entry point is executed successfully.\r
   @retval other           Some error occurs when executing this entry point.\r
 **/\r
@@ -72,14 +72,14 @@ InitializeIsaFloppy(
 \r
 /**\r
   Test if the controller is a floppy disk drive device\r
-  \r
-  @param[in] This                 A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.  \r
+\r
+  @param[in] This                 A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
   @param[in] Controller           The handle of the controller to test.\r
   @param[in] RemainingDevicePath  A pointer to the remaining portion of a device path.\r
-  \r
+\r
   @retval EFI_SUCCESS             The device is supported by this driver.\r
   @retval EFI_ALREADY_STARTED     The device is already being managed by this driver.\r
-  @retval EFI_ACCESS_DENIED       The device is already being managed by a different driver \r
+  @retval EFI_ACCESS_DENIED       The device is already being managed by a different driver\r
                                   or an application that requires exclusive access.\r
   @retval EFI_UNSUPPORTED         The device is is not supported by this driver.\r
 **/\r
@@ -159,10 +159,10 @@ FdcControllerDriverSupported (
   Start this driver on Controller.\r
 \r
   @param[in] This                  A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
-  @param[in] ControllerHandle      The handle of the controller to start. This handle \r
-                                   must support a protocol interface that supplies \r
+  @param[in] ControllerHandle      The handle of the controller to start. This handle\r
+                                   must support a protocol interface that supplies\r
                                    an I/O abstraction to the driver.\r
-  @param[in] RemainingDevicePath   A pointer to the remaining portion of a device path. \r
+  @param[in] RemainingDevicePath   A pointer to the remaining portion of a device path.\r
                                    This parameter is ignored by device drivers, and is optional for bus drivers.\r
 \r
   @retval EFI_SUCCESS              The device was started.\r
@@ -248,7 +248,7 @@ FdcControllerDriverStart (
 \r
   FdcDev->ControllerNameTable = NULL;\r
   AddName (FdcDev);\r
-  \r
+\r
   //\r
   // Look up the base address of the Floppy Disk Controller which controls this floppy device\r
   //\r
@@ -397,11 +397,11 @@ Done:
   Stop this driver on ControllerHandle.\r
 \r
   @param[in] This               A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
-  @param[in] ControllerHandle   A handle to the device being stopped. The handle must \r
-                                support a bus specific I/O protocol for the driver \r
+  @param[in] ControllerHandle   A handle to the device being stopped. The handle must\r
+                                support a bus specific I/O protocol for the driver\r
                                 to use to stop the device.\r
   @param[in] NumberOfChildren   The number of child device handles in ChildHandleBuffer.\r
-  @param[in] ChildHandleBuffer  An array of child handles to be freed. May be NULL \r
+  @param[in] ChildHandleBuffer  An array of child handles to be freed. May be NULL\r
                                 if NumberOfChildren is 0.\r
 \r
   @retval EFI_SUCCESS           The device was stopped.\r