]> www.infradead.org Git - users/hch/misc.git/commitdiff
scsi: make ppa depend on !HIGHMEM
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Apr 2025 14:36:19 +0000 (09:36 -0500)
committerChristoph Hellwig <hch@lst.de>
Wed, 30 Apr 2025 14:57:57 +0000 (09:57 -0500)
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>
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;