Author: janderwald
Date: Tue Feb 28 19:01:02 2012
New Revision: 55908
URL:
http://svn.reactos.org/svn/reactos?rev=55908&view=rev
Log:
[USBOHCI]
- Fix build
Modified:
trunk/reactos/drivers/usb/usbohci/usbohci.h
Modified: trunk/reactos/drivers/usb/usbohci/usbohci.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbohci/usbohc…
==============================================================================
--- trunk/reactos/drivers/usb/usbohci/usbohci.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbohci/usbohci.h [iso-8859-1] Tue Feb 28 19:01:02 2012
@@ -47,13 +47,6 @@
#define C_PORT_OVER_CURRENT 19
#define C_PORT_RESET 20
-typedef struct
-{
- BOOLEAN IsFDO; // is device a FDO or
PDO
- BOOLEAN IsHub; // is device a hub /
child - not yet used
- PDISPATCHIRP Dispatcher; // dispatches the code
-}COMMON_DEVICE_EXTENSION, *PCOMMON_DEVICE_EXTENSION;
-
//
// tag for allocations
//
@@ -67,36 +60,9 @@
RtlAssert((PVOID) #exp, (PVOID)__FILE__, __LINE__, NULL ), FALSE : TRUE)
//
-// hcd_controller.cpp
-//
-NTSTATUS CreateHCDController(PHCDCONTROLLER *HcdController);
-
-//
// hardware.cpp
//
NTSTATUS CreateUSBHardware(PUSBHARDWAREDEVICE *OutHardware);
-
-//
-// misc.cpp
-//
-NTSTATUS NTAPI SyncForwardIrp(PDEVICE_OBJECT DeviceObject, PIRP Irp);
-NTSTATUS NTAPI GetBusInterface(PDEVICE_OBJECT DeviceObject, PBUS_INTERFACE_STANDARD
busInterface);
-
-//
-// root_hub_controller.cpp
-//
-NTSTATUS CreateHubController(PHUBCONTROLLER * OutHubController);
-
-//
-// memory_manager.cpp
-//
-NTSTATUS CreateDMAMemoryManager(PDMAMEMORYMANAGER *OutMemoryManager);
-
-
-//
-// usb_device.cpp
-//
-NTSTATUS CreateUSBDevice(PUSBDEVICE *OutDevice);
//
// usb_queue.cpp
@@ -109,25 +75,4 @@
NTSTATUS InternalCreateUSBRequest(PUSBREQUEST *OutRequest);
-typedef struct _USB_ENDPOINT
-{
- USB_ENDPOINT_DESCRIPTOR EndPointDescriptor;
- UCHAR HubAddress;
- UCHAR HubPort;
- UCHAR DataToggle;
-} USB_ENDPOINT, *PUSB_ENDPOINT;
-
-typedef struct _USB_INTERFACE
-{
- USB_INTERFACE_DESCRIPTOR InterfaceDescriptor;
- USB_ENDPOINT *EndPoints;
-} USB_INTERFACE, *PUSB_INTERFACE;
-
-typedef struct _USB_CONFIGURATION
-{
- PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor;
- USB_INTERFACE *Interfaces;
-} USB_CONFIGURATION, *PUSB_CONFIGURATION;
-
-
#endif