Re: linux-next: Tree for February 20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 20 February 2009, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20090219:

I've just noticed stall patch version in ide tree so if you're
using ide this patch is also necessary (fixes hang on boot):

--- linux-next/drivers/ide/ide-iops.c	2009-02-20 18:00:28.000000000 +0100
+++ linux-2.6.git/drivers/ide/ide-iops.c	2009-02-19 18:31:04.000000000 +0100
@@ -468,9 +468,9 @@
 	unsigned long flags;
 
 	spin_lock_irqsave(&hwif->lock, flags);
-	if ((drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT) &&
-	    (cmd->protocol == ATAPI_PROT_DMA ||
-	     cmd->protocol == ATAPI_PROT_PIO))
+	if ((cmd->protocol != ATAPI_PROT_DMA &&
+	     cmd->protocol != ATAPI_PROT_PIO) ||
+	    (drive->atapi_flags & IDE_AFLAG_DRQ_INTERRUPT))
 		__ide_set_handler(drive, handler, timeout);
 	hwif->tp_ops->exec_command(hwif, cmd->tf.command);
 	/*
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux