xref: /openbmc/linux/drivers/scsi/hisi_sas/Kconfig (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2e8899fadSJohn Garryconfig SCSI_HISI_SAS
3e8899fadSJohn Garry	tristate "HiSilicon SAS"
43565a3d0SGeert Uytterhoeven	depends on HAS_IOMEM
5c142ce0dSGeert Uytterhoeven	depends on ARM64 || COMPILE_TEST
68bb74d36SArnd Bergmann	select SCSI_SAS_LIBSAS
7e8899fadSJohn Garry	select BLK_DEV_INTEGRITY
88bb74d36SArnd Bergmann	depends on ATA
91d95b8a2SYueHaibing	select SATA_HOST
10e8899fadSJohn Garry	help
1192f61e3bSJohn Garry		This driver supports HiSilicon's SAS HBA, including support based
1292f61e3bSJohn Garry		on platform device
1392f61e3bSJohn Garry
1492f61e3bSJohn Garryconfig SCSI_HISI_SAS_PCI
1592f61e3bSJohn Garry	tristate "HiSilicon SAS on PCI bus"
1692f61e3bSJohn Garry	depends on SCSI_HISI_SAS
1792f61e3bSJohn Garry	depends on PCI
18e06596d5SXiang Chen	depends on ACPI
1992f61e3bSJohn Garry	help
2092f61e3bSJohn Garry		This driver supports HiSilicon's SAS HBA based on PCI device
21*1dbe61bfSLuo Jiaxing
22*1dbe61bfSLuo Jiaxingconfig SCSI_HISI_SAS_DEBUGFS_DEFAULT_ENABLE
23*1dbe61bfSLuo Jiaxing	bool "HiSilicon SAS debugging default enable"
24*1dbe61bfSLuo Jiaxing	depends on SCSI_HISI_SAS
25*1dbe61bfSLuo Jiaxing	help
26*1dbe61bfSLuo Jiaxing		Set Y to default enable DEBUGFS for SCSI_HISI_SAS
27