Changeset e6b9182 in mainline for uspace/drv/bus/usb/uhci
- Timestamp:
- 2017-10-13T08:49:29Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 741bcdeb
- Parents:
- 0a5833d7
- Location:
- uspace/drv/bus/usb/uhci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
r0a5833d7 re6b9182 50 50 #include <usb/usb.h> 51 51 #include <usb/host/utils/malloc32.h> 52 #include <usb/host/bandwidth.h> 52 53 53 54 #include "uhci_batch.h" … … 320 321 int hc_init_mem_structures(hc_t *instance) 321 322 { 322 assert(instance); 323 int err; 324 assert(instance); 325 326 if ((err = usb2_bus_init(&instance->bus, BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11))) 327 return err; 323 328 324 329 /* Init USB frame list page */ -
uspace/drv/bus/usb/uhci/main.c
r0a5833d7 re6b9182 45 45 #include <usb/debug.h> 46 46 #include <usb/host/ddf_helpers.h> 47 #include <usb/host/bandwidth.h>48 47 49 48 #include "hc.h" … … 82 81 83 82 if ((err = hc_init(instance, res)) != EOK) 84 goto err;85 86 if ((err = usb2_bus_init(&instance->bus, hcd, BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11)))87 83 goto err; 88 84
Note:
See TracChangeset
for help on using the changeset viewer.
