Changeset 7e5a12b in mainline for uspace/drv/bus/usb/xhci/hc.h


Ignore:
Timestamp:
2018-01-19T17:57:13Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
69b2dfee
Parents:
2833bb4
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:57:06)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:57:13)
Message:

xhci: make enable/disable slot symmetric

Previously, device slot context was allocated inside address_device,
complicating error paths.

File:
1 edited

Legend:

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

    r2833bb4 r7e5a12b  
    121121void hc_ring_doorbell(xhci_hc_t *, unsigned, unsigned);
    122122
    123 int hc_enable_slot(xhci_hc_t *, uint32_t *);
    124 int hc_disable_slot(xhci_hc_t *, xhci_device_t *);
     123int hc_enable_slot(xhci_device_t *);
     124int hc_disable_slot(xhci_device_t *);
    125125int hc_address_device(xhci_device_t *, xhci_endpoint_t *);
    126126int hc_configure_device(xhci_device_t *);
Note: See TracChangeset for help on using the changeset viewer.