]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Changed ID into Id.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Apr 2009 05:47:57 +0000 (05:47 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Apr 2009 05:47:57 +0000 (05:47 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8130 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Pci/UndiRuntimeDxe/Init.c
MdeModulePkg/Universal/Network/SnpDxe/Snp.c

index 6f88a90f4e56e1054103aea6ea746a217070cb2c..42dd5fd21f7676a9e1b2f6cd8ca5338207916d9c 100644 (file)
@@ -65,7 +65,7 @@ UndiNotifyVirtual (
     // UNDI32DeviceList is an array of pointers\r
     //\r
     for (Index = 0; Index < pxe_31->IFcnt; Index++) {\r
-      UNDI32DeviceList[Index]->NIIProtocol_31.ID = (UINT64) (UINTN) Pxe31Pointer;\r
+      UNDI32DeviceList[Index]->NIIProtocol_31.Id = (UINT64) (UINTN) Pxe31Pointer;\r
       EfiConvertPointer (\r
         EFI_OPTIONAL_PTR,\r
         (VOID **) &(UNDI32DeviceList[Index])\r
@@ -346,7 +346,7 @@ UndiDriverStart (
     PxeStructInit (pxe_31);\r
   }\r
 \r
-  UNDI32Device->NIIProtocol_31.ID = (UINT64) (UINTN) (pxe_31);\r
+  UNDI32Device->NIIProtocol_31.Id = (UINT64) (UINTN) (pxe_31);\r
 \r
   Status = PciIoFncs->Attributes (\r
                         PciIoFncs,\r
index dde0d6021fa297c457dc703e22586b47c0669d3c..7e98baa8eb56bd3359cfb8b2d499958a99522fa9 100644 (file)
@@ -178,13 +178,13 @@ SimpleNetworkDriverSupported (
   //\r
   // Check to see if !PXE structure is valid. Paragraph alignment of !PXE structure is required.\r
   //\r
-  if (NiiProtocol->ID & 0x0F) {\r
+  if (NiiProtocol->Id & 0x0F) {\r
     DEBUG ((EFI_D_NET, "\n!PXE structure is not paragraph aligned.\n"));\r
     Status = EFI_UNSUPPORTED;\r
     goto Done;\r
   }\r
 \r
-  Pxe = (PXE_UNDI *) (UINTN) (NiiProtocol->ID);\r
+  Pxe = (PXE_UNDI *) (UINTN) (NiiProtocol->Id);\r
 \r
   //\r
   //  Verify !PXE revisions.\r
@@ -341,7 +341,7 @@ SimpleNetworkDriverStart (
 \r
   DEBUG ((EFI_D_INFO, "Start(): UNDI3.1 found\n"));\r
 \r
-  Pxe = (PXE_UNDI *) (UINTN) (Nii->ID);\r
+  Pxe = (PXE_UNDI *) (UINTN) (Nii->Id);\r
 \r
   if (Calc8BitCksum (Pxe, Pxe->hw.Len) != 0) {\r
     DEBUG ((EFI_D_NET, "\n!PXE checksum is not correct.\n"));\r