Changeset df6ded8 in mainline for uspace/drv/bus/usb/ohci/ohci_rh.h


Ignore:
Timestamp:
2018-02-28T16:37:50Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b20da0
Parents:
f5e5f73 (diff), b2dca8de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
git-committer:
Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
Message:

Merge github.com:helenos-xhci-team/helenos

This commit merges support for USB 3 and generally refactors, fixes,
extends and cleans up the existing USB framework.

Notable additions and features:

  • new host controller driver has been implemented to control various xHC models (among others, NEC Renesas uPD720200)
  • isochronous data transfer mode
  • support for explicit USB device removal
  • USB tablet driver
File:
1 edited

Legend:

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

    rf5e5f73 rdf6ded8  
    6161                uint8_t rempow[STATUS_BYTES(OHCI_MAX_PORTS) * 2];
    6262        } __attribute__((packed)) hub_descriptor;
    63         /** interrupt transfer waiting for an actual interrupt to occur */
    64         usb_transfer_batch_t *unfinished_interrupt_transfer;
     63        /** A hacky way to emulate interrupts over polling. See ehci_rh. */
     64        endpoint_t *status_change_endpoint;
     65        fibril_mutex_t *guard;
    6566} ohci_rh_t;
    6667
    67 errno_t ohci_rh_init(ohci_rh_t *instance, ohci_regs_t *regs, const char *name);
     68errno_t ohci_rh_init(ohci_rh_t *, ohci_regs_t *, fibril_mutex_t *, const char *);
    6869errno_t ohci_rh_schedule(ohci_rh_t *instance, usb_transfer_batch_t *batch);
    6970errno_t ohci_rh_interrupt(ohci_rh_t *instance);
Note: See TracChangeset for help on using the changeset viewer.