[PATCH] megaraid_sas: Support 16 byte CDB's or > 2.2 Terabyte Volumes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <joshua_giles@xxxxxxxx>

--- linux-2.6.15.1.orig/drivers/scsi/megaraid/megaraid_sas.c
2006-01-30 17:15:49.000000000 -0500
+++ linux-2.6.15.1/drivers/scsi/megaraid/megaraid_sas.c 2006-01-30
17:15:30.000000000 -0500
@@ -1990,6 +1990,7 @@
        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
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux