Commit b58b2ba3 authored by Niklas Schnelle's avatar Niklas Schnelle Committed by Martin K. Petersen

scsi: Add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not
being declared. We thus need to add HAS_IOPORT as dependency for those
drivers using them.
Co-developed-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@kernel.org>
Signed-off-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230522105049.1467313-32-schnelle@linux.ibm.comSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c3f90347
...@@ -334,7 +334,7 @@ config SGIWD93_SCSI ...@@ -334,7 +334,7 @@ config SGIWD93_SCSI
config BLK_DEV_3W_XXXX_RAID config BLK_DEV_3W_XXXX_RAID
tristate "3ware 5/6/7/8xxx ATA-RAID support" tristate "3ware 5/6/7/8xxx ATA-RAID support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
3ware is the only hardware ATA-Raid product in Linux to date. 3ware is the only hardware ATA-Raid product in Linux to date.
This card is 2,4, or 8 channel master mode support only. This card is 2,4, or 8 channel master mode support only.
...@@ -381,7 +381,7 @@ config SCSI_3W_SAS ...@@ -381,7 +381,7 @@ config SCSI_3W_SAS
config SCSI_ACARD config SCSI_ACARD
tristate "ACARD SCSI support" tristate "ACARD SCSI support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
This driver supports the ACARD SCSI host adapter. This driver supports the ACARD SCSI host adapter.
Support Chip <ATP870 ATP876 ATP880 ATP885> Support Chip <ATP870 ATP876 ATP880 ATP885>
...@@ -462,7 +462,7 @@ config SCSI_MVUMI ...@@ -462,7 +462,7 @@ config SCSI_MVUMI
config SCSI_ADVANSYS config SCSI_ADVANSYS
tristate "AdvanSys SCSI support" tristate "AdvanSys SCSI support"
depends on SCSI depends on SCSI
depends on ISA || EISA || PCI depends on (ISA || EISA || PCI) && HAS_IOPORT
depends on ISA_DMA_API || !ISA depends on ISA_DMA_API || !ISA
help help
This is a driver for all SCSI host adapters manufactured by This is a driver for all SCSI host adapters manufactured by
...@@ -503,7 +503,7 @@ config SCSI_HPTIOP ...@@ -503,7 +503,7 @@ config SCSI_HPTIOP
config SCSI_BUSLOGIC config SCSI_BUSLOGIC
tristate "BusLogic SCSI support" tristate "BusLogic SCSI support"
depends on PCI && SCSI depends on SCSI && PCI && HAS_IOPORT
help help
This is support for BusLogic MultiMaster and FlashPoint SCSI Host This is support for BusLogic MultiMaster and FlashPoint SCSI Host
Adapters. Consult the SCSI-HOWTO, available from Adapters. Consult the SCSI-HOWTO, available from
...@@ -518,7 +518,7 @@ config SCSI_BUSLOGIC ...@@ -518,7 +518,7 @@ config SCSI_BUSLOGIC
config SCSI_FLASHPOINT config SCSI_FLASHPOINT
bool "FlashPoint support" bool "FlashPoint support"
depends on SCSI_BUSLOGIC && PCI depends on SCSI_BUSLOGIC && PCI && HAS_IOPORT
help help
This option allows you to add FlashPoint support to the This option allows you to add FlashPoint support to the
BusLogic SCSI driver. The FlashPoint SCCB Manager code is BusLogic SCSI driver. The FlashPoint SCCB Manager code is
...@@ -632,7 +632,7 @@ config SCSI_SNIC_DEBUG_FS ...@@ -632,7 +632,7 @@ config SCSI_SNIC_DEBUG_FS
config SCSI_DMX3191D config SCSI_DMX3191D
tristate "DMX3191D SCSI support" tristate "DMX3191D SCSI support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
select SCSI_SPI_ATTRS select SCSI_SPI_ATTRS
help help
This is support for Domex DMX3191D SCSI Host Adapters. This is support for Domex DMX3191D SCSI Host Adapters.
...@@ -646,7 +646,7 @@ config SCSI_FDOMAIN ...@@ -646,7 +646,7 @@ config SCSI_FDOMAIN
config SCSI_FDOMAIN_PCI config SCSI_FDOMAIN_PCI
tristate "Future Domain TMC-3260/AHA-2920A PCI SCSI support" tristate "Future Domain TMC-3260/AHA-2920A PCI SCSI support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
select SCSI_FDOMAIN select SCSI_FDOMAIN
help help
This is support for Future Domain's PCI SCSI host adapters (TMC-3260) This is support for Future Domain's PCI SCSI host adapters (TMC-3260)
...@@ -699,7 +699,7 @@ config SCSI_GENERIC_NCR5380 ...@@ -699,7 +699,7 @@ config SCSI_GENERIC_NCR5380
config SCSI_IPS config SCSI_IPS
tristate "IBM ServeRAID support" tristate "IBM ServeRAID support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
This is support for the IBM ServeRAID hardware RAID controllers. This is support for the IBM ServeRAID hardware RAID controllers.
See <http://www.developer.ibm.com/welcome/netfinity/serveraid.html> See <http://www.developer.ibm.com/welcome/netfinity/serveraid.html>
...@@ -759,7 +759,7 @@ config SCSI_IBMVFC_TRACE ...@@ -759,7 +759,7 @@ config SCSI_IBMVFC_TRACE
config SCSI_INITIO config SCSI_INITIO
tristate "Initio 9100U(W) support" tristate "Initio 9100U(W) support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
This is support for the Initio 91XXU(W) SCSI host adapter. Please This is support for the Initio 91XXU(W) SCSI host adapter. Please
read the SCSI-HOWTO, available from read the SCSI-HOWTO, available from
...@@ -770,7 +770,7 @@ config SCSI_INITIO ...@@ -770,7 +770,7 @@ config SCSI_INITIO
config SCSI_INIA100 config SCSI_INIA100
tristate "Initio INI-A100U2W support" tristate "Initio INI-A100U2W support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
This is support for the Initio INI-A100U2W SCSI host adapter. This is support for the Initio INI-A100U2W SCSI host adapter.
Please read the SCSI-HOWTO, available from Please read the SCSI-HOWTO, available from
...@@ -782,6 +782,7 @@ config SCSI_INIA100 ...@@ -782,6 +782,7 @@ config SCSI_INIA100
config SCSI_PPA config SCSI_PPA
tristate "IOMEGA parallel port (ppa - older drives)" tristate "IOMEGA parallel port (ppa - older drives)"
depends on SCSI && PARPORT_PC depends on SCSI && PARPORT_PC
depends on HAS_IOPORT
help help
This driver supports older versions of IOMEGA's parallel port ZIP This driver supports older versions of IOMEGA's parallel port ZIP
drive (a 100 MB removable media device). drive (a 100 MB removable media device).
...@@ -1175,7 +1176,7 @@ config SCSI_SIM710 ...@@ -1175,7 +1176,7 @@ config SCSI_SIM710
config SCSI_DC395x config SCSI_DC395x
tristate "Tekram DC395(U/UW/F) and DC315(U) SCSI support" tristate "Tekram DC395(U/UW/F) and DC315(U) SCSI support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
select SCSI_SPI_ATTRS select SCSI_SPI_ATTRS
help help
This driver supports PCI SCSI host adapters based on the ASIC This driver supports PCI SCSI host adapters based on the ASIC
...@@ -1207,7 +1208,7 @@ config SCSI_AM53C974 ...@@ -1207,7 +1208,7 @@ config SCSI_AM53C974
config SCSI_NSP32 config SCSI_NSP32
tristate "Workbit NinjaSCSI-32Bi/UDE support" tristate "Workbit NinjaSCSI-32Bi/UDE support"
depends on PCI && SCSI && !64BIT depends on PCI && SCSI && !64BIT && HAS_IOPORT
help help
This is support for the Workbit NinjaSCSI-32Bi/UDE PCI/Cardbus This is support for the Workbit NinjaSCSI-32Bi/UDE PCI/Cardbus
SCSI host adapter. Please read the SCSI-HOWTO, available from SCSI host adapter. Please read the SCSI-HOWTO, available from
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
config SCSI_AIC79XX config SCSI_AIC79XX
tristate "Adaptec AIC79xx U320 support" tristate "Adaptec AIC79xx U320 support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
select SCSI_SPI_ATTRS select SCSI_SPI_ATTRS
help help
This driver supports all of Adaptec's Ultra 320 PCI-X This driver supports all of Adaptec's Ultra 320 PCI-X
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
config SCSI_AIC7XXX config SCSI_AIC7XXX
tristate "Adaptec AIC7xxx Fast -> U160 support" tristate "Adaptec AIC7xxx Fast -> U160 support"
depends on (PCI || EISA) && SCSI depends on (PCI || EISA) && HAS_IOPORT && SCSI
select SCSI_SPI_ATTRS select SCSI_SPI_ATTRS
help help
This driver supports all of Adaptec's Fast through Ultra 160 PCI This driver supports all of Adaptec's Fast through Ultra 160 PCI
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
config SCSI_AIC94XX config SCSI_AIC94XX
tristate "Adaptec AIC94xx SAS/SATA support" tristate "Adaptec AIC94xx SAS/SATA support"
depends on PCI depends on PCI && HAS_IOPORT
select SCSI_SAS_LIBSAS select SCSI_SAS_LIBSAS
select FW_LOADER select FW_LOADER
help help
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config MEGARAID_NEWGEN config MEGARAID_NEWGEN
bool "LSI Logic New Generation RAID Device Drivers" bool "LSI Logic New Generation RAID Device Drivers"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
LSI Logic RAID Device Drivers LSI Logic RAID Device Drivers
config MEGARAID_MM config MEGARAID_MM
tristate "LSI Logic Management Module (New Driver)" tristate "LSI Logic Management Module (New Driver)"
depends on PCI && SCSI && MEGARAID_NEWGEN depends on PCI && HAS_IOPORT && SCSI && MEGARAID_NEWGEN
help help
Management Module provides ioctl, sysfs support for LSI Logic Management Module provides ioctl, sysfs support for LSI Logic
RAID controllers. RAID controllers.
...@@ -67,7 +67,7 @@ config MEGARAID_MAILBOX ...@@ -67,7 +67,7 @@ config MEGARAID_MAILBOX
config MEGARAID_LEGACY config MEGARAID_LEGACY
tristate "LSI Logic Legacy MegaRAID Driver" tristate "LSI Logic Legacy MegaRAID Driver"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
help help
This driver supports the LSI MegaRAID 418, 428, 438, 466, 762, 490 This driver supports the LSI MegaRAID 418, 428, 438, 466, 762, 490
and 467 SCSI host adapters. This driver also support the all U320 and 467 SCSI host adapters. This driver also support the all U320
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
config SCSI_MVSAS config SCSI_MVSAS
tristate "Marvell 88SE64XX/88SE94XX SAS/SATA support" tristate "Marvell 88SE64XX/88SE94XX SAS/SATA support"
depends on PCI depends on PCI && HAS_IOPORT
select SCSI_SAS_LIBSAS select SCSI_SAS_LIBSAS
select FW_LOADER select FW_LOADER
help help
......
...@@ -12,6 +12,7 @@ if SCSI_LOWLEVEL_PCMCIA && SCSI && PCMCIA && m ...@@ -12,6 +12,7 @@ if SCSI_LOWLEVEL_PCMCIA && SCSI && PCMCIA && m
config PCMCIA_AHA152X config PCMCIA_AHA152X
tristate "Adaptec AHA152X PCMCIA support" tristate "Adaptec AHA152X PCMCIA support"
depends on HAS_IOPORT
select SCSI_SPI_ATTRS select SCSI_SPI_ATTRS
help help
Say Y here if you intend to attach this type of PCMCIA SCSI host Say Y here if you intend to attach this type of PCMCIA SCSI host
...@@ -22,6 +23,7 @@ config PCMCIA_AHA152X ...@@ -22,6 +23,7 @@ config PCMCIA_AHA152X
config PCMCIA_FDOMAIN config PCMCIA_FDOMAIN
tristate "Future Domain PCMCIA support" tristate "Future Domain PCMCIA support"
depends on HAS_IOPORT
select SCSI_FDOMAIN select SCSI_FDOMAIN
help help
Say Y here if you intend to attach this type of PCMCIA SCSI host Say Y here if you intend to attach this type of PCMCIA SCSI host
...@@ -32,7 +34,7 @@ config PCMCIA_FDOMAIN ...@@ -32,7 +34,7 @@ config PCMCIA_FDOMAIN
config PCMCIA_NINJA_SCSI config PCMCIA_NINJA_SCSI
tristate "NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support" tristate "NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support"
depends on !64BIT || COMPILE_TEST depends on (!64BIT || COMPILE_TEST) && HAS_IOPORT
help help
If you intend to attach this type of PCMCIA SCSI host adapter to If you intend to attach this type of PCMCIA SCSI host adapter to
your computer, say Y here and read your computer, say Y here and read
...@@ -66,6 +68,7 @@ config PCMCIA_NINJA_SCSI ...@@ -66,6 +68,7 @@ config PCMCIA_NINJA_SCSI
config PCMCIA_QLOGIC config PCMCIA_QLOGIC
tristate "Qlogic PCMCIA support" tristate "Qlogic PCMCIA support"
depends on HAS_IOPORT
help help
Say Y here if you intend to attach this type of PCMCIA SCSI host Say Y here if you intend to attach this type of PCMCIA SCSI host
adapter to your computer. adapter to your computer.
...@@ -75,6 +78,7 @@ config PCMCIA_QLOGIC ...@@ -75,6 +78,7 @@ config PCMCIA_QLOGIC
config PCMCIA_SYM53C500 config PCMCIA_SYM53C500
tristate "Symbios 53c500 PCMCIA support" tristate "Symbios 53c500 PCMCIA support"
depends on HAS_IOPORT
help help
Say Y here if you have a New Media Bus Toaster or other PCMCIA Say Y here if you have a New Media Bus Toaster or other PCMCIA
SCSI adapter based on the Symbios 53c500 controller. SCSI adapter based on the Symbios 53c500 controller.
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config SCSI_QLA_FC config SCSI_QLA_FC
tristate "QLogic QLA2XXX Fibre Channel Support" tristate "QLogic QLA2XXX Fibre Channel Support"
depends on PCI && SCSI depends on PCI && HAS_IOPORT && SCSI
depends on SCSI_FC_ATTRS depends on SCSI_FC_ATTRS
depends on NVME_FC || !NVME_FC depends on NVME_FC || !NVME_FC
select FW_LOADER select FW_LOADER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment