diff options
author | Michael Brown | 2015-03-18 17:42:39 +0100 |
---|---|---|
committer | Michael Brown | 2015-03-18 17:42:39 +0100 |
commit | c492a9fd92bbcd1217dd5396b741f4abea223830 (patch) | |
tree | 5331fe28d727b2607accbd6cffc6d3bdb9d7856c /src/net/netdev_settings.c | |
parent | [ehci] Add support for EHCI host controllers (diff) | |
download | ipxe-c492a9fd92bbcd1217dd5396b741f4abea223830.tar.gz ipxe-c492a9fd92bbcd1217dd5396b741f4abea223830.tar.xz ipxe-c492a9fd92bbcd1217dd5396b741f4abea223830.zip |
[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>
Diffstat (limited to 'src/net/netdev_settings.c')
-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 677d5a9a..edd4c4b9 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; |