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

index 5a3c670aec27d6e29fe18c4cabf92be267fdb025..c89e6991e9349e209259e661cf8f538dfa9df176 100644 (file)
@@ -403,6 +403,7 @@ config SCSI_ACARD
 config SCSI_AHA152X
        tristate "Adaptec AHA152X/2825 support"
        depends on ISA && SCSI
+       depends on !HIGHMEM
        select SCSI_SPI_ATTRS
        select CHECK_SIGNATURE
        help
index 4276f868cd915937938b57d5e72ed22020172873..e94c0a19c435d80836e0153cdde1259dd966d5fa 100644 (file)
@@ -746,7 +746,6 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)
        /* need to have host registered before triggering any interrupt */
        list_add_tail(&HOSTDATA(shpnt)->host_list, &aha152x_host_list);
 
-       shpnt->no_highmem = true;
        shpnt->io_port   = setup->io_port;
        shpnt->n_io_port = IO_RANGE;
        shpnt->irq       = setup->irq;