Author: mnordell
Date: Sun Sep 23 05:38:35 2012
New Revision: 57368
URL:
http://svn.reactos.org/svn/reactos?rev=57368&view=rev
Log:
Added descriptive DPRINT for an ioctl intended for the mount manager. Hopefully helps
someone else trying to find that device 0x4d or 77 is, when no such device exists.
It's not defined by value in header file but by ASCII 'M'.
Modified:
trunk/reactos/drivers/storage/scsiport/scsiport.c
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] Sun Sep 23 05:38:35
2012
@@ -2870,7 +2870,11 @@
break;
default:
- DPRINT1(" unknown ioctl code: 0x%lX\n",
Stack->Parameters.DeviceIoControl.IoControlCode);
+ if ('M' == (Stack->Parameters.DeviceIoControl.IoControlCode >>
16)) {
+ DPRINT1(" got ioctl intended for the mount manager: 0x%lX\n",
Stack->Parameters.DeviceIoControl.IoControlCode);
+ } else {
+ DPRINT1(" unknown ioctl code: 0x%lX\n",
Stack->Parameters.DeviceIoControl.IoControlCode);
+ }
Status = STATUS_NOT_IMPLEMENTED;
break;
}