Explorar el Código

[netdevice] Add missing bus types to netdev_fetch_bustype()

Reported-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown hace 9 años
padre
commit
c492a9fd92
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/net/netdev_settings.c

+ 4
- 0
src/net/netdev_settings.c Ver fichero

@@ -125,6 +125,10 @@ static int netdev_fetch_bustype ( struct net_device *netdev, void *data,
125 125
 		[BUS_TYPE_MCA] = "MCA",
126 126
 		[BUS_TYPE_ISA] = "ISA",
127 127
 		[BUS_TYPE_TAP] = "TAP",
128
+		[BUS_TYPE_EFI] = "EFI",
129
+		[BUS_TYPE_XEN] = "XEN",
130
+		[BUS_TYPE_HV] = "HV",
131
+		[BUS_TYPE_USB] = "USB",
128 132
 	};
129 133
 	struct device_description *desc = &netdev->dev->desc;
130 134
 	const char *bustype;

Loading…
Cancelar
Guardar