Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[netdevice] Add missing bus types to netdev_fetch_bustype()
Reported-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Mar 18, 2015
1 parent 8370f87 commit c492a9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/net/netdev_settings.c
Expand Up @@ -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;
Expand Down

0 comments on commit c492a9f

Please sign in to comment.