Adding Cromwell to usb.
[reactos.git] / reactos / drivers / usb / cromwell / host / ohci_main.h
1 /*
2 * OHCI WDM/PNP driver
3 *
4 * Copyright (C) 2005 ReactOS Team
5 *
6 * Author: Aleksey Bragin (aleksey@reactos.com)
7 *
8 */
9
10 #ifndef OHCI_MAIN_H
11 #define OHCI_MAIN_H
12
13 typedef struct _OHCI_DRIVER_EXTENSION
14 {
15 //OHCI_HW_INITIALIZATION_DATA InitializationData;
16 PVOID HwContext;
17 //UNICODE_STRING RegistryPath;
18
19 } OHCI_DRIVER_EXTENSION, *POHCI_DRIVER_EXTENSION;
20
21 typedef struct _OHCI_DEVICE_EXTENSTION
22 {
23 ULONG DeviceNumber;
24 PDEVICE_OBJECT PhysicalDeviceObject;
25 PDEVICE_OBJECT FunctionalDeviceObject;
26 PDEVICE_OBJECT NextDeviceObject;
27 //UNICODE_STRING RegistryPath;
28 PKINTERRUPT InterruptObject;
29 KSPIN_LOCK InterruptSpinLock;
30 PCM_RESOURCE_LIST AllocatedResources;
31 ULONG InterruptVector;
32 ULONG InterruptLevel;
33 PHYSICAL_ADDRESS BaseAddress;
34 ULONG BaseAddrLength;
35 ULONG Flags;
36 ULONG AdapterInterfaceType;
37 ULONG SystemIoBusNumber;
38 ULONG SystemIoSlotNumber;
39 LIST_ENTRY AddressMappingListHead;
40 //KDPC DpcObject;
41 OHCI_DRIVER_EXTENSION *DriverExtension;
42 ULONG DeviceOpened;
43 //KMUTEX DeviceLock;
44 //CHAR MiniPortDeviceExtension[1];
45 } OHCI_DEVICE_EXTENSION, *POHCI_DEVICE_EXTENSION;
46
47
48 #endif