[netdevice] Add missing bus type identifier for devicetree devices

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-04-15 14:02:14 +01:00
parent 424839c58a
commit 2c406ec0b1

View 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;