mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:05:41 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
54
drivers/usb/usbohci/usbohci.h
Normal file
54
drivers/usb/usbohci/usbohci.h
Normal file
|
@ -0,0 +1,54 @@
|
|||
#ifndef USBOHCI_H__
|
||||
#define USBOHCI_H__
|
||||
|
||||
#include <libusb.h>
|
||||
|
||||
#include "hardware.h"
|
||||
#include "interfaces.h"
|
||||
|
||||
//
|
||||
// flags for handling USB_REQUEST_SET_FEATURE / USB_REQUEST_GET_FEATURE
|
||||
//
|
||||
#define PORT_ENABLE 1
|
||||
#define PORT_SUSPEND 2
|
||||
#define PORT_OVER_CURRENT 3
|
||||
#define PORT_RESET 4
|
||||
#define PORT_POWER 8
|
||||
#define C_PORT_CONNECTION 16
|
||||
#define C_PORT_ENABLE 17
|
||||
#define C_PORT_SUSPEND 18
|
||||
#define C_PORT_OVER_CURRENT 19
|
||||
#define C_PORT_RESET 20
|
||||
|
||||
//
|
||||
// tag for allocations
|
||||
//
|
||||
#define TAG_USBOHCI 'ICHO'
|
||||
|
||||
//
|
||||
// assert for c++ - taken from portcls
|
||||
//
|
||||
#define PC_ASSERT(exp) \
|
||||
(VOID)((!(exp)) ? \
|
||||
RtlAssert((PVOID) #exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
//
|
||||
// hardware.cpp
|
||||
//
|
||||
NTSTATUS NTAPI CreateUSBHardware(PUSBHARDWAREDEVICE *OutHardware);
|
||||
|
||||
//
|
||||
// usb_queue.cpp
|
||||
//
|
||||
NTSTATUS NTAPI CreateUSBQueue(PUSBQUEUE *OutUsbQueue);
|
||||
|
||||
//
|
||||
// usb_request.cpp
|
||||
//
|
||||
NTSTATUS NTAPI InternalCreateUSBRequest(PUSBREQUEST *OutRequest);
|
||||
}
|
||||
|
||||
#endif /* USBOHCI_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue