Revision: 16587
          http://sourceforge.net/p/edk2/code/16587
Author:   oliviermartin
Date:     2015-01-06 15:51:54 +0000 (Tue, 06 Jan 2015)
Log Message:
-----------
ArmPlatformPkg: PCI emulation - Define a vendor and device id

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <[email protected]>
Reviewed-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
    trunk/edk2/Omap35xxPkg/PciEmulation/PciEmulation.c

Modified: trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c
===================================================================
--- trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c      
2015-01-06 15:51:02 UTC (rev 16586)
+++ trunk/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c      
2015-01-06 15:51:54 UTC (rev 16587)
@@ -547,8 +547,8 @@
   //
   // Configure PCI config space: OHCI + EHCI
   //
-  Private->ConfigSpace->Hdr.VendorId = 0x3530; //TODO: Define one
-  Private->ConfigSpace->Hdr.DeviceId = 0x3530; //TODO: Define one
+  Private->ConfigSpace->Hdr.VendorId = 0xFFFF; // Invalid vendor Id as it is 
not an actual device.
+  Private->ConfigSpace->Hdr.DeviceId = 0x0000; // Not relevant as the vendor 
id is not valid.
   Private->ConfigSpace->Hdr.ClassCode[0] = ClassCode1;
   Private->ConfigSpace->Hdr.ClassCode[1] = ClassCode2;
   Private->ConfigSpace->Hdr.ClassCode[2] = ClassCode3;

Modified: trunk/edk2/Omap35xxPkg/PciEmulation/PciEmulation.c
===================================================================
--- trunk/edk2/Omap35xxPkg/PciEmulation/PciEmulation.c  2015-01-06 15:51:02 UTC 
(rev 16586)
+++ trunk/edk2/Omap35xxPkg/PciEmulation/PciEmulation.c  2015-01-06 15:51:54 UTC 
(rev 16587)
@@ -604,8 +604,8 @@
   }
 
   // Configure PCI config space
-  Private->ConfigSpace->Hdr.VendorId = 0x3530;
-  Private->ConfigSpace->Hdr.DeviceId = 0x3530;
+  Private->ConfigSpace->Hdr.VendorId = 0xFFFF; // Invalid vendor Id as it is 
not an actual device.
+  Private->ConfigSpace->Hdr.DeviceId = 0x0000; // Not relevant as the vendor 
id is not valid.
   Private->ConfigSpace->Hdr.ClassCode[0] = 0x20;
   Private->ConfigSpace->Hdr.ClassCode[1] = 0x03;
   Private->ConfigSpace->Hdr.ClassCode[2] = 0x0C;


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to