Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[usb] Add basic support for USB hubs
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Feb 3, 2015
1 parent 018b13d commit e17e771
Show file tree
Hide file tree
Showing 5 changed files with 805 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Makefile
Expand Up @@ -83,6 +83,7 @@ SRCDIRS += drivers/block
SRCDIRS += drivers/nvs
SRCDIRS += drivers/bitbash
SRCDIRS += drivers/infiniband
SRCDIRS += drivers/usb
SRCDIRS += interface/pxe interface/efi interface/smbios
SRCDIRS += interface/bofm
SRCDIRS += interface/xen
Expand Down
3 changes: 3 additions & 0 deletions src/drivers/bus/usb.c
Expand Up @@ -1646,3 +1646,6 @@ struct usb_port * usb_root_hub_port ( struct usb_device *usb ) {

return usb->port;
}

/* Drag in hub driver */
REQUIRE_OBJECT ( usbhub );

0 comments on commit e17e771

Please sign in to comment.