Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/port.c

    r5f94a0c r7d521e24  
    4040
    4141#include <usb/usb.h>    /* usb_address_t */
    42 #include <usb/hub.h>    /* usb_hc_new_device_wrapper */
     42#include <usb/dev/hub.h>    /* usb_hc_new_device_wrapper */
    4343#include <usb/debug.h>
    4444
     
    227227                while (uhci_port_read_status(port) & STATUS_IN_RESET);
    228228        }
    229         /* PIO delay, should not be longer than 3ms as the device might
    230          * enter suspend state. */
    231229        udelay(10);
    232230        /* Enable the port. */
    233231        uhci_port_set_enabled(port, true);
     232
     233        /* Reset recovery period,
     234         * devices do not have to respond during this period
     235         */
     236        async_usleep(10000);
    234237        return EOK;
    235238}
Note: See TracChangeset for help on using the changeset viewer.