From: Owen Smith Date: Mon, 28 Oct 2024 13:02:16 +0000 (+0000) Subject: Add DeviceID info to DisplayNames X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;p=pvdrivers%2Fwin%2Fxenbus.git Add DeviceID info to DisplayNames Append the DeviceID info to the strings used for the DisplayName strings. Use the current genfiles.ps1 script, as part of the version project, to populate the %XenBusName_VEND% value (or remove the lines) to match the binding hardware ID. Signed-off-by: Owen Smith --- diff --git a/src/xenbus.inf b/src/xenbus.inf index 73a2b11..7cc9ac2 100644 --- a/src/xenbus.inf +++ b/src/xenbus.inf @@ -69,9 +69,9 @@ xenbus_monitor_@MAJOR_VERSION@_@MINOR_VERSION@_@MICRO_VERSION@_@BUILD_NUMBER@.dl ; DisplayName Section DeviceID ; ----------- ------- -------- -%XenBusName% =XenBus_Inst, PCI\VEN_5853&DEV_@VENDOR_DEVICE_ID@&SUBSYS_@VENDOR_DEVICE_ID@5853&REV_01 -%XenBusName% =XenBus_Inst, PCI\VEN_5853&DEV_0002 -%XenBusName% =XenBus_Inst, PCI\VEN_5853&DEV_0001 +%XenBusName_VEND% =XenBus_Inst, PCI\VEN_5853&DEV_@VENDOR_DEVICE_ID@&SUBSYS_@VENDOR_DEVICE_ID@5853&REV_01 +%XenBusName_0002% =XenBus_Inst, PCI\VEN_5853&DEV_0002 +%XenBusName_0001% =XenBus_Inst, PCI\VEN_5853&DEV_0001 [XenBus_Inst] CopyFiles=XenBus_CopyFiles @@ -149,6 +149,9 @@ HKR,,TypesSupported,0x00010001,7 Vendor="@VENDOR_NAME@" DiskDesc="@PRODUCT_NAME@ PV Bus Package" XenBusName="@PRODUCT_NAME@ PV Bus" +XenBusName_VEND="@PRODUCT_NAME@ PV Bus (@VENDOR_DEVICE_ID@)" +XenBusName_0002="@PRODUCT_NAME@ PV Bus (0002)" +XenBusName_0001="@PRODUCT_NAME@ PV Bus (0001)" XenFiltName="@PRODUCT_NAME@ Generic Bus Filter" MonitorName="@PRODUCT_NAME@ PV Driver Monitor" MonitorDesc="Provides support for @PRODUCT_NAME@ PV drivers"