Ignore:
File:
1 edited

Legend:

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

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