mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[netdevice] Add missing bus type identifier for devicetree devices
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -169,6 +169,7 @@ static int netdev_fetch_bustype ( struct net_device *netdev, void *data,
|
|||||||
[BUS_TYPE_XEN] = "XEN",
|
[BUS_TYPE_XEN] = "XEN",
|
||||||
[BUS_TYPE_HV] = "HV",
|
[BUS_TYPE_HV] = "HV",
|
||||||
[BUS_TYPE_USB] = "USB",
|
[BUS_TYPE_USB] = "USB",
|
||||||
|
[BUS_TYPE_DT] = "DT",
|
||||||
};
|
};
|
||||||
struct device_description *desc = &netdev->dev->desc;
|
struct device_description *desc = &netdev->dev->desc;
|
||||||
const char *bustype;
|
const char *bustype;
|
||||||
|
|||||||
Reference in New Issue
Block a user