mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
scsi: make imm depend on !HIGHMEM
This is one of the last drivers depending on the block layer bounce buffering code. Restrict it to run on non-highmem configs so that the bounce buffering code can be removed. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20250505081138.3435992-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
7b32cb540b
commit
bf69bd3fc2
|
@ -823,6 +823,7 @@ config SCSI_PPA
|
||||||
config SCSI_IMM
|
config SCSI_IMM
|
||||||
tristate "IOMEGA parallel port (imm - newer drives)"
|
tristate "IOMEGA parallel port (imm - newer drives)"
|
||||||
depends on SCSI && PARPORT_PC
|
depends on SCSI && PARPORT_PC
|
||||||
|
depends on !HIGHMEM
|
||||||
help
|
help
|
||||||
This driver supports newer versions of IOMEGA's parallel port ZIP
|
This driver supports newer versions of IOMEGA's parallel port ZIP
|
||||||
drive (a 100 MB removable media device).
|
drive (a 100 MB removable media device).
|
||||||
|
|
|
@ -1224,7 +1224,6 @@ static int __imm_attach(struct parport *pb)
|
||||||
host = scsi_host_alloc(&imm_template, sizeof(imm_struct *));
|
host = scsi_host_alloc(&imm_template, sizeof(imm_struct *));
|
||||||
if (!host)
|
if (!host)
|
||||||
goto out1;
|
goto out1;
|
||||||
host->no_highmem = true;
|
|
||||||
host->io_port = pb->base;
|
host->io_port = pb->base;
|
||||||
host->n_io_port = ports;
|
host->n_io_port = ports;
|
||||||
host->dma_channel = -1;
|
host->dma_channel = -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user