VirtualBox

Changeset 104125 in vbox for trunk/include


Ignore:
Timestamp:
Mar 30, 2024 11:18:05 AM (10 months ago)
Author:
vboxsync
Message:

VUSB: Added vusbRhAbortEpByAddr(), renamed vusbRhAbortEp() to vusbRhAbortEpByPort() for clarity. New function will be useful for OHCI/EHCI HCs which do not keep track of devices by port but rather by address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vusb.h

    r99739 r104125  
    870870     * @param   enmDir      Endpoint direction.
    871871     */
    872     DECLR3CALLBACKMEMBER(int, pfnAbortEp,(PVUSBIROOTHUBCONNECTOR pInterface, uint32_t uPort, int EndPt, VUSBDIRECTION enmDir));
     872    DECLR3CALLBACKMEMBER(int, pfnAbortEpByPort,(PVUSBIROOTHUBCONNECTOR pInterface, uint32_t uPort, int EndPt, VUSBDIRECTION enmDir));
     873
     874    /**
     875     * Cancels and completes - with CRC failure - all URBs queued on an endpoint.
     876     * This is done in response to a guest endpoint/pipe abort.
     877     *
     878     * @returns VBox status code.
     879     * @param   pInterface  Pointer to this struct.
     880     * @param   DstAddress  Port of the device.
     881     * @param   EndPt       Endpoint number.
     882     * @param   enmDir      Endpoint direction.
     883     */
     884    DECLR3CALLBACKMEMBER(int, pfnAbortEpByAddr,(PVUSBIROOTHUBCONNECTOR pInterface, uint8_t DstAddress, int EndPt, VUSBDIRECTION enmDir));
    873885
    874886    /**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette