lkml.org 
[lkml]   [2002]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Oops in _every_ 2.5 kernel - SCSI changes
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.039 / U:0.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site