usbport.h (c2c66aff) usbport.h (73bfc3c8)
1/*
2 * PROJECT: ReactOS USB Port Driver
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: USBPort declarations
5 * COPYRIGHT: Copyright 2017 Vadim Galyant <vgal@rambler.ru>
6 */
7
8#ifndef USBPORT_H__

--- 16 unchanged lines hidden (view full) ---

25#define PCI_INTERFACE_USB_ID_EHCI 0x20
26#define PCI_INTERFACE_USB_ID_XHCI 0x30
27
28#ifdef USBD_TRANSFER_DIRECTION // due hubbusif.h included usbdi.h (Which overwrites...)
29#undef USBD_TRANSFER_DIRECTION
30#define USBD_TRANSFER_DIRECTION 0x00000001
31#endif
32
1/*
2 * PROJECT: ReactOS USB Port Driver
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: USBPort declarations
5 * COPYRIGHT: Copyright 2017 Vadim Galyant <vgal@rambler.ru>
6 */
7
8#ifndef USBPORT_H__

--- 16 unchanged lines hidden (view full) ---

25#define PCI_INTERFACE_USB_ID_EHCI 0x20
26#define PCI_INTERFACE_USB_ID_XHCI 0x30
27
28#ifdef USBD_TRANSFER_DIRECTION // due hubbusif.h included usbdi.h (Which overwrites...)
29#undef USBD_TRANSFER_DIRECTION
30#define USBD_TRANSFER_DIRECTION 0x00000001
31#endif
32
33#define USBPORT_RECIPIENT_ROOT_HUB BMREQUEST_TO_DEVICE
34#define USBPORT_RECIPIENT_ROOT_PORT BMREQUEST_TO_OTHER
33#define USBPORT_RECIPIENT_HUB BMREQUEST_TO_DEVICE
34#define USBPORT_RECIPIENT_PORT BMREQUEST_TO_OTHER
35
36#define INVALIDATE_ENDPOINT_ONLY 0
37#define INVALIDATE_ENDPOINT_WORKER_THREAD 1
38#define INVALIDATE_ENDPOINT_WORKER_DPC 2
39#define INVALIDATE_ENDPOINT_INT_NEXT_SOF 3
40
41#define USBPORT_DMA_DIRECTION_FROM_DEVICE 1
42#define USBPORT_DMA_DIRECTION_TO_DEVICE 2

--- 1145 unchanged lines hidden ---
35
36#define INVALIDATE_ENDPOINT_ONLY 0
37#define INVALIDATE_ENDPOINT_WORKER_THREAD 1
38#define INVALIDATE_ENDPOINT_WORKER_DPC 2
39#define INVALIDATE_ENDPOINT_INT_NEXT_SOF 3
40
41#define USBPORT_DMA_DIRECTION_FROM_DEVICE 1
42#define USBPORT_DMA_DIRECTION_TO_DEVICE 2

--- 1145 unchanged lines hidden ---