Changeset 9620a54 in mainline for uspace/drv/bus/usb/xhci/trb_ring.h


Ignore:
Timestamp:
2017-10-29T10:51:59Z (8 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d33dc780
Parents:
62f8025
Message:

Small changes. Temporarily fixed no device problem for endpoint logging. Added similar macro for device logging. Changed log messages to adopt these macros. TRB rings can be freed again. Made ring finalizers noexcept. Upon detach, the entire slot is disabled prior to unregistering endpoints in order to prevent invalid HC commands. Removed active endpoints count from XHCI device. Device context is freed in HC, so DCBAA is not touched from anywhere else.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/trb_ring.h

    r62f8025 r9620a54  
    7474
    7575int xhci_trb_ring_init(xhci_trb_ring_t *);
    76 int xhci_trb_ring_fini(xhci_trb_ring_t *);
     76void xhci_trb_ring_fini(xhci_trb_ring_t *);
    7777int xhci_trb_ring_enqueue(xhci_trb_ring_t *, xhci_trb_t *, uintptr_t *);
    7878int xhci_trb_ring_enqueue_multiple(xhci_trb_ring_t *, xhci_trb_t *, size_t, uintptr_t *);
     
    112112
    113113int xhci_event_ring_init(xhci_event_ring_t *);
    114 int xhci_event_ring_fini(xhci_event_ring_t *);
     114void xhci_event_ring_fini(xhci_event_ring_t *);
    115115int xhci_event_ring_dequeue(xhci_event_ring_t *, xhci_trb_t *);
    116116
Note: See TracChangeset for help on using the changeset viewer.