Re: Oops in _every_ 2.5 kernel - SCSI changes

Jens Axboe (axboe@suse.de)
Wed, 20 Feb 2002 12:10:55 +0100


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/