From: Michael Brown Date: Wed, 18 Mar 2015 16:42:39 +0000 (+0000) Subject: [netdevice] Add missing bus types to netdev_fetch_bustype() X-Git-Tag: v1.20.1~890 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c492a9fd92bbcd1217dd5396b741f4abea223830;p=thirdparty%2Fipxe.git [netdevice] Add missing bus types to netdev_fetch_bustype() Reported-by: Robin Smidsrød Signed-off-by: Michael Brown --- 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;