Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhcirh/port.c

    r1ae74c6 re882e3a  
    3232 * @brief UHCI root hub port routines
    3333 */
    34 #include <ddi.h>
     34#include <libarch/ddi.h>  /* pio_read and pio_write */
    3535#include <fibril_synch.h> /* async_usleep */
    3636#include <errno.h>
     
    6363        return pio_read_16(port->address);
    6464}
    65 
     65/*----------------------------------------------------------------------------*/
    6666/** Register writing helper function.
    6767 *
     
    7575        pio_write_16(port->address, val);
    7676}
    77 
     77/*----------------------------------------------------------------------------*/
    7878/** Initialize UHCI root hub port instance.
    7979 *
     
    127127        return EOK;
    128128}
    129 
     129/*----------------------------------------------------------------------------*/
    130130/** Cleanup UHCI root hub port instance.
    131131 *
     
    141141        return;
    142142}
    143 
     143/*----------------------------------------------------------------------------*/
    144144/** Periodically checks port status and reports new devices.
    145145 *
     
    210210        return EOK;
    211211}
    212 
     212/*----------------------------------------------------------------------------*/
    213213/** Callback for enabling port during adding a new device.
    214214 *
     
    247247        return EOK;
    248248}
    249 
     249/*----------------------------------------------------------------------------*/
    250250/** Initialize and report connected device.
    251251 *
     
    279279        usb_log_info("%s: New device, address %d (handle %" PRIun ").\n",
    280280            port->id_string, port->attached_device.address,
    281             ddf_fun_get_handle(port->attached_device.fun));
    282         return EOK;
    283 }
    284 
     281            port->attached_device.fun->handle);
     282        return EOK;
     283}
     284/*----------------------------------------------------------------------------*/
    285285/** Remove device.
    286286 *
     
    324324        return EOK;
    325325}
    326 
     326/*----------------------------------------------------------------------------*/
    327327/** Enable or disable root hub port.
    328328 *
     
    358358        return EOK;
    359359}
    360 
     360/*----------------------------------------------------------------------------*/
    361361/** Print the port status value in a human friendly way
    362362 *
Note: See TracChangeset for help on using the changeset viewer.