mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
3565a3d01e
Remove dependencies on HAS_DMA where a Kconfig symbol depends on another symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". In most cases this other symbol is an architecture or platform specific symbol, or PCI. Generic symbols and drivers without platform dependencies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Mark Brown <broonie@kernel.org> Acked-by: Robin Murphy <robin.murphy@arm.com> Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
18 lines
438 B
Plaintext
18 lines
438 B
Plaintext
config SCSI_HISI_SAS
|
|
tristate "HiSilicon SAS"
|
|
depends on HAS_IOMEM
|
|
depends on ARM64 || COMPILE_TEST
|
|
select SCSI_SAS_LIBSAS
|
|
select BLK_DEV_INTEGRITY
|
|
depends on ATA
|
|
help
|
|
This driver supports HiSilicon's SAS HBA, including support based
|
|
on platform device
|
|
|
|
config SCSI_HISI_SAS_PCI
|
|
tristate "HiSilicon SAS on PCI bus"
|
|
depends on SCSI_HISI_SAS
|
|
depends on PCI
|
|
help
|
|
This driver supports HiSilicon's SAS HBA based on PCI device
|