Changeset 42dbb26 in mainline for uspace/drv/ohci/ohci_rh.h


Ignore:
Timestamp:
2011-03-20T18:36:09Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7bc999
Parents:
b8e9acb
Message:

Enable access to device registers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/ohci_rh.h

    rb8e9acb r42dbb26  
    3838#include <usb/usb.h>
    3939
     40#include "ohci_regs.h"
    4041#include "batch.h"
    4142
    4243typedef struct ohci_rh {
     44        ohci_regs_t *registers;
    4345        usb_address_t address;
    4446} ohci_rh_t;
    4547
    46 int ohci_rh_init(ohci_rh_t *instance, uintptr_t reg_addr, size_t reg_size);
     48int ohci_rh_init(ohci_rh_t *instance, ohci_regs_t *regs);
    4749
    4850void ohci_rh_request(ohci_rh_t *instance, batch_t *request);
Note: See TracChangeset for help on using the changeset viewer.