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
 		[BUS_TYPE_MCA] = "MCA",
125
 		[BUS_TYPE_MCA] = "MCA",
126
 		[BUS_TYPE_ISA] = "ISA",
126
 		[BUS_TYPE_ISA] = "ISA",
127
 		[BUS_TYPE_TAP] = "TAP",
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
 	struct device_description *desc = &netdev->dev->desc;
133
 	struct device_description *desc = &netdev->dev->desc;
130
 	const char *bustype;
134
 	const char *bustype;

Loading…
Cancel
Save