Changeset 5b89d43b in mainline for uspace/drv/bus/usb/uhci/root_hub.h


Ignore:
Timestamp:
2013-12-14T11:54:29Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f5ceb18
Parents:
3558ba93
Message:

Unbreak USB UHCI support.

  • Support PIO_WINDOW_DEV_IFACE in the uhci driver.
  • Do not base the UHCI RH resources on the address obtained from pio_enable_range().
  • Provide a restricted PIO window instead, based on the UHCI IO range. The UHCI RH resources are then relative to this window.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/root_hub.h

    r3558ba93 r5b89d43b  
    3838#include <ddf/driver.h>
    3939#include <ops/hw_res.h>
     40#include <ops/pio_window.h>
    4041
    4142/** DDF support structure for uhci_rhd driver, provides I/O resources */
     
    4546        /** The only resource in the RH resource list */
    4647        hw_resource_t io_regs;
     48        /** PIO window in which the RH will operate. */
     49        pio_window_t pio_window;       
    4750} rh_t;
    4851
    49 int rh_init(
    50     rh_t *instance, ddf_fun_t *fun, uintptr_t reg_addr, size_t reg_size);
     52extern int rh_init(rh_t *, ddf_fun_t *, addr_range_t *, uintptr_t, size_t);
    5153
    5254#endif
Note: See TracChangeset for help on using the changeset viewer.