/** @file\r
The header file of IScsiDhcp.\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2010, 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
http://opensource.org/licenses/bsd-license.php\r
#define ISCSI_ROOT_PATH_ID "iscsi:"\r
#define ISCSI_ROOT_PATH_FIELD_DELIMITER ':'\r
\r
-typedef enum {\r
- RP_FIELD_IDX_SERVERNAME = 0,\r
- RP_FIELD_IDX_PROTOCOL,\r
- RP_FIELD_IDX_PORT,\r
- RP_FIELD_IDX_LUN,\r
- RP_FIELD_IDX_TARGETNAME,\r
- RP_FIELD_IDX_MAX\r
-} RP_FIELD_IDX;\r
+#define RP_FIELD_IDX_SERVERNAME 0\r
+#define RP_FIELD_IDX_PROTOCOL 1\r
+#define RP_FIELD_IDX_PORT 2\r
+#define RP_FIELD_IDX_LUN 3\r
+#define RP_FIELD_IDX_TARGETNAME 4\r
+#define RP_FIELD_IDX_MAX 5\r
\r
typedef struct _ISCSI_ROOT_PATH_FIELD {\r
CHAR8 *Str;\r
\r
@retval EFI_SUCCESS The DNS information is got from the DHCP ACK.\r
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
+ @retval EFI_NO_MEDIA There was a media error.\r
@retval Others Other errors as indicated.\r
+\r
**/\r
EFI_STATUS\r
IScsiDoDhcp (\r