[PATCH] scsi: advansys: drop ISA_DMA_API remnants

Arnd Bergmann posted 1 patch 1 month, 2 weeks ago
drivers/scsi/Kconfig    | 1 -
drivers/scsi/advansys.c | 1 -
2 files changed, 2 deletions(-)
[PATCH] scsi: advansys: drop ISA_DMA_API remnants
Posted by Arnd Bergmann 1 month, 2 weeks ago
From: Arnd Bergmann <arnd@arndb.de>

Support for ISA bus mastering was removed a few years ago, and the VLB
mode does not use the ISA DMA API, so drop the dependency and the
header inclusion.

Fixes: 9b4c8eaa68d0 ("advansys: remove ISA support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
There are only a couple of ISA_DMA_API users remaining in the tree
after the ethernet driver spring cleaning, so I noticed this one.

There is now only one SCSI driver remaining that uses ISA DMA,
the aha1542 ISA support, which is also the only ISA DMA bus master
driver in the tree now
---
 drivers/scsi/Kconfig    | 1 -
 drivers/scsi/advansys.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index fc8e8b0bfa39..c3042393af23 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -474,7 +474,6 @@ config SCSI_ADVANSYS
 	tristate "AdvanSys SCSI support"
 	depends on SCSI
 	depends on (ISA || EISA || PCI) && HAS_IOPORT
-	depends on ISA_DMA_API || !ISA
 	help
 	  This is a driver for all SCSI host adapters manufactured by
 	  AdvanSys. It is documented in the kernel source in
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index fcf059bf41e8..5cdbf2bdb13d 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -36,7 +36,6 @@
 #include <linux/dmapool.h>
 
 #include <asm/io.h>
-#include <asm/dma.h>
 
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_device.h>
-- 
2.39.5
Re: [PATCH] scsi: advansys: drop ISA_DMA_API remnants
Posted by Martin K. Petersen 3 weeks, 3 days ago
On Wed, 29 Apr 2026 17:15:37 +0200, Arnd Bergmann wrote:

> Support for ISA bus mastering was removed a few years ago, and the VLB
> mode does not use the ISA DMA API, so drop the dependency and the
> header inclusion.
> 
> 

Applied to 7.2/scsi-queue, thanks!

[1/1] scsi: advansys: drop ISA_DMA_API remnants
      https://git.kernel.org/mkp/scsi/c/c7233b3d99db

-- 
Martin K. Petersen
Re: [PATCH] scsi: advansys: drop ISA_DMA_API remnants
Posted by Martin K. Petersen 1 month, 2 weeks ago
Arnd,

> Support for ISA bus mastering was removed a few years ago, and the VLB
> mode does not use the ISA DMA API, so drop the dependency and the
> header inclusion.

Applied to 7.2/scsi-staging, thanks!

-- 
Martin K. Petersen
Re: [PATCH] scsi: advansys: drop ISA_DMA_API remnants
Posted by Johannes Thumshirn 1 month, 2 weeks ago
Looks good,

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>