Changeset e991937 in mainline for uspace/drv


Ignore:
Timestamp:
2013-08-07T12:10:51Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2757247
Parents:
d8d100c
Message:

usb: hc function no longer represents the HC nor holds its data

Location:
uspace/drv/bus/usb
Files:
4 edited

Legend:

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

    rd8d100c re991937  
    8989
    9090        /* High Speed, no bandwidth */
    91         ret = hcd_ddf_setup_device(device, NULL, USB_SPEED_HIGH, 0, NULL);     
     91        ret = hcd_ddf_setup_hc(device, USB_SPEED_HIGH, 0, NULL);       
    9292        CHECK_RET_RETURN(ret,
    9393            "Failed to init generci hcd driver: %s\n", str_error(ret));
  • uspace/drv/bus/usb/ohci/ohci.c

    rd8d100c re991937  
    131131
    132132        /* Initialize generic HCD driver */
    133         ret = hcd_ddf_setup_device(device, NULL, USB_SPEED_FULL,
     133        ret = hcd_ddf_setup_hc(device, USB_SPEED_FULL,
    134134            BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);
    135135        if (ret != EOK) {
  • uspace/drv/bus/usb/uhci/uhci.c

    rd8d100c re991937  
    131131        }
    132132
    133         ret = hcd_ddf_setup_device(device, NULL, USB_SPEED_FULL,
     133        ret = hcd_ddf_setup_hc(device, USB_SPEED_FULL,
    134134            BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);
    135135        CHECK_RET_RETURN(ret, "Failed to setup UHCI HCD.\n");
  • uspace/drv/bus/usb/vhc/main.c

    rd8d100c re991937  
    8686
    8787        /* Initialize generic structures */
    88         ret = hcd_ddf_setup_device(dev, NULL, USB_SPEED_FULL,
     88        ret = hcd_ddf_setup_hc(dev, USB_SPEED_FULL,
    8989            BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);
    9090        if (ret != EOK) {
Note: See TracChangeset for help on using the changeset viewer.