Changed ID into Id.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8130 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2009-04-20 05:47:57 +00:00
parent 1c455d59d2
commit bdc825139c
2 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ UndiNotifyVirtual (
// UNDI32DeviceList is an array of pointers // UNDI32DeviceList is an array of pointers
// //
for (Index = 0; Index < pxe_31->IFcnt; Index++) { for (Index = 0; Index < pxe_31->IFcnt; Index++) {
UNDI32DeviceList[Index]->NIIProtocol_31.ID = (UINT64) (UINTN) Pxe31Pointer; UNDI32DeviceList[Index]->NIIProtocol_31.Id = (UINT64) (UINTN) Pxe31Pointer;
EfiConvertPointer ( EfiConvertPointer (
EFI_OPTIONAL_PTR, EFI_OPTIONAL_PTR,
(VOID **) &(UNDI32DeviceList[Index]) (VOID **) &(UNDI32DeviceList[Index])
@ -346,7 +346,7 @@ UndiDriverStart (
PxeStructInit (pxe_31); PxeStructInit (pxe_31);
} }
UNDI32Device->NIIProtocol_31.ID = (UINT64) (UINTN) (pxe_31); UNDI32Device->NIIProtocol_31.Id = (UINT64) (UINTN) (pxe_31);
Status = PciIoFncs->Attributes ( Status = PciIoFncs->Attributes (
PciIoFncs, PciIoFncs,

View File

@ -178,13 +178,13 @@ SimpleNetworkDriverSupported (
// //
// Check to see if !PXE structure is valid. Paragraph alignment of !PXE structure is required. // Check to see if !PXE structure is valid. Paragraph alignment of !PXE structure is required.
// //
if (NiiProtocol->ID & 0x0F) { if (NiiProtocol->Id & 0x0F) {
DEBUG ((EFI_D_NET, "\n!PXE structure is not paragraph aligned.\n")); DEBUG ((EFI_D_NET, "\n!PXE structure is not paragraph aligned.\n"));
Status = EFI_UNSUPPORTED; Status = EFI_UNSUPPORTED;
goto Done; goto Done;
} }
Pxe = (PXE_UNDI *) (UINTN) (NiiProtocol->ID); Pxe = (PXE_UNDI *) (UINTN) (NiiProtocol->Id);
// //
// Verify !PXE revisions. // Verify !PXE revisions.
@ -341,7 +341,7 @@ SimpleNetworkDriverStart (
DEBUG ((EFI_D_INFO, "Start(): UNDI3.1 found\n")); DEBUG ((EFI_D_INFO, "Start(): UNDI3.1 found\n"));
Pxe = (PXE_UNDI *) (UINTN) (Nii->ID); Pxe = (PXE_UNDI *) (UINTN) (Nii->Id);
if (Calc8BitCksum (Pxe, Pxe->hw.Len) != 0) { if (Calc8BitCksum (Pxe, Pxe->hw.Len) != 0) {
DEBUG ((EFI_D_NET, "\n!PXE checksum is not correct.\n")); DEBUG ((EFI_D_NET, "\n!PXE checksum is not correct.\n"));