Commit 71d5da93 authored by James Bottomley's avatar James Bottomley

SCSI: deprecate BLIST_FORCELUN

From: garloff@suse.de

Cleanup

Mark BLIST_FORCELUN as deprecated, as we don't want to collect a list
of perfectly working multi-LUN devices with BLIST_FORCELUN. Instead
document max_luns boot/module parameter.
parent dfa412e2
...@@ -149,8 +149,8 @@ config SCSI_MULTI_LUN ...@@ -149,8 +149,8 @@ config SCSI_MULTI_LUN
can say Y here to force the SCSI driver to probe for multiple LUNs. can say Y here to force the SCSI driver to probe for multiple LUNs.
A SCSI device with multiple LUNs acts logically like multiple SCSI A SCSI device with multiple LUNs acts logically like multiple SCSI
devices. The vast majority of SCSI devices have only one LUN, and devices. The vast majority of SCSI devices have only one LUN, and
so most people can say N here and should in fact do so, because it so most people can say N here. The max_luns boot/module parameter
is safer. allows to override this setting.
config SCSI_REPORT_LUNS config SCSI_REPORT_LUNS
bool "Build with SCSI REPORT LUNS support" bool "Build with SCSI REPORT LUNS support"
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
* Flags for SCSI devices that need special treatment * Flags for SCSI devices that need special treatment
*/ */
#define BLIST_NOLUN 0x001 /* Only scan LUN 0 */ #define BLIST_NOLUN 0x001 /* Only scan LUN 0 */
#define BLIST_FORCELUN 0x002 /* Known to have LUNs, force scanning */ #define BLIST_FORCELUN 0x002 /* Known to have LUNs, force scanning,
deprecated: Use max_luns=N */
#define BLIST_BORKEN 0x004 /* Flag for broken handshaking */ #define BLIST_BORKEN 0x004 /* Flag for broken handshaking */
#define BLIST_KEY 0x008 /* unlock by special command */ #define BLIST_KEY 0x008 /* unlock by special command */
#define BLIST_SINGLELUN 0x010 /* Do not use LUNs in parallel */ #define BLIST_SINGLELUN 0x010 /* Do not use LUNs in parallel */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment