[IBBUS] added support for creating vendor defined devices.
[mirror/winof/.git] / hw / mthca / kernel / mthca.inx
index 49b6370..bac2dd3 100644 (file)
@@ -306,6 +306,21 @@ HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000
 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000\r
 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1\r
 \r
+HKR,"Parameters","StaticChild",%REG_MULTI_SZ%,IPoIB\r
+;use the following line to add your device\r
+;HKR,"Parameters","StaticChild",%REG_MULTI_SZ_APPEND%,"XsigoBus"\r
+\r
+HKR,"Parameters\IPoIB","DeviceId",%REG_SZ%,"IBA\IPoIB"\r
+HKR,"Parameters\IPoIB","CompatibleId",%REG_MULTI_SZ%,"IBA\SID_1000066a00020000"\r
+HKR,"Parameters\IPoIB","HardwareId",%REG_MULTI_SZ%,"IBA\IPoIB"\r
+HKR,"Parameters\IPoIB","Description",%REG_SZ%,"OpenIB IPoIB Adapter"\r
+HKR,"Parameters\IPoIB","PartitionKey",%REG_SZ%,"FFFF"\r
+\r
+HKR,"Parameters\XsigoBus","DeviceId",%REG_SZ%,"IBA\XsigoBus"\r
+HKR,"Parameters\XsigoBus","CompatibleId",%REG_MULTI_SZ%,"IBA\SID_0000000002139702"\r
+HKR,"Parameters\XsigoBus","HardwareId",%REG_MULTI_SZ%,"IBA\XsigoBus"\r
+HKR,"Parameters\XsigoBus","Description",%REG_SZ%,"Xsigo Virtual Bus"\r
+HKR,"Parameters\XsigoBus","PartitionKey",%REG_SZ%,"FFFF"\r
 \r
 ; ============= WinVerbs Service Install section ==============\r
 \r
@@ -448,6 +463,7 @@ SERVICE_DEMAND_START   = 3
 SERVICE_ERROR_NORMAL   = 1\r
 REG_DWORD              = 0x00010001\r
 REG_DWORD_NO_CLOBBER   = 0x00010003\r
+REG_MULTI_SZ          = 0x00010000\r
 REG_MULTI_SZ_APPEND    = 0x00010008\r
 DIRID_SYSTEM           = 11\r
 DIRID_DRIVERS          = 12\r