/** @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.<BR>\r
-All rights reserved. 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
\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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
/**\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
\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
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
\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
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