mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[SCSI] megaraid_sas: register 16 byte CDB capability
This patch properly registers the 16 byte command length capability of the megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas hardware supports 16 byte CDB's. Signed-off-by: Joshua Giles <[email protected]> Signed-off-by: Sumant Patro <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
ea5a7a82f9
commit
122da30223
3 changed files with 17 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
* 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FILE : megaraid_sas.c
|
||||
* Version : v00.00.02.02
|
||||
* Version : v00.00.02.04
|
||||
*
|
||||
* Authors:
|
||||
* Sreenivas Bagalkote <Sreenivas.Bagalkote@lsil.com>
|
||||
|
|
@ -1983,6 +1983,7 @@ static int megasas_io_attach(struct megasas_instance *instance)
|
|||
host->max_channel = MEGASAS_MAX_CHANNELS - 1;
|
||||
host->max_id = MEGASAS_MAX_DEV_PER_CHANNEL;
|
||||
host->max_lun = MEGASAS_MAX_LUN;
|
||||
host->max_cmd_len = 16;
|
||||
|
||||
/*
|
||||
* Notify the mid-layer about the new controller
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@
|
|||
/**
|
||||
* MegaRAID SAS Driver meta data
|
||||
*/
|
||||
#define MEGASAS_VERSION "00.00.02.02"
|
||||
#define MEGASAS_RELDATE "Jan 23, 2006"
|
||||
#define MEGASAS_EXT_VERSION "Mon Jan 23 14:09:01 PST 2006"
|
||||
#define MEGASAS_VERSION "00.00.02.04"
|
||||
#define MEGASAS_RELDATE "Feb 03, 2006"
|
||||
#define MEGASAS_EXT_VERSION "Fri Feb 03 14:16:25 PST 2006"
|
||||
/*
|
||||
* =====================================
|
||||
* MegaRAID SAS MFI firmware definitions
|
||||
|
|
|
|||
Loading…
Reference in a new issue