Commit 27a0918d authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

scsi: make ppa 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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250505081138.3435992-4-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bf69bd3f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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).
+0 −1
Original line number Diff line number Diff line
@@ -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;