]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/ArmJunoDxe: Use different UID for PCI Emulation
authorOlivier Martin <olivier.martin@arm.com>
Wed, 6 May 2015 11:14:28 +0000 (11:14 +0000)
committeroliviermartin <oliviermartin@Edk2>
Wed, 6 May 2015 11:14:28 +0000 (11:14 +0000)
We keep UID=0 for the 'real' PCI root complex on the Juno board.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17342 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c

index 9fdb09b2fbe8e8f1d3f4cdb2b9a6707f466c1850..2ddebf606e3d185c05763e924126b37e1419f6f7 100644 (file)
@@ -558,7 +558,7 @@ PciInstallDevice (
 \r
   // Unique device path.\r
   CopyMem (&Private->DevicePath, &PciIoDevicePathTemplate, sizeof (PciIoDevicePathTemplate));\r
-  Private->DevicePath.AcpiDevicePath.UID = 0;\r
+  Private->DevicePath.AcpiDevicePath.UID = 1; // Use '1' to differentiate from PLDA root complex\r
   Private->DevicePath.PciDevicePath.Device = DeviceId;\r
 \r
   // Copy protocol structure\r