Author: cgutman
Date: Mon Aug 13 00:31:27 2012
New Revision: 57064
URL:
http://svn.reactos.org/svn/reactos?rev=57064&view=rev
Log:
[SCSIPORT]
- Fix a critical bug in interrupt sharing between scsiport miniports and other drivers
which caused scsiport to mask the interrupts from other devices sitting behind it
- This commit and r57063 fixes bug 7231
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] Mon Aug 13 00:31:27
2012
@@ -4585,7 +4585,11 @@
return FALSE;
/* Call miniport's HwInterrupt routine */
- DeviceExtension->HwInterrupt(&DeviceExtension->MiniPortDeviceExtension);
+ if (DeviceExtension->HwInterrupt(&DeviceExtension->MiniPortDeviceExtension)
== FALSE)
+ {
+ /* This interrupt doesn't belong to us */
+ return FALSE;
+ }
/* If flag of notification is set - queue a DPC */
if (DeviceExtension->InterruptData.Flags & SCSI_PORT_NOTIFICATION_NEEDED)