Skip to content

Commit

Permalink
[usb] Add basic support for USB hubs
Browse files Browse the repository at this point in the history
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 );
Loading

0 comments on commit e17e771

Please sign in to comment.