Browse Source

[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 9 years ago
parent
commit
c492a9fd92
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/net/netdev_settings.c

+ 4
- 0
src/net/netdev_settings.c View File

@@ -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…
Cancel
Save