Platform required to support EFI drivers that consume Device I/O\r
Platform required to support EFI applications that consume Device I/O\r
\r
-Copyright (c) 2008 Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2008 - 2010, 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
255 // SubordinateBus\r
};\r
\r
+/**\r
+ This notification function is invoked when an instance of the\r
+ EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL is produced. It installs another instance of the\r
+ EFI_DEVICE_IO_PROTOCOL on the same handle.\r
+\r
+ @param Event The event that occured\r
+ @param Context Context of event. Not used in this nofication function.\r
+\r
+**/\r
VOID\r
EFIAPI\r
PciRootBridgeIoNotificationEvent (\r
return ReturnDevicePath;\r
}\r
}\r
- if (ThisFunc == 0 && !(PciPtr->Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION)) {\r
+ if (ThisFunc == 0 && ((PciPtr->Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION) != HEADER_TYPE_MULTI_FUNCTION)) {\r
//\r
// Skip sub functions, this is not a multi function device\r
//\r