mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
0c994c03c9
When the scsi_dh core was moved into the scsi core module,
CONFIG_SCSI_DH became a 'bool' option, and now anything depending on it
can be built-in even when CONFIG_SCSI=m. This of course cannot link
successfully:
drivers/scsi/built-in.o: In function `rdac_init':
scsi_dh_alua.c:(.init.text+0x14): undefined reference to `scsi_register_device_handler'
scsi_dh_alua.c:(.init.text+0x64): undefined reference to `scsi_unregister_device_handler'
drivers/scsi/built-in.o: In function `alua_init':
scsi_dh_alua.c:(.init.text+0xb0): undefined reference to `scsi_register_device_handler'
As a workaround, this adds an extra dependency on CONFIG_SCSI, so
Kconfig can figure out whether built-in is allowed or not.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 086b91d052
("scsi_dh: integrate into the core SCSI code")
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
41 lines
1005 B
Plaintext
41 lines
1005 B
Plaintext
#
|
|
# SCSI Device Handler configuration
|
|
#
|
|
|
|
menuconfig SCSI_DH
|
|
bool "SCSI Device Handlers"
|
|
depends on SCSI
|
|
default n
|
|
help
|
|
SCSI Device Handlers provide device specific support for
|
|
devices utilized in multipath configurations. Say Y here to
|
|
select support for specific hardware.
|
|
|
|
config SCSI_DH_RDAC
|
|
tristate "LSI RDAC Device Handler"
|
|
depends on SCSI_DH && SCSI
|
|
help
|
|
If you have a LSI RDAC select y. Otherwise, say N.
|
|
|
|
config SCSI_DH_HP_SW
|
|
tristate "HP/COMPAQ MSA Device Handler"
|
|
depends on SCSI_DH && SCSI
|
|
help
|
|
If you have a HP/COMPAQ MSA device that requires START_STOP to
|
|
be sent to start it and cannot upgrade the firmware then select y.
|
|
Otherwise, say N.
|
|
|
|
config SCSI_DH_EMC
|
|
tristate "EMC CLARiiON Device Handler"
|
|
depends on SCSI_DH && SCSI
|
|
help
|
|
If you have a EMC CLARiiON select y. Otherwise, say N.
|
|
|
|
config SCSI_DH_ALUA
|
|
tristate "SPC-3 ALUA Device Handler"
|
|
depends on SCSI_DH && SCSI
|
|
help
|
|
SCSI Device handler for generic SPC-3 Asymmetric Logical Unit
|
|
Access (ALUA).
|
|
|