Skip to content

Commit b840c36

Browse files
mpt3sas: Add dummy Kconfig option for backwards compatibility
The mpt2sas driver was recently folded into mpt3sas to reduce code duplication. To avoid problems for people that only have CONFIG_SCSI_MPT2SAS in their .config we introduce a dummy option that will select MPT3SAS if MPT2SAS was previously enabled. This is a temporary measure and we will deprecate this config option in 4.6. Reported-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Christoph Hellwig <hch@lst.de> Acked-by: James Bottomley <James.Bottomley@hansenpartnership.com> CC: Ingo Molnar <mingo@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent b49493f commit b840c36

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/scsi/mpt3sas/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,11 @@ config SCSI_MPT3SAS_MAX_SGE
7171
MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this
7272
can be 256. However, it may decreased down to 16. Decreasing this
7373
parameter will reduce memory requirements on a per controller instance.
74+
75+
config SCSI_MPT2SAS
76+
tristate "Legacy MPT2SAS config option"
77+
default n
78+
select SCSI_MPT3SAS
79+
---help---
80+
Dummy config option for backwards compatiblity: configure the MPT3SAS
81+
driver instead.

0 commit comments

Comments
 (0)