Merge branch 'master' of /pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 into for-40...
[linux-2.6.git] / drivers / scsi / mpt2sas / mpt2sas_ctl.c
index d72f1f2..437c2d9 100644 (file)
@@ -1041,7 +1041,10 @@ _ctl_getiocinfo(void __user *arg)
            __func__));
 
        memset(&karg, 0 , sizeof(karg));
-       karg.adapter_type = MPT2_IOCTL_INTERFACE_SAS2;
+       if (ioc->is_warpdrive)
+               karg.adapter_type = MPT2_IOCTL_INTERFACE_SAS2_SSS6200;
+       else
+               karg.adapter_type = MPT2_IOCTL_INTERFACE_SAS2;
        if (ioc->pfacts)
                karg.port_number = ioc->pfacts[0].PortNumber;
        pci_read_config_byte(ioc->pdev, PCI_CLASS_REVISION, &revision);