Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/usbhub.c

    r3e6a98c5 rfb2ef35  
    3535
    3636#include <ddf/driver.h>
    37 #include <stdbool.h>
     37#include <bool.h>
    3838#include <errno.h>
    3939#include <str_error.h>
     
    160160        hub_dev->running = true;
    161161        usb_log_info("Controlling hub '%s' (%zu ports).\n",
    162             ddf_dev_get_name(hub_dev->usb_device->ddf_dev), hub_dev->port_count);
     162            hub_dev->usb_device->ddf_dev->name, hub_dev->port_count);
    163163
    164164        usb_pipe_end_long_transfer(&usb_dev->ctrl_pipe);
    165165        return EOK;
    166166}
    167 
     167/*----------------------------------------------------------------------------*/
    168168/**
    169169 * Turn off power to all ports.
     
    176176        return ENOTSUP;
    177177}
    178 
     178/*----------------------------------------------------------------------------*/
    179179/**
    180180 * Remove all attached devices
     
    219219        return EOK;
    220220}
    221 
     221/*----------------------------------------------------------------------------*/
    222222/** Callback for polling hub for changes.
    223223 *
     
    256256        return true;
    257257}
    258 
     258/*----------------------------------------------------------------------------*/
    259259/**
    260260 * Load hub-specific information into hub_dev structure and process if needed
     
    331331        return EOK;
    332332}
    333 
     333/*----------------------------------------------------------------------------*/
    334334/**
    335335 * Set configuration of and USB device
     
    378378        return opResult;
    379379}
    380 
     380/*----------------------------------------------------------------------------*/
    381381/**
    382382 * Process hub over current change
     
    416416
    417417}
    418 
     418/*----------------------------------------------------------------------------*/
    419419/**
    420420 * Process hub interrupts.
     
    485485        }
    486486}
    487 
     487/*----------------------------------------------------------------------------*/
    488488/**
    489489 * callback called from hub polling fibril when the fibril terminates
Note: See TracChangeset for help on using the changeset viewer.