diff options
author | Ronald Cron <Ronald.Cron@arm.com> | 2015-01-06 15:51:54 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-01-06 15:51:54 +0000 |
commit | 6e8b37f1f62a3945de44d40616f9e13b4d214980 (patch) | |
tree | 80f280c3c4214a67fd3aa58a0735ec93442411d9 /ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe | |
parent | ad7e31b505b91c9e7baf266dd8cf2ff95befbb8a (diff) | |
download | edk2-6e8b37f1f62a3945de44d40616f9e13b4d214980.tar.gz edk2-6e8b37f1f62a3945de44d40616f9e13b4d214980.tar.bz2 edk2-6e8b37f1f62a3945de44d40616f9e13b4d214980.zip |
ArmPlatformPkg: PCI emulation - Define a vendor and device id
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <Ronald.Cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16587 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe')
-rw-r--r-- | ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c b/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c index e908953c0e..9fdb09b2fb 100644 --- a/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c +++ b/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/PciEmulation.c @@ -547,8 +547,8 @@ PciInstallDevice ( //
// 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;
|