bus/pci: support netuio on Windows
authorPallavi Kadam <pallavi.kadam@intel.com>
Thu, 8 Oct 2020 18:56:45 +0000 (11:56 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Oct 2020 20:28:42 +0000 (22:28 +0200)
commitc76ec01b4591edb4e24fb0aebd937be9c9c1dfa4
tree1188470e880ab58c14b13b141061980a682db4fd
parent99541c3028d741a09fe5dca95e79d8d020130173
bus/pci: support netuio on Windows

This patch adds implementations to probe PCI devices bound to netuio
with the help of "netuio" class device changes.
Now Windows will support both "netuio" and "net" device class and
can set kernel driver type based on the device class selection.

Note: Few definitions and structures have been copied from
netuio_interface.h file from
("[v5] windows/netuio: add Windows NetUIO kernel driver") series
and this will be fixed once the exact path for netuio source code is known.

Signed-off-by: John Alexander <john.alexander@datapath.co.uk>
Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
Reviewed-by: Tal Shnaiderman <talshn@nvidia.com>
Reviewed-by: Narcisa Vasile <navasile@linux.microsoft.com>
drivers/bus/pci/meson.build
drivers/bus/pci/windows/pci.c
drivers/bus/pci/windows/pci_netuio.c [new file with mode: 0644]
drivers/bus/pci/windows/pci_netuio.h [new file with mode: 0644]