[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XENBUS PATCH v2 6/7] Enable Xenbus precedence



Define precedence values based on each device's numeric device ID.

This ensures that vendor devices always get activated instead of the
generic ones.

Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
 src/xenbus.inf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xenbus.inf b/src/xenbus.inf
index 7cc9ac2..30274e2 100644
--- a/src/xenbus.inf
+++ b/src/xenbus.inf
@@ -120,6 +120,9 @@ AddReg = XenFilt_Parameters
 HKR,"Parameters",,0x00000010
 HKR,"Parameters","*PNP0A03",0x00000000,"PCI"
 HKR,"Parameters","Internal_IDE_Channel",0x00000000,"IDE"
+HKR,"Parameters","PCI\VEN_5853&DEV_0001",0x00010001,0x0001
+HKR,"Parameters","PCI\VEN_5853&DEV_0002",0x00010001,0x0002
+HKR,"Parameters","PCI\VEN_5853&DEV_C000",0x00010001,0x@VENDOR_DEVICE_ID@
 
 [Monitor_Service]
 DisplayName=%MonitorName%
-- 
2.50.1.windows.1



Ngoc Tu Dinh | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.