Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/uhci.h

    rd2bff2f r9d2d444  
    3838#include <ddf/driver.h>
    3939
    40 int device_setup_uhci(ddf_dev_t *device);
     40#include "hc.h"
     41#include "root_hub.h"
     42
     43/** Structure representing both functions of UHCI hc, USB host controller
     44 * and USB root hub */
     45typedef struct uhci {
     46        /** Pointer to DDF represenation of UHCI host controller */
     47        ddf_fun_t *hc_fun;
     48        /** Pointer to DDF represenation of UHCI root hub */
     49        ddf_fun_t *rh_fun;
     50
     51        /** Internal driver's represenation of UHCI host controller */
     52        hc_t hc;
     53        /** Internal driver's represenation of UHCI root hub */
     54        rh_t rh;
     55} uhci_t;
     56
     57int uhci_init(uhci_t *instance, ddf_dev_t *device);
    4158#endif
    4259/**
Note: See TracChangeset for help on using the changeset viewer.