Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Jens Axboe
bf69bd3f 7b32cb54

+1 -1
+1
drivers/scsi/Kconfig
··· 823 823 config SCSI_IMM 824 824 tristate "IOMEGA parallel port (imm - newer drives)" 825 825 depends on SCSI && PARPORT_PC 826 + depends on !HIGHMEM 826 827 help 827 828 This driver supports newer versions of IOMEGA's parallel port ZIP 828 829 drive (a 100 MB removable media device).
-1
drivers/scsi/imm.c
··· 1224 1224 host = scsi_host_alloc(&imm_template, sizeof(imm_struct *)); 1225 1225 if (!host) 1226 1226 goto out1; 1227 - host->no_highmem = true; 1228 1227 host->io_port = pb->base; 1229 1228 host->n_io_port = ports; 1230 1229 host->dma_channel = -1;