public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: advansys: drop ISA_DMA_API remnants
@ 2026-04-29 15:15 Arnd Bergmann
  2026-04-29 21:01 ` Johannes Thumshirn
  2026-04-30 15:23 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2026-04-29 15:15 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Matthew Wilcox,
	Hannes Reinecke, Jens Axboe
  Cc: Arnd Bergmann, Johannes Thumshirn, John Garry, linux-scsi,
	linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-30 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29 15:15 [PATCH] scsi: advansys: drop ISA_DMA_API remnants Arnd Bergmann
2026-04-29 21:01 ` Johannes Thumshirn
2026-04-30 15:23 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox