mirror of https://github.com/acidanthera/audk.git
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:
parent
1c455d59d2
commit
bdc825139c
|
@ -65,7 +65,7 @@ UndiNotifyVirtual (
|
|||
// UNDI32DeviceList is an array of pointers
|
||||
//
|
||||
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 (
|
||||
EFI_OPTIONAL_PTR,
|
||||
(VOID **) &(UNDI32DeviceList[Index])
|
||||
|
@ -346,7 +346,7 @@ UndiDriverStart (
|
|||
PxeStructInit (pxe_31);
|
||||
}
|
||||
|
||||
UNDI32Device->NIIProtocol_31.ID = (UINT64) (UINTN) (pxe_31);
|
||||
UNDI32Device->NIIProtocol_31.Id = (UINT64) (UINTN) (pxe_31);
|
||||
|
||||
Status = PciIoFncs->Attributes (
|
||||
PciIoFncs,
|
||||
|
|
|
@ -178,13 +178,13 @@ SimpleNetworkDriverSupported (
|
|||
//
|
||||
// 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"));
|
||||
Status = EFI_UNSUPPORTED;
|
||||
goto Done;
|
||||
}
|
||||
|
||||
Pxe = (PXE_UNDI *) (UINTN) (NiiProtocol->ID);
|
||||
Pxe = (PXE_UNDI *) (UINTN) (NiiProtocol->Id);
|
||||
|
||||
//
|
||||
// Verify !PXE revisions.
|
||||
|
@ -341,7 +341,7 @@ SimpleNetworkDriverStart (
|
|||
|
||||
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) {
|
||||
DEBUG ((EFI_D_NET, "\n!PXE checksum is not correct.\n"));
|
||||
|
|
Loading…
Reference in New Issue