On 08/01/2024 21.26, David Woodhouse wrote:
From: David Woodhouse <[email protected]>

This will instantiate any NICs which live on a given bus type. Each bus
is allowed *one* substitution (for PCI it's virtio → virtio-net-pci, for
Xen it's xen → xen-net-device; no point in overengineering it unless we
actually want more).

Signed-off-by: David Woodhouse <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
---
  include/net/net.h |  3 +++
  net/net.c         | 53 +++++++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 56 insertions(+)

Reviewed-by: Thomas Huth <[email protected]>



Reply via email to