--- trunk/reactos/drivers/usb/cromwell/usb_wrapper.h 2005-09-08 20:02:40 UTC (rev 17746)
+++ trunk/reactos/drivers/usb/cromwell/usb_wrapper.h 2005-09-08 20:07:16 UTC (rev 17747)
@@ -1,50 +0,0 @@
-//#include <stdlib.h>
-//#include <ntos/types.h>
-//#include <ddk/extypes.h>
-
-/*
- TODO: Do a major cleanup of this file!
- Lots of definitions should go to corresponding files
-*/
-
-#include <ddk/ntddk.h>
-#include <ddk/kbdmou.h>
-#include <debug.h>
-
-#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
-
-void wait_ms(int mils);
-void my_udelay(int us);
-
-// For now this is needed only for correct operation of embedded keyboard and mouse drvs
-typedef struct _USBPORT_INTERFACE
-{
- PCONNECT_DATA KbdConnectData;
- PCONNECT_DATA MouseConnectData;
-} USBPORT_INTERFACE, *PUSBPORT_INTERFACE;
-
-// Register in usbcore.sys
-void STDCALL RegisterPortDriver(PDRIVER_OBJECT, PUSBPORT_INTERFACE);
-
-#ifndef _snprintf
-int _snprintf(char * buf, size_t cnt, const char *fmt, ...);
-#endif
-#ifndef sprintf
-int sprintf(char * buf, const char *fmt, ...);
-#endif
-#ifndef swprintf
-int swprintf(wchar_t *buf, const wchar_t *fmt, ...);
-#endif
-
-#undef interface
-
-#include "linux/linux_wrapper.h"
-#define __KERNEL__
-#undef CONFIG_PCI
-#define CONFIG_PCI
-
-#include "linux/usb.h"
-#include "linux/pci_ids.h"
-
-#define IOCTL_INTERNAL_USB_GET_ROOT_USB_DEVICE \
- CTL_CODE(FILE_DEVICE_USB, 4000, METHOD_BUFFERED, FILE_ANY_ACCESS)