Skip to content

Commit 979dca3

Browse files
rddunlapJames Bottomley
authored andcommitted
[SCSI] imm: no need for unchecked_isa_dma
Relax the lowmem bounce buffer requirement for imm so that any low memory page will do -- they don't need to be below the ISA 16 MB limit, just need to be mapped in low memory. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent 818bf49 commit 979dca3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/scsi/imm.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,10 @@ static int device_check(imm_struct *dev)
11191119
return -ENODEV;
11201120
}
11211121

1122+
/*
1123+
* imm cannot deal with highmem, so this causes all IO pages for this host
1124+
* to reside in low memory (hence mapped)
1125+
*/
11221126
static int imm_adjust_queue(struct scsi_device *device)
11231127
{
11241128
blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH);
@@ -1141,10 +1145,6 @@ static struct scsi_host_template imm_template = {
11411145
.use_clustering = ENABLE_CLUSTERING,
11421146
.can_queue = 1,
11431147
.slave_alloc = imm_adjust_queue,
1144-
.unchecked_isa_dma = 1, /* imm cannot deal with highmem, so
1145-
* this is an easy trick to ensure
1146-
* all io pages for this host reside
1147-
* in low memory */
11481148
};
11491149

11501150
/***************************************************************************

0 commit comments

Comments
 (0)