]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: make imm depend on !HIGHMEM
authorChristoph Hellwig <hch@lst.de>
Mon, 5 May 2025 08:11:21 +0000 (10:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 May 2025 19:22:39 +0000 (13:22 -0600)
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>
drivers/scsi/Kconfig
drivers/scsi/imm.c

index c89e6991e9349e209259e661cf8f538dfa9df176..82e0b7eaed4ca46c91d14038125e4bbf1eefc5b7 100644 (file)
@@ -823,6 +823,7 @@ config SCSI_PPA
 config SCSI_IMM
        tristate "IOMEGA parallel port (imm - newer drives)"
        depends on SCSI && PARPORT_PC
+       depends on !HIGHMEM
        help
          This driver supports newer versions of IOMEGA's parallel port ZIP
          drive (a 100 MB removable media device).
index 1d4c7310f1a63c579daefc856ddb8b55174f316e..0821cf994b986794d9ab0eb5a265c550fc153f46 100644 (file)
@@ -1224,7 +1224,6 @@ static int __imm_attach(struct parport *pb)
        host = scsi_host_alloc(&imm_template, sizeof(imm_struct *));
        if (!host)
                goto out1;
-       host->no_highmem = true;
        host->io_port = pb->base;
        host->n_io_port = ports;
        host->dma_channel = -1;