Skip to contentSkip to conversation

windows/netuio: add vmxnet3 device ID

PATCH Applied Dmitry Kozlyuk 5 participants 5 messages Feb 21, 2021 – Mar 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 windows/netuio: add vmxnet3 device ID

Add device ID of VMWare Paravirtualized Ethernet v3.

---
 windows/netuio/netuio.inf | 2 ++
 1 file changed, 2 insertions(+)
windows/netuio/netuio.inf +2 -0
index 666a69c..db97366 100644
@@ -42,6 +42,7 @@ HKR,,Icon,,-5
 %Intel.F101F.Description%=netuio_Device, PCI\VEN_8086&DEV_101F
 %Intel.F104F.Description%=netuio_Device, PCI\VEN_8086&DEV_104F
 %Intel.F104E.Description%=netuio_Device, PCI\VEN_8086&DEV_104E
+%vmxnet3.Description%=netuio_Device, PCI\VEN_15AD&DEV_07B0
 
 [netuio_Device.NT]
 CopyFiles=Drivers_Dir
@@ -99,6 +100,7 @@ Intel.F15FF.Description = "Intel(R) Ethernet Controller X710 for 10GBASE-T"
 Intel.F101F.Description = "Intel(R) Ethernet Controller V710 for 5GBASE-T"
 Intel.F104F.Description = "Intel(R) Ethernet Controller X710 for 10 Gigabit backplane"
 Intel.F104E.Description = "Intel(R) Ethernet Controller X710 for 10 Gigabit SFP+"
+vmxnet3.Description = "VMWare Paravirtualized Ethernet v3"
 netuio.SVCDESC = "netuio Service"
 
 [DMAr.reg]
Signature · 1 line
2.29.2
#1 lore raw
Quoted 21 lines · Dmitry Kozlyuk

Add device ID of VMWare Paravirtualized Ethernet v3.

---
 windows/netuio/netuio.inf | 2 ++
 1 file changed, 2 insertions(+)
windows/netuio/netuio.inf +1 -0
index 666a69c..db97366 100644
@@ -42,6 +42,7 @@ HKR,,Icon,,-5
 %Intel.F101F.Description%=netuio_Device, PCI\VEN_8086&DEV_101F
 %Intel.F104F.Description%=netuio_Device, PCI\VEN_8086&DEV_104F
 %Intel.F104E.Description%=netuio_Device, PCI\VEN_8086&DEV_104E
+%vmxnet3.Description%=netuio_Device, PCI\VEN_15AD&DEV_07B0
 
 [netuio_Device.NT]
 CopyFiles=Drivers_Dir

windows/netuio/netuio.inf Intel.F15FF.Description = "Intel(R) Ethernet Controller X710 for 10GBASE-T" · line 106

Quoted 7 lines
windows/netuio/netuio.inf +1 -0
@@ -99,6 +100,7 @@ Intel.F15FF.Description = "Intel(R) Ethernet Controller X710 for 10GBASE-T"
 Intel.F101F.Description = "Intel(R) Ethernet Controller V710 for 5GBASE-T"
 Intel.F104F.Description = "Intel(R) Ethernet Controller X710 for 10 Gigabit backplane"
 Intel.F104E.Description = "Intel(R) Ethernet Controller X710 for 10 Gigabit SFP+"
+vmxnet3.Description = "VMWare Paravirtualized Ethernet v3"
 netuio.SVCDESC = "netuio Service"
 
 [DMAr.reg]

Is there no other way than hardcoding those values in the driver? Something à la driverctl?

Signature · 1 line
David Marchand
#2 lore raw
Quoted 5 lines · David Marchand
Quoted 5 lines
windows/netuio/netuio.inf +0 -0
index 666a69c..db97366 100644
@@ -42,6 +42,7 @@ HKR,,Icon,,-5
Quoted 8 lines

windows/netuio/netuio.inf HKR,,Icon,,-5 · line 46

Quoted 5 lines
windows/netuio/netuio.inf +1 -0
 %Intel.F101F.Description%=netuio_Device, PCI\VEN_8086&DEV_101F
 %Intel.F104F.Description%=netuio_Device, PCI\VEN_8086&DEV_104F
 %Intel.F104E.Description%=netuio_Device, PCI\VEN_8086&DEV_104E
+%vmxnet3.Description%=netuio_Device, PCI\VEN_15AD&DEV_07B0
 

Is there no other way than hardcoding those values in the driver? Something à la driverctl?

This is how support for vendor / device is expressed for a driver to the Windows PnP subsystem. The device ids listed in the .inf file are used to match the driver when the device is enumerated.

It's not really hardcoded though (not compiled anyway) so the list of ids in a .inf can be changed without recompiled it is just a text file.

Quoted 4 lines
Signature · 2 lines
-- 
David Marchand