Re: Oops in _every_ 2.5 kernel - SCSI changes

From: Jens Axboe (axboe@suse.de)
Date: Wed Feb 20 2002 - 06:10:55 EST


On Wed, Feb 20 2002, Paulo Andre' wrote:
> Hi Jens,
>
> This is a very keen and motivated kernel hacker newbie here. That said,
> bear with me :)

Hmm, does this work? What SCSI devices do you have attached?

--- drivers/scsi/scsi_merge.c~ Wed Feb 20 12:08:11 2002
+++ drivers/scsi/scsi_merge.c Wed Feb 20 12:07:26 2002
@@ -136,7 +136,7 @@
                           * hardware have no practical limit.
                          */
                         bounce_limit = BLK_BOUNCE_ANY;
- else
+ else if (SHpnt->pci_dev)
                         bounce_limit = SHpnt->pci_dev->dma_mask;
         } else if (SHpnt->unchecked_isa_dma)
                 bounce_limit = BLK_BOUNCE_ISA;

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:23 EST