]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/PciBusNoEnumerationDxe/PciDeviceSupport.c
CorebootModulePkg: Remove unused PCI non-enumeration drivers
[mirror_edk2.git] / DuetPkg / PciBusNoEnumerationDxe / PciDeviceSupport.c
index 822f41afa7437c2de657a23f9156e343f1c89708..bae266df64623aaa2493a1880f203c8acd1daeab 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2005 - 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2005 - 2006, 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
@@ -21,7 +21,7 @@ Revision History
 \r
 --*/\r
 \r
-#include "Pcibus.h"\r
+#include "PciBus.h"\r
 \r
 //\r
 // This device structure is serviced as a header.\r
@@ -598,8 +598,8 @@ Returns:
       //\r
       // Get the next device path\r
       //\r
-      CurrentDevicePath = EfiNextDevicePathNode (RemainingDevicePath);\r
-      if (EfiIsDevicePathEnd (CurrentDevicePath)) {\r
+      CurrentDevicePath = NextDevicePathNode (RemainingDevicePath);\r
+      if (IsDevicePathEnd (CurrentDevicePath)) {\r
         return EFI_SUCCESS;\r
       }\r
   \r
@@ -693,7 +693,7 @@ Returns:
     //\r
     Node.DevPath = RemainingDevicePath;\r
     if (Node.DevPath->Type != HARDWARE_DEVICE_PATH ||\r
-        Node.DevPath->SubType != HW_PCI_DP         &&\r
+        Node.DevPath->SubType != HW_PCI_DP         ||\r
         DevicePathNodeLength (Node.DevPath) != sizeof (PCI_DEVICE_PATH)\r
         ) {\r
       return EFI_UNSUPPORTED;\r