Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753260AbbKXMCz (ORCPT ); Tue, 24 Nov 2015 07:02:55 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:51387 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752561AbbKXMCy (ORCPT ); Tue, 24 Nov 2015 07:02:54 -0500 To: Peter Zijlstra Cc: Sreekanth.Reddy@avagotech.com, mingo@kernel.org, hch@lst.de, hare@suse.de, martin.petersen@oracle.com, linux-kernel@vger.kernel.org Subject: Re: MPT2SAS boot fail... due to silently loosing the driver From: "Martin K. Petersen" Organization: Oracle Corporation References: <20151123124621.GF7520@twins.programming.kicks-ass.net> Date: Tue, 24 Nov 2015 07:02:13 -0500 In-Reply-To: <20151123124621.GF7520@twins.programming.kicks-ass.net> (Peter Zijlstra's message of "Mon, 23 Nov 2015 13:46:21 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1492 Lines: 43 >>>>> "Peter" == Peter Zijlstra writes: Peter> Please either create a fake MPT2SAS config that selects the Peter> MPT3SAS driver, or rename the whole thing to MPT23SAS such that Peter> we at least get a relevant question on oldconfig. Sorry about that, Peter. I get bitten by oldconfig all the time so I have a script to manage all my configs. But it it would be nice if we had a way to express config options transitions in kbuild. I guess we could do something like the following and let it sit for a release cycle to help people transition. Bit of a hack, but it worked for me in my quick testing... -- Martin K. Petersen Oracle Linux Engineering diff --git a/drivers/scsi/mpt3sas/Kconfig b/drivers/scsi/mpt3sas/Kconfig index 29061467cc17..901c97f1e368 100644 --- a/drivers/scsi/mpt3sas/Kconfig +++ b/drivers/scsi/mpt3sas/Kconfig @@ -48,6 +48,13 @@ config SCSI_MPT3SAS ---help--- This driver supports PCI-Express SAS 12Gb/s Host Adapters. +config SCSI_MPT2SAS + tristate + default n + select SCSI_MPT3SAS + ---help--- + Dummy config option for backwards compatiblity. + config SCSI_MPT2SAS_MAX_SGE int "LSI MPT Fusion SAS 2.0 Max number of SG Entries (16 - 256)" depends on PCI && SCSI && SCSI_MPT3SAS -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/