From d40483911c83dbcff1cb25ae4c9b9c26cf213973 Mon Sep 17 00:00:00 2001 From: rsun3 Date: Tue, 13 Jul 2010 01:58:47 +0000 Subject: =?UTF-8?q?Fix=20bugs=20in=20the=20PCI=20bus=20driver=20to=20suppo?= =?UTF-8?q?rt=20SR-IOV.=201.=20Expand=20the=20type=20of=20Offset=20in=20th?= =?UTF-8?q?e=20=5FPCI=5FBAR=20structure=20from=20UINT8=20to=20UINT16,=20be?= =?UTF-8?q?cause=20a=20VF=20BAR=E2=80=99s=20offset=20may=20be=20>=3D=200x1?= =?UTF-8?q?00;=202.=20Enable=20ARI=20Capable=20Hierarchy=20for=20SR-IOV=20?= =?UTF-8?q?devices=20at=20earlier=20time=20because=20FirstVFOffset=20and?= =?UTF-8?q?=20VFStride=20of=20a=20SR-IOV=20device=20may=20change=20after?= =?UTF-8?q?=20its=20ARI=20Capable=20Hierarchy=20is=20set;=203.=20Change=20?= =?UTF-8?q?type=20of=20PcdSrIovSupport,=20PcdAriSupport,=20PcdMrIovSupport?= =?UTF-8?q?=20from=20FeatureFlag=20to=20[FixAtBuild,=20PcdDynamics],=20whi?= =?UTF-8?q?ch=20allows=20SR-IOV/MR-IOV/ARI=20feature=20can=20be=20turn=20o?= =?UTF-8?q?n/off=20dynamically,=20typically=20via=20a=20setup=20option.=20?= =?UTF-8?q?4.=20Change=20PCI=20bus=20scan=20algorithm=20in=20PciScanBus()?= =?UTF-8?q?=20to=20prevent=20the=20case=20where=20some=20ARI=20extended=20?= =?UTF-8?q?functions=20may=20be=20skipped=20in=20the=20scan=20loop.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10644 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h') diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h index fa3a3992fd..a4489b895f 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h @@ -1,7 +1,7 @@ /** @file PCI emumeration support functions declaration for PCI Bus module. -Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -364,7 +364,7 @@ InitializeP2C ( Create and initiliaze general PCI I/O device instance for PCI device/bridge device/hotplug bridge device. - @param PciRootBridgeIo Pointer to instance of EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL. + @param Bridge Parent bridge instance. @param Pci Input Pci information block. @param Bus Device Bus NO. @param Device Device device NO. @@ -375,7 +375,7 @@ InitializeP2C ( **/ PCI_IO_DEVICE * CreatePciIoDevice ( - IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, + IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, -- cgit v1.2.3