mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
bd322af15c
There is no reason to expose SATA_PMP config option when no SATA host drivers are enabled. To fix it add SATA_HOST config option, make all SATA host drivers select it and finally make SATA_PMP config options depend on it. This also serves as preparation for the future changes which optimize libata core code size on PATA only setups. CC: "James E.J. Bottomley" <jejb@linux.ibm.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> # for SCSI bits Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Kernel configuration file for the SAS Class
|
|
#
|
|
# Copyright (C) 2005 Adaptec, Inc. All rights reserved.
|
|
# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
|
|
#
|
|
|
|
config SCSI_SAS_LIBSAS
|
|
tristate "SAS Domain Transport Attributes"
|
|
depends on SCSI
|
|
select SCSI_SAS_ATTRS
|
|
select BLK_DEV_BSGLIB
|
|
help
|
|
This provides transport specific helpers for SAS drivers which
|
|
use the domain device construct (like the aic94xxx).
|
|
|
|
config SCSI_SAS_ATA
|
|
bool "ATA support for libsas (requires libata)"
|
|
depends on SCSI_SAS_LIBSAS
|
|
depends on ATA = y || ATA = SCSI_SAS_LIBSAS
|
|
select SATA_HOST
|
|
help
|
|
Builds in ATA support into libsas. Will necessitate
|
|
the loading of libata along with libsas.
|
|
|
|
config SCSI_SAS_HOST_SMP
|
|
bool "Support for SMP interpretation for SAS hosts"
|
|
default y
|
|
depends on SCSI_SAS_LIBSAS
|
|
help
|
|
Allows sas hosts to receive SMP frames. Selecting this
|
|
option builds an SMP interpreter into libsas. Say
|
|
N here if you want to save the few kb this consumes.
|