]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[netdevice] Add missing bus types to netdev_fetch_bustype()
authorMichael Brown <mcb30@ipxe.org>
Wed, 18 Mar 2015 16:42:39 +0000 (16:42 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 18 Mar 2015 16:42:39 +0000 (16:42 +0000)
Reported-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/netdev_settings.c

index 677d5a9a65cf5f8b49a191c2434eadfbcd4e124b..edd4c4b9fb39074a3cb43ff41a53f4d1f8f45f28 100644 (file)
@@ -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;