/** @file\r
Implementation of starting a network adapter.\r
\r
-Copyright (c) 2004 - 2007, Intel Corporation. <BR> \r
-All rights reserved. This program and the accompanying materials are licensed \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
\r
/**\r
- this routine calls undi to start the interface and changes the snp state.\r
+ Call UNDI to start the interface and changes the snp state.\r
\r
- @param Snp pointer to snp driver structure\r
+ @param Snp pointer to snp driver structure.\r
\r
- @retval EFI_DEVICE_ERROR UNDI could not be started\r
- @retval EFI_SUCCESS UNDI is started successfully\r
+ @retval EFI_SUCCESS UNDI is started successfully.\r
+ @retval EFI_DEVICE_ERROR UNDI could not be started.\r
\r
**/\r
EFI_STATUS\r
// a S/W UNDI.\r
//\r
if (Snp->IsSwUndi) {\r
- Snp->Cdb.CPBsize = sizeof (PXE_CPB_START_31);\r
+ Snp->Cdb.CPBsize = (UINT16) sizeof (PXE_CPB_START_31);\r
Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb31;\r
\r
Cpb31->Delay = (UINT64)(UINTN) &SnpUndi32CallbackDelay;\r
\r
\r
/**\r
- Changes the state of a network interface from "stopped" to "started."\r
+ Change the state of a network interface from "stopped" to "started."\r
\r
This function starts a network interface. If the network interface successfully\r
starts, then EFI_SUCCESS will be returned.\r