Modified: trunk/reactos/drivers/bus/serenum/serenum.c
Modified: trunk/reactos/drivers/dd/serial/serial.c
Modified: trunk/reactos/drivers/input/kbdclass/kbdclass.c
Modified: trunk/reactos/drivers/input/mouclass/mouclass.c
Modified: trunk/reactos/drivers/input/sermouse/sermouse.c
Modified: trunk/reactos/drivers/storage/pciidex/miniport.c
Modified: trunk/reactos/drivers/usb/miniport/common/main.c
Modified: trunk/reactos/drivers/usb/usbhub/usbhub.c
Modified: trunk/reactos/drivers/usb/usbstor/usbstor.c
--- trunk/reactos/drivers/bus/serenum/serenum.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/bus/serenum/serenum.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -100,7 +100,7 @@
DriverObject->DriverUnload = DriverUnload;
DriverObject->DriverExtension->AddDevice = SerenumAddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
//DriverObject->MajorFunction[IRP_MJ_QUERY_INFORMATION] = SerialQueryInformation;
--- trunk/reactos/drivers/dd/serial/serial.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/dd/serial/serial.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -29,7 +29,7 @@
DriverObject->DriverUnload = DriverUnload;
DriverObject->DriverExtension->AddDevice = SerialAddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = ForwardIrpAndForget;
DriverObject->MajorFunction[IRP_MJ_CREATE] = SerialCreate;
DriverObject->MajorFunction[IRP_MJ_CLOSE] = SerialClose;
--- trunk/reactos/drivers/input/kbdclass/kbdclass.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/input/kbdclass/kbdclass.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -798,7 +798,7 @@
DriverObject->DriverExtension->AddDevice = ClassAddDevice;
DriverObject->DriverUnload = DriverUnload;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
DriverObject->MajorFunction[IRP_MJ_CREATE] = ClassCreate;
--- trunk/reactos/drivers/input/mouclass/mouclass.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/input/mouclass/mouclass.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -136,6 +136,7 @@
/* Forward some IRPs to lower device */
switch (IoGetCurrentIrpStackLocation(Irp)->MajorFunction)
{
+ case IRP_MJ_PNP:
case IRP_MJ_INTERNAL_DEVICE_CONTROL:
return ForwardIrpAndForget(DeviceObject, Irp);
default:
@@ -788,7 +789,7 @@
DriverObject->DriverExtension->AddDevice = ClassAddDevice;
DriverObject->DriverUnload = DriverUnload;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
DriverObject->MajorFunction[IRP_MJ_CREATE] = ClassCreate;
--- trunk/reactos/drivers/input/sermouse/sermouse.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/input/sermouse/sermouse.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -150,7 +150,7 @@
DriverObject->DriverUnload = DriverUnload;
DriverObject->DriverExtension->AddDevice = SermouseAddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
DriverObject->MajorFunction[IRP_MJ_CREATE] = SermouseCreate;
--- trunk/reactos/drivers/storage/pciidex/miniport.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/storage/pciidex/miniport.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -50,7 +50,7 @@
DriverObject->DriverExtension->AddDevice = PciIdeXAddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = ForwardIrpAndForget;
DriverObject->MajorFunction[IRP_MJ_PNP] = PciIdeXPnpDispatch;
--- trunk/reactos/drivers/usb/miniport/common/main.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/usb/miniport/common/main.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -401,7 +401,7 @@
DriverObject->DriverUnload = DriverUnload;
DriverObject->DriverExtension->AddDevice = AddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
DriverObject->MajorFunction[IRP_MJ_CREATE] = DispatchCreate;
--- trunk/reactos/drivers/usb/usbhub/usbhub.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/usb/usbhub/usbhub.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -179,7 +179,7 @@
DriverObject->DriverExtension->AddDevice = UsbhubAddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
DriverObject->MajorFunction[IRP_MJ_CREATE] = UsbhubCreate;
--- trunk/reactos/drivers/usb/usbstor/usbstor.c 2005-12-18 19:50:53 UTC (rev 20255)
+++ trunk/reactos/drivers/usb/usbstor/usbstor.c 2005-12-18 20:50:26 UTC (rev 20256)
@@ -130,7 +130,7 @@
DriverObject->DriverUnload = DriverUnload;
DriverObject->DriverExtension->AddDevice = AddDevice;
- for (i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++)
+ for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
DriverObject->MajorFunction[i] = IrpStub;
DriverObject->DriverStartIo = (PVOID)StartIo;
Property changes on: trunk/reactos/drivers/usb/usbstor/usbstor.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/reactos/drivers/usb/usbstor/usbstor.def
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/reactos/drivers/usb/usbstor/usbstor.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/reactos/drivers/usb/usbstor/usbstor.rc
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/reactos/drivers/usb/usbstor/usbstor.xml
___________________________________________________________________
Name: svn:eol-style
+ native