X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fscsi%2Fimm.c;h=2d95ac9c32c1576e1a6ea01c562fac839330dac6;hb=e37a72de84d27ee8bc0e7dbb5c2f1774ed306dbb;hp=65e845665b85d26b24da8f1734a45a7ce04744ce;hpb=0e396ee43e445cb7c215a98da4e76d0ce354d9d7;p=powerpc.git diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index 65e845665b..2d95ac9c32 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c @@ -3,15 +3,11 @@ * * (The IMM is the embedded controller in the ZIP Plus drive.) * - * Current Maintainer: David Campbell (Perth, Western Australia) - * campbell@torque.net - * * My unoffical company acronym list is 21 pages long: * FLA: Four letter acronym with built in facility for * future expansion to five letters. */ -#include #include #include #include @@ -830,7 +826,7 @@ static int imm_engine(imm_struct *dev, struct scsi_cmnd *cmd) /* Phase 2 - We are now talking to the scsi bus */ case 2: - if (!imm_select(dev, cmd->device->id)) { + if (!imm_select(dev, scmd_id(cmd))) { imm_fail(dev, DID_NO_CONNECT); return 0; } @@ -1119,6 +1115,10 @@ static int device_check(imm_struct *dev) return -ENODEV; } +/* + * imm cannot deal with highmem, so this causes all IO pages for this host + * to reside in low memory (hence mapped) + */ static int imm_adjust_queue(struct scsi_device *device) { blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH); @@ -1141,10 +1141,6 @@ static struct scsi_host_template imm_template = { .use_clustering = ENABLE_CLUSTERING, .can_queue = 1, .slave_alloc = imm_adjust_queue, - .unchecked_isa_dma = 1, /* imm cannot deal with highmem, so - * this is an easy trick to ensure - * all io pages for this host reside - * in low memory */ }; /***************************************************************************