]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Add DeviceID info to DisplayNames master
authorOwen Smith <owen.smith@cloud.com>
Mon, 28 Oct 2024 13:02:16 +0000 (13:02 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Fri, 8 Nov 2024 17:52:12 +0000 (17:52 +0000)
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 <owen.smith@cloud.com>
src/xenbus.inf

index 73a2b11d55010f46938864fc68cc9e44059b9eb2..7cc9ac210d4ce364a5d5eed3600acfa9ac87164b 100644 (file)
@@ -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"