Changeset 8300c72 in mainline for uspace/drv/bus/usb/xhci/main.c


Ignore:
Timestamp:
2025-03-03T22:58:05Z (13 hours ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
77a0119
Parents:
f35749e
Message:

Quiesce devices before proceeding with shutdown.

Only implemented for e1k, uhci and xhci.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/main.c

    rf35749e r8300c72  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2018 Ondrej Hlavaty, Petr Manek
    34 * All rights reserved.
     
    9495}
    9596
     97static errno_t hcd_hc_quiesce(hc_device_t *hcd)
     98{
     99        xhci_hc_t *hc = hcd_to_hc(hcd);
     100        hc_quiesce(hc);
     101        return EOK;
     102}
     103
    96104static const hc_driver_t xhci_driver = {
    97105        .name = NAME,
     
    103111        .start = hcd_start,
    104112        .hc_gone = hcd_hc_gone,
     113        .hc_quiesce = hcd_hc_quiesce
    105114};
    106115
Note: See TracChangeset for help on using the changeset viewer.