Changeset 26e7d6d in mainline for uspace/drv/bus/usb/vhc/main.c


Ignore:
Timestamp:
2011-09-19T16:31:00Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/main.c

    r3842a955 r26e7d6d  
    3434 */
    3535
    36 #include <devmap.h>
     36#include <loc.h>
    3737#include <async.h>
    3838#include <unistd.h>
     
    7373        }
    7474        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);
    7677        if (rc != EOK) {
    7778                usb_log_fatal("Failed to initialize endpoint manager.\n");
     
    7980                return rc;
    8081        }
    81         usb_device_keeper_init(&data->dev_keeper);
     82        usb_device_manager_init(&data->dev_manager);
    8283
    8384        ddf_fun_t *hc = ddf_fun_create(dev, fun_exposed, "hc");
     
    104105        }
    105106
    106         rc = ddf_fun_add_to_class(hc, USB_HC_DDF_CLASS_NAME);
     107        rc = ddf_fun_add_to_category(hc, USB_HC_CATEGORY);
    107108        if (rc != EOK) {
    108109                usb_log_fatal("Failed to add function to HC class: %s.\n",
Note: See TracChangeset for help on using the changeset viewer.