public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Peter Zijlstra <peterz@infradead.org>
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
Date: Tue, 24 Nov 2015 07:02:13 -0500	[thread overview]
Message-ID: <yq1wpt7li62.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <20151123124621.GF7520@twins.programming.kicks-ass.net> (Peter Zijlstra's message of "Mon, 23 Nov 2015 13:46:21 +0100")

>>>>> "Peter" == Peter Zijlstra <peterz@infradead.org> 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


  parent reply	other threads:[~2015-11-24 12:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 12:46 MPT2SAS boot fail... due to silently loosing the driver Peter Zijlstra
2015-11-24  7:51 ` Christoph Hellwig
2015-11-24  7:54   ` Hannes Reinecke
2015-11-24  7:56     ` Christoph Hellwig
2015-11-24  8:04   ` Ingo Molnar
2015-11-24 12:02 ` Martin K. Petersen [this message]
2015-11-26 10:48   ` Ingo Molnar
2015-11-30 17:21     ` Martin K. Petersen
2015-11-30 17:24       ` Christoph Hellwig
2015-11-30 17:27       ` James Bottomley
2015-12-01  9:49       ` Sreekanth Reddy
2015-12-02  9:57       ` Ingo Molnar
2015-11-26 10:51   ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1wpt7li62.fsf@sermon.lab.mkp.net \
    --to=martin.petersen@oracle.com \
    --cc=Sreekanth.Reddy@avagotech.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox