]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/SnpDxe/Shutdown.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Network / SnpDxe / Shutdown.c
index 1f5199277849ac23c0b5c9cbb90bc1292f33a56b..670e93b037c4a4ca78060853593f5b4d14f368b3 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
     Implementation of shuting down a network adapter.\r
 /** @file\r
     Implementation of shuting down a network adapter.\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed \r
-and made available under the terms and conditions of the BSD License which \r
-accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
+\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed\r
+and made available under the terms and conditions of the BSD License which\r
+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
 \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
@@ -74,12 +74,12 @@ PxeShutdown (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Resets a network adapter and leaves it in a state that is safe for another \r
-  driver to initialize. \r
-  \r
+  Resets a network adapter and leaves it in a state that is safe for another\r
+  driver to initialize.\r
+\r
   This function releases the memory buffers assigned in the Initialize() call.\r
   Pending transmits and receives are lost, and interrupts are cleared and disabled.\r
   This function releases the memory buffers assigned in the Initialize() call.\r
   Pending transmits and receives are lost, and interrupts are cleared and disabled.\r
-  After this call, only the Initialize() and Stop() calls may be used. If the \r
+  After this call, only the Initialize() and Stop() calls may be used. If the\r
   network interface was successfully shutdown, then EFI_SUCCESS will be returned.\r
   If the driver has not been initialized, EFI_DEVICE_ERROR will be returned.\r
 \r
   network interface was successfully shutdown, then EFI_SUCCESS will be returned.\r
   If the driver has not been initialized, EFI_DEVICE_ERROR will be returned.\r
 \r
@@ -87,7 +87,7 @@ PxeShutdown (
 \r
   @retval EFI_SUCCESS           The network interface was shutdown.\r
   @retval EFI_NOT_STARTED       The network interface has not been started.\r
 \r
   @retval EFI_SUCCESS           The network interface was shutdown.\r
   @retval EFI_NOT_STARTED       The network interface has not been started.\r
-  @retval EFI_INVALID_PARAMETER This parameter was NULL or did not point to a valid \r
+  @retval EFI_INVALID_PARAMETER This parameter was NULL or did not point to a valid\r
                                 EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
   @retval EFI_DEVICE_ERROR      The command could not be sent to the network interface.\r
 \r
                                 EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
   @retval EFI_DEVICE_ERROR      The command could not be sent to the network interface.\r
 \r
@@ -128,7 +128,7 @@ SnpUndi32Shutdown (
     Status = EFI_DEVICE_ERROR;\r
     goto ON_EXIT;\r
   }\r
     Status = EFI_DEVICE_ERROR;\r
     goto ON_EXIT;\r
   }\r
-  \r
+\r
   Status                          = PxeShutdown (Snp);\r
 \r
   Snp->Mode.State                 = EfiSimpleNetworkStarted;\r
   Status                          = PxeShutdown (Snp);\r
 \r
   Snp->Mode.State                 = EfiSimpleNetworkStarted;\r