\r
/*++\r
\r
-Copyright (c) 2006, Intel Corporation.\r
+Copyright (c) 2006 - 2007, Intel Corporation.\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
#define MUST_BE_INITIALIZED 2\r
\r
#define UNDI_DEV_SIGNATURE EFI_SIGNATURE_32('u','n','d','i')\r
-#define UNDI_DEV_FROM_THIS(a) CR(a, UNDI32_DEV, NIIProtocol, UNDI_DEV_SIGNATURE)\r
+#define UNDI_DEV_FROM_THIS(a) CR(a, UNDI32_DEV, NIIProtocol_31, UNDI_DEV_SIGNATURE)\r
#define UNDI_DEV_FROM_NIC(a) CR(a, UNDI32_DEV, NicInfo, UNDI_DEV_SIGNATURE)\r
\r
typedef struct {\r
UINTN Signature;\r
- EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL NIIProtocol;\r
EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL NIIProtocol_31;\r
EFI_HANDLE DeviceHandle;\r
EFI_DEVICE_PATH_PROTOCOL *Undi32BaseDevPath;\r
typedef VOID (*sync_mem)(UINT64, UINT64, UINT32, UINT32, UINT64);\r
\r
extern UNDI_CALL_TABLE api_table[];\r
-extern PXE_SW_UNDI *pxe; // !pxe structure\r
extern PXE_SW_UNDI *pxe_31; // !pxe structure for 3.1 drivers\r
extern UNDI32_DEV *UNDI32DeviceList[MAX_NIC_INTERFACES];\r
\r
);\r
\r
VOID UNDI_APIEntry_new(UINT64);\r
-VOID UNDI_APIEntry_old(UINT64);\r
VOID UNDI_APIEntry_Common(UINT64);\r
\r
PXE_IPV4 convert_mcip(PXE_MAC_ADDR *);\r
INT32 validate_mcip (PXE_MAC_ADDR *MCastAddr);\r
\r
-VOID PxeStructInit (PXE_SW_UNDI *PxePtr, UINTN VersionFlag);\r
+VOID PxeStructInit (PXE_SW_UNDI *PxePtr);\r
VOID PxeUpdate (NIC_DATA_INSTANCE *NicPtr, PXE_SW_UNDI *PxePtr);\r
\r
#endif\r