Skip to contentSkip to conversation

scsi: advansys: drop ISA_DMA_API remnants

PATCH Applied Arnd Bergmann 3 participants 4 messages Apr 29 – May 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: advansys: drop ISA_DMA_API remnants

From: Arnd Bergmann <[email protected]>

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")

---
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(-)
drivers/scsi/Kconfig +0 -1
index fc8e8b0bfa39..c3042393af23 100644
@@ -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
drivers/scsi/advansys.c +0 -1
index fcf059bf41e8..5cdbf2bdb13d 100644
@@ -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>
Signature · 1 line
2.39.5
#2 lore raw
In reply to Arnd Bergmann

Arnd,

Quoted 3 lines

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!

Signature · 1 line
Martin K. Petersen