From 76389e18c04833a87811550ed6db06f1790aacde Mon Sep 17 00:00:00 2001 From: xdu2 Date: Fri, 21 Jan 2011 08:00:22 +0000 Subject: NetworkPkg: comments clean up. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11263 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/Mtftp6Dxe/Mtftp6Driver.c | 24 ++++++++++++------------ NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h | 20 ++++++++++---------- NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c | 4 ++-- 3 files changed, 24 insertions(+), 24 deletions(-) (limited to 'NetworkPkg/Mtftp6Dxe') diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.c b/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.c index d448c78a34..9aa401e408 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.c +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.c @@ -2,7 +2,7 @@ Driver Binding functions and Service Binding functions implementation for Mtftp6 Driver. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -270,7 +270,7 @@ Mtftp6DriverEntryPoint ( /** - Test to see if this driver supports ControllerHandle. This service + Test to see if this driver supports Controller. This service is called by the EFI boot service ConnectController(). In order to make drivers as small as possible, there are calling restrictions for this service. ConnectController() must @@ -278,7 +278,7 @@ Mtftp6DriverEntryPoint ( Supported(), it must also follow these calling restrictions. @param[in] This Protocol instance pointer. - @param[in] ControllerHandle Handle of device to test + @param[in] Controller Handle of device to test @param[in] RemainingDevicePath Optional parameter use to pick a specific child. device to start. @@ -306,7 +306,7 @@ Mtftp6DriverBindingSupported ( /** - Start this driver on ControllerHandle. This service is called by the + Start this driver on Controller. This service is called by the EFI boot service ConnectController(). In order to make drivers as small as possible, there are calling restrictions for this service. ConnectController() must follow these @@ -314,12 +314,12 @@ Mtftp6DriverBindingSupported ( must also follow these calling restrictions. @param[in] This Protocol instance pointer. - @param[in] ControllerHandle Handle of device to bind driver to. + @param[in] Controller Handle of device to bind driver to. @param[in] RemainingDevicePath Optional parameter use to pick a specific child device to start. - @retval EFI_SUCCESS This driver is added to ControllerHandle. - @retval EFI_ALREADY_STARTED This driver is already running on ControllerHandle. + @retval EFI_SUCCESS This driver is added to Controller. + @retval EFI_ALREADY_STARTED This driver is already running on Controller. @retval Others This driver does not support this device. **/ @@ -402,20 +402,20 @@ ON_ERROR: /** - Stop this driver on ControllerHandle. This service is called by the + Stop this driver on Controller. This service is called by the EFI boot service DisconnectController(). In order to - make drivers as small as possible, there are a few calling + make drivers as small as possible, there are calling restrictions for this service. DisconnectController() must follow these calling restrictions. If any other agent wishes - to call Stop() it must also follow these calling restrictions. + to call Stop(), it must also follow these calling restrictions. @param[in] This Protocol instance pointer. - @param[in] ControllerHandle Handle of device to stop driver on + @param[in] Controller Handle of device to stop driver on @param[in] NumberOfChildren Number of Handles in ChildHandleBuffer. If number of children is zero, stop the entire bus driver. @param[in] ChildHandleBuffer List of Child Handles to Stop. - @retval EFI_SUCCESS This driver is removed ControllerHandle. + @retval EFI_SUCCESS This driver is removed Controller. @retval EFI_DEVICE_ERROR An unexpected error. @retval Others This driver was not removed from this device. diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h b/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h index 94f73a80a9..7c2b5ae313 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h @@ -2,7 +2,7 @@ Driver Binding functions and Service Binding functions declaration for Mtftp6 Driver. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -23,7 +23,7 @@ extern EFI_COMPONENT_NAME_PROTOCOL gMtftp6ComponentName; extern EFI_COMPONENT_NAME2_PROTOCOL gMtftp6ComponentName2; /** - Test to see if this driver supports ControllerHandle. This service + Test to see if this driver supports Controller. This service is called by the EFI boot service ConnectController(). In order to make drivers as small as possible, there are a few calling restrictions for this service. ConnectController() must @@ -31,7 +31,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gMtftp6ComponentName2; Supported(), it must also follow these calling restrictions. @param[in] This Protocol instance pointer. - @param[in] ControllerHandle Handle of device to test. + @param[in] Controller Handle of device to test. @param[in] RemainingDevicePath Optional parameter use to pick a specific child device to start. @@ -48,7 +48,7 @@ Mtftp6DriverBindingSupported ( ); /** - Start this driver on ControllerHandle. This service is called by the + Start this driver on Controller. This service is called by the EFI boot service ConnectController(). In order to make drivers as small as possible, there are calling restrictions for this service. ConnectController() must follow these @@ -56,12 +56,12 @@ Mtftp6DriverBindingSupported ( must also follow these calling restrictions. @param[in] This Protocol instance pointer. - @param[in] ControllerHandle Handle of device to bind driver to. + @param[in] Controller Handle of device to bind driver to. @param[in] RemainingDevicePath Optional parameter use to pick a specific child device to start. - @retval EFI_SUCCESS This driver is added to ControllerHandle. - @retval EFI_ALREADY_STARTED This driver is already running on ControllerHandle. + @retval EFI_SUCCESS This driver is added to Controller. + @retval EFI_ALREADY_STARTED This driver is already running on Controller. @retval Others This driver does not support this device. **/ @@ -74,7 +74,7 @@ Mtftp6DriverBindingStart ( ); /** - Stop this driver on ControllerHandle. This service is called by the + Stop this driver on Controller. This service is called by the EFI boot service DisconnectController(). In order to make drivers as small as possible, there are calling restrictions for this service. DisconnectController() @@ -82,12 +82,12 @@ Mtftp6DriverBindingStart ( to call Stop(), it must also follow these calling restrictions. @param[in] This Protocol instance pointer. - @param[in] ControllerHandle Handle of device to stop driver on + @param[in] Controller Handle of device to stop driver on @param[in] NumberOfChildren Number of Handles in ChildHandleBuffer. If number of children is zero, stop the entire bus driver. @param[in] ChildHandleBuffer List of Child Handles to Stop. - @retval EFI_SUCCESS This driver is removed ControllerHandle. + @retval EFI_SUCCESS This driver is removed Controller. @retval EFI_DEVICE_ERROR An unexpected error. @retval Others This driver was not removed from this device. diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c index da364329fc..07a86d6a36 100644 --- a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c +++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c @@ -1,7 +1,7 @@ /** @file Mtftp6 Rrq process functions implementation. - Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -105,7 +105,7 @@ Mtftp6RrqSaveBlock ( // This is the last block, save the block num // if (DataLen < Instance->BlkSize) { - Completed = TRUE; + Completed = TRUE; Instance->LastBlk = Block; Mtftp6SetLastBlockNum (&Instance->BlkList, Block); } -- cgit v1.2.3