Changeset 26e7d6d in mainline for uspace/drv/bus/usb/vhc/main.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/main.c
r3842a955 r26e7d6d 34 34 */ 35 35 36 #include < devmap.h>36 #include <loc.h> 37 37 #include <async.h> 38 38 #include <unistd.h> … … 73 73 } 74 74 data->magic = 0xDEADBEEF; 75 rc = usb_endpoint_manager_init(&data->ep_manager, (size_t) -1); 75 rc = usb_endpoint_manager_init(&data->ep_manager, (size_t) -1, 76 bandwidth_count_usb11); 76 77 if (rc != EOK) { 77 78 usb_log_fatal("Failed to initialize endpoint manager.\n"); … … 79 80 return rc; 80 81 } 81 usb_device_ keeper_init(&data->dev_keeper);82 usb_device_manager_init(&data->dev_manager); 82 83 83 84 ddf_fun_t *hc = ddf_fun_create(dev, fun_exposed, "hc"); … … 104 105 } 105 106 106 rc = ddf_fun_add_to_c lass(hc, USB_HC_DDF_CLASS_NAME);107 rc = ddf_fun_add_to_category(hc, USB_HC_CATEGORY); 107 108 if (rc != EOK) { 108 109 usb_log_fatal("Failed to add function to HC class: %s.\n",
Note:
See TracChangeset
for help on using the changeset viewer.