Commit 194e5de9 authored by Douglas Gilbert's avatar Douglas Gilbert Committed by Linus Torvalds

[PATCH] scsi_merge.c 2.5.12

Fix oopses on ISA scsi adapters.

[ This is a transfer from Dave's tree ]
parent 1d03afe4
...@@ -136,7 +136,7 @@ void scsi_initialize_merge_fn(Scsi_Device * SDpnt) ...@@ -136,7 +136,7 @@ void scsi_initialize_merge_fn(Scsi_Device * SDpnt)
* hardware have no practical limit. * hardware have no practical limit.
*/ */
bounce_limit = BLK_BOUNCE_ANY; bounce_limit = BLK_BOUNCE_ANY;
else else if (SHpnt->pci_dev)
bounce_limit = SHpnt->pci_dev->dma_mask; bounce_limit = SHpnt->pci_dev->dma_mask;
} else if (SHpnt->unchecked_isa_dma) } else if (SHpnt->unchecked_isa_dma)
bounce_limit = BLK_BOUNCE_ISA; bounce_limit = BLK_BOUNCE_ISA;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment