Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1276369

Re: MPT2SAS boot fail... due to silently loosing the driver

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: MPT2SAS boot fail... due to silently loosing the driver
Date 2015-11-24 13:10 +0100
Message-ID <qykA2-7Vh-25@gated-at.bofh.it> (permalink)
References <qxYJc-1N0-21@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "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

--
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/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

MPT2SAS boot fail... due to silently loosing the driver Peter Zijlstra <peterz@infradead.org> - 2015-11-23 13:50 +0100
  Re: MPT2SAS boot fail... due to silently loosing the driver Hannes Reinecke <hare@suse.de> - 2015-11-24 09:00 +0100
    Re: MPT2SAS boot fail... due to silently loosing the driver Christoph Hellwig <hch@lst.de> - 2015-11-24 09:00 +0100
  Re: MPT2SAS boot fail... due to silently loosing the driver Christoph Hellwig <hch@lst.de> - 2015-11-24 09:00 +0100
    Re: MPT2SAS boot fail... due to silently loosing the driver Ingo Molnar <mingo@kernel.org> - 2015-11-24 09:10 +0100
  Re: MPT2SAS boot fail... due to silently loosing the driver "Martin K. Petersen" <martin.petersen@oracle.com> - 2015-11-24 13:10 +0100
    Re: MPT2SAS boot fail... due to silently loosing the driver Ingo Molnar <mingo@kernel.org> - 2015-11-26 11:50 +0100
    Re: MPT2SAS boot fail... due to silently loosing the driver Ingo Molnar <mingo@kernel.org> - 2015-11-26 12:00 +0100

csiph-web