Author: fireball
Date: Sat Aug 19 01:00:43 2006
New Revision: 23603
URL:
http://svn.reactos.org/svn/reactos?rev=23603&view=rev
Log:
Fixes:
- missing ";" at eol
- some compatibility issues with newer WDK's files
Modified:
trunk/reactos/drivers/usb/nt4compat/usbdriver/bulkonly.c
trunk/reactos/drivers/usb/nt4compat/usbdriver/td.c
trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/bulkonly.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/bulkonly.c (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/bulkonly.c Sat Aug 19 01:00:43 2006
@@ -23,6 +23,10 @@
#include "debug.h"
#include "usb.h"
#include "umss.h"
+
+// ULONG_PTR defining hack, to use ntddsci.h from reactos
+//FIXME: Move to a header file later
+typedef unsigned long ULONG_PTR, *PULONG_PTR;
#include <ntddscsi.h>
#define OLYMPUS_CSW( pdev_EXT, staTUS ) \
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/td.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/td.c (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/td.c Sat Aug 19 01:00:43 2006
@@ -484,7 +484,7 @@
while( IsListEmpty( &ptd->ptde->vert_link ) == FALSE )
{
- pthis = RemoveHeadList( &ptd->ptde->vert_link )
+ pthis = RemoveHeadList( &ptd->ptde->vert_link );
ptofree = ( ( PTD_EXTENSION)pthis )->ptd;
free_td( pool_list, ptofree );
}
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c Sat Aug 19 01:00:43 2006
@@ -26,9 +26,18 @@
#include "umss.h"
#include "usb.h"
#include "hub.h"
-#include "storage\inc\srb.h"
-#include "storage\inc\ntddscsi.h"
-#include "storage\inc\scsi.h"
+
+// ULONG_PTR defining hack, to use ntddsci.h from reactos
+// plus hack for __field_ecount for a new WDK
+//FIXME: Move to a header file later
+typedef unsigned long ULONG_PTR, *PULONG_PTR;
+#ifndef __field_ecount
+# define __field_ecount(x)
+#endif
+
+#include <srb.h>
+#include <ntddscsi.h>
+#include <scsi.h>
#define UMSS_EXIT_DISPATCH( dev_OBJ, staTUS, iRp ) \
{\