Changeset 944f8fdd in mainline for uspace/drv/bus
- Timestamp:
- 2018-01-19T17:38:22Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2833bb4
- Parents:
- 861b5d6
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 17:06:40)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 17:38:22)
- Location:
- uspace/drv/bus/usb
- Files:
-
- 5 edited
-
ehci/main.c (modified) (2 diffs)
-
ohci/main.c (modified) (2 diffs)
-
uhci/main.c (modified) (2 diffs)
-
vhc/main.c (modified) (2 diffs)
-
xhci/bus.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/main.c
r861b5d6 r944f8fdd 37 37 #include <io/logctl.h> 38 38 #include <usb/host/hcd.h> 39 #include <usb/host/ ddf_helpers.h>39 #include <usb/host/utility.h> 40 40 41 41 #include "res.h" … … 52 52 .claim = disable_legacy, 53 53 .start = hc_start, 54 .setup_root_hub = hc d_setup_virtual_root_hub,54 .setup_root_hub = hc_setup_virtual_root_hub, 55 55 .hc_gone = hc_gone, 56 56 }; -
uspace/drv/bus/usb/ohci/main.c
r861b5d6 r944f8fdd 43 43 44 44 #include <usb/debug.h> 45 #include <usb/host/ ddf_helpers.h>45 #include <usb/host/utility.h> 46 46 47 47 #include "hc.h" … … 58 58 .claim = hc_gain_control, 59 59 .start = hc_start, 60 .setup_root_hub = hc d_setup_virtual_root_hub,60 .setup_root_hub = hc_setup_virtual_root_hub, 61 61 .hc_gone = hc_gone, 62 62 }; -
uspace/drv/bus/usb/uhci/main.c
r861b5d6 r944f8fdd 43 43 #include <str_error.h> 44 44 #include <usb/debug.h> 45 #include <usb/host/ ddf_helpers.h>45 #include <usb/host/utility.h> 46 46 47 47 #include "hc.h" … … 58 58 .hc_add = hc_add, 59 59 .start = hc_start, 60 .setup_root_hub = hc d_setup_virtual_root_hub,60 .setup_root_hub = hc_setup_virtual_root_hub, 61 61 .hc_gone = hc_gone, 62 62 }; -
uspace/drv/bus/usb/vhc/main.c
r861b5d6 r944f8fdd 40 40 41 41 #include <usb/host/ddf_helpers.h> 42 #include <usb/host/utility.h> 42 43 43 44 #include <usb/debug.h> … … 106 107 * needs to be ready at this time. 107 108 */ 108 ret = hc d_setup_virtual_root_hub(&vhc->base);109 ret = hc_setup_virtual_root_hub(&vhc->base); 109 110 if (ret != EOK) { 110 111 usb_log_error("Failed to init VHC root hub: %s", -
uspace/drv/bus/usb/xhci/bus.c
r861b5d6 r944f8fdd 36 36 #include <usb/host/endpoint.h> 37 37 #include <usb/host/hcd.h> 38 #include <usb/host/utility.h> 38 39 #include <usb/descriptor.h> 39 40 #include <usb/debug.h> … … 113 114 114 115 uint16_t max_packet_size; 115 if ((err = hc d_get_ep0_max_packet_size(&max_packet_size, (bus_t *) &hc->bus, &dev->base)))116 if ((err = hc_get_ep0_max_packet_size(&max_packet_size, (bus_t *) &hc->bus, &dev->base))) 116 117 return err; 117 118 … … 184 185 185 186 /* Read the device descriptor, derive the match ids */ 186 if ((err = hc d_device_explore(dev))) {187 if ((err = hc_device_explore(dev))) { 187 188 usb_log_error("Device(%d): Failed to explore device: %s", dev->address, str_error(err)); 188 189 goto err_address;
Note:
See TracChangeset
for help on using the changeset viewer.
