diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-05-19 14:55:58 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-20 10:56:15 -0400 |
commit | 979dca3826841e5dc9170c28f20bd75ece266a9a (patch) | |
tree | 1cfeb1d2b47314a50d2e2e567e89cdbfa69f8162 /drivers/scsi/imm.c | |
parent | 818bf493525d2a0ce3ddaefb2b78db1635596666 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/imm.c')
-rw-r--r-- | drivers/scsi/imm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index fc0f30ae0f77..cd2dffdab77a 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c | |||
@@ -1119,6 +1119,10 @@ static int device_check(imm_struct *dev) | |||
1119 | return -ENODEV; | 1119 | return -ENODEV; |
1120 | } | 1120 | } |
1121 | 1121 | ||
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 | */ | ||
1122 | static int imm_adjust_queue(struct scsi_device *device) | 1126 | static int imm_adjust_queue(struct scsi_device *device) |
1123 | { | 1127 | { |
1124 | blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH); | 1128 | blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH); |
@@ -1141,10 +1145,6 @@ static struct scsi_host_template imm_template = { | |||
1141 | .use_clustering = ENABLE_CLUSTERING, | 1145 | .use_clustering = ENABLE_CLUSTERING, |
1142 | .can_queue = 1, | 1146 | .can_queue = 1, |
1143 | .slave_alloc = imm_adjust_queue, | 1147 | .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 */ | ||
1148 | }; | 1148 | }; |
1149 | 1149 | ||
1150 | /*************************************************************************** | 1150 | /*************************************************************************** |