]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[netdevice] Add missing bus type identifier for devicetree devices
authorMichael Brown <mcb30@ipxe.org>
Tue, 15 Apr 2025 13:02:14 +0000 (14:02 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 15 Apr 2025 13:02:14 +0000 (14:02 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/netdev_settings.c

index 080b6d2a5b20c3df067fb72bd26a5ed950d5f867..9432dc2fa8a1d37e2474d188a0f17b750d5ffc1d 100644 (file)
@@ -169,6 +169,7 @@ static int netdev_fetch_bustype ( struct net_device *netdev, void *data,
                [BUS_TYPE_XEN] = "XEN",
                [BUS_TYPE_HV] = "HV",
                [BUS_TYPE_USB] = "USB",
+               [BUS_TYPE_DT] = "DT",
        };
        struct device_description *desc = &netdev->dev->desc;
        const char *bustype;