diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-03-18 16:42:39 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-03-18 16:42:39 +0000 |
commit | c492a9fd92bbcd1217dd5396b741f4abea223830 (patch) | |
tree | 5331fe28d727b2607accbd6cffc6d3bdb9d7856c | |
parent | 8370f877450b4ca35a758222a8062c3f3062fd18 (diff) | |
download | ipxe-c492a9fd92bbcd1217dd5396b741f4abea223830.tar.gz |
[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>
-rw-r--r-- | src/net/netdev_settings.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/netdev_settings.c b/src/net/netdev_settings.c index 677d5a9a6..edd4c4b9f 100644 --- a/src/net/netdev_settings.c +++ b/src/net/netdev_settings.c @@ -125,6 +125,10 @@ static int netdev_fetch_bustype ( struct net_device *netdev, void *data, [BUS_TYPE_MCA] = "MCA", [BUS_TYPE_ISA] = "ISA", [BUS_TYPE_TAP] = "TAP", + [BUS_TYPE_EFI] = "EFI", + [BUS_TYPE_XEN] = "XEN", + [BUS_TYPE_HV] = "HV", + [BUS_TYPE_USB] = "USB", }; struct device_description *desc = &netdev->dev->desc; const char *bustype; |