162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig SCSI_HISI_SAS
362306a36Sopenharmony_ci	tristate "HiSilicon SAS"
462306a36Sopenharmony_ci	depends on HAS_IOMEM
562306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
662306a36Sopenharmony_ci	select SCSI_SAS_LIBSAS
762306a36Sopenharmony_ci	select BLK_DEV_INTEGRITY
862306a36Sopenharmony_ci	depends on ATA
962306a36Sopenharmony_ci	select SATA_HOST
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci		This driver supports HiSilicon's SAS HBA, including support based
1262306a36Sopenharmony_ci		on platform device
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig SCSI_HISI_SAS_PCI
1562306a36Sopenharmony_ci	tristate "HiSilicon SAS on PCI bus"
1662306a36Sopenharmony_ci	depends on SCSI_HISI_SAS
1762306a36Sopenharmony_ci	depends on PCI
1862306a36Sopenharmony_ci	depends on ACPI
1962306a36Sopenharmony_ci	help
2062306a36Sopenharmony_ci		This driver supports HiSilicon's SAS HBA based on PCI device
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciconfig SCSI_HISI_SAS_DEBUGFS_DEFAULT_ENABLE
2362306a36Sopenharmony_ci	bool "HiSilicon SAS debugging default enable"
2462306a36Sopenharmony_ci	depends on SCSI_HISI_SAS
2562306a36Sopenharmony_ci	help
2662306a36Sopenharmony_ci		Set Y to default enable DEBUGFS for SCSI_HISI_SAS
27