Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/root_hub.h

    r7ce0fe3 r013e4ca4  
    3636
    3737#include <fibril.h>
    38 #include <driver.h> /* for device_t */
     38#include <ddf/driver.h>
    3939
    4040#include "port.h"
    4141
    4242#define UHCI_ROOT_HUB_PORT_COUNT 2
    43 #define UHCI_ROOT_HUB_PORT_REGISTERS_OFFSET 0x10
    44 #define ROOT_HUB_WAIT_USEC 10000000 /* 10 seconds */
     43#define ROOT_HUB_WAIT_USEC 5000000 /* 5 seconds */
    4544
    4645typedef struct root_hub {
     
    5049
    5150int uhci_root_hub_init(
    52   uhci_root_hub_t *instance, void *addr, size_t size, device_t *rh);
     51  uhci_root_hub_t *instance, void *addr, size_t size, ddf_dev_t *rh);
    5352
    5453int uhci_root_hub_fini(uhci_root_hub_t *instance);
Note: See TracChangeset for help on using the changeset viewer.