]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: make ppa depend on !HIGHMEM
authorChristoph Hellwig <hch@lst.de>
Mon, 5 May 2025 08:11:22 +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-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/Kconfig
drivers/scsi/ppa.c

index 82e0b7eaed4ca46c91d14038125e4bbf1eefc5b7..5522310bab8d16188d8389e50b7feb3acf96e221 100644 (file)
@@ -796,6 +796,7 @@ config SCSI_PPA
        tristate "IOMEGA parallel port (ppa - older drives)"
        depends on SCSI && PARPORT_PC
        depends on HAS_IOPORT
+       depends on !HIGHMEM
        help
          This driver supports older versions of IOMEGA's parallel port ZIP
          drive (a 100 MB removable media device).
index a06329b478519a2285e0d85554503f7d8a469194..1ed3171f179787f76413834ce796a87cd4d53485 100644 (file)
@@ -1104,7 +1104,6 @@ static int __ppa_attach(struct parport *pb)
        host = scsi_host_alloc(&ppa_template, sizeof(ppa_struct *));
        if (!host)
                goto out1;
-       host->no_highmem = true;
        host->io_port = pb->base;
        host->n_io_port = ports;
        host->dma_channel = -1;