Changeset 129b821f in mainline for uspace/drv/bus/usb/ehci
- Timestamp:
- 2018-01-20T12:34:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 682c9354
- Parents:
- 60d3f35
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-20 12:33:42)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-20 12:34:50)
- Location:
- uspace/drv/bus/usb/ehci
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hc.c
r60d3f35 r129b821f 473 473 } 474 474 475 /** 476 * Setup roothub as a virtual hub. 477 */ 478 int hc_setup_roothub(hc_device_t *hcd) 479 { 480 return hc_setup_virtual_root_hub(hcd, USB_SPEED_HIGH); 481 } 482 475 483 /** Initialize memory structures used by the EHCI hcd. 476 484 * -
uspace/drv/bus/usb/ehci/hc.h
r60d3f35 r129b821f 102 102 int hc_add(hc_device_t *, const hw_res_list_parsed_t *); 103 103 int hc_start(hc_device_t *); 104 int hc_setup_roothub(hc_device_t *); 104 105 int hc_gen_irq_code(irq_code_t *, hc_device_t *, const hw_res_list_parsed_t *); 105 106 int hc_gone(hc_device_t *); -
uspace/drv/bus/usb/ehci/hw_struct/queue_head.c
r60d3f35 r129b821f 46 46 [USB_SPEED_FULL] = QH_EP_CHAR_EPS_FS, 47 47 [USB_SPEED_HIGH] = QH_EP_CHAR_EPS_HS, 48 49 /* Solely for the roothub */50 [USB_SPEED_MAX] = 0,51 48 }; 52 49 -
uspace/drv/bus/usb/ehci/main.c
r60d3f35 r129b821f 37 37 #include <io/logctl.h> 38 38 #include <usb/host/hcd.h> 39 #include <usb/host/utility.h>40 39 41 40 #include "res.h" … … 52 51 .claim = disable_legacy, 53 52 .start = hc_start, 54 .setup_root_hub = hc_setup_ virtual_root_hub,53 .setup_root_hub = hc_setup_roothub, 55 54 .hc_gone = hc_gone, 56 55 };
Note:
See TracChangeset
for help on using the changeset viewer.
