]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
PrmPkg/PrmSsdtInstallDxe: Update PRMT Device CID to PNP0C02.
authorWei6 Xu <wei6.xu@intel.com>
Mon, 7 Nov 2022 08:29:39 +0000 (16:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 8 Nov 2022 16:08:26 +0000 (16:08 +0000)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4141

PRMT device is an unknown device in Device Manager if there is no
Windows Driver installed for it. It will cause WHQL Signed Driver
test failure.

To complete WHQL certification, update PRMT Device CID to PNP0C02.

In this way, PRMT Device will be a Motherboard Resources when no
real driver is loaded (default), but will be shown as the actual
device name when a legitimate Windows Driver is loaded.

Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Ankit Sinha <ankit.sinha@intel.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Ankit Sinha <ankit.sinha@intel.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
PrmPkg/PrmSsdtInstallDxe/Prm.asl

index e34336b4eee6d11a76be5c7147070406d3f38a10..c4c406e93e2f4b8041d6213229b043f62225a986 100644 (file)
@@ -22,7 +22,7 @@ DefinitionBlock (
         Device (PRMT)\r
         {\r
             Name (_HID, "80860223")\r
-            Name (_CID, "80860223")\r
+            Name (_CID, EisaId ("PNP0C02"))\r
             Name (_DDN, "PRM Test Device")\r
 \r
             //PRM operation region format\r