diff options
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptctl.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index bdf709987982..70a812a2514d 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -1817,6 +1817,8 @@ mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr) | |||
1817 | case MPI_FUNCTION_SCSI_ENCLOSURE_PROCESSOR: | 1817 | case MPI_FUNCTION_SCSI_ENCLOSURE_PROCESSOR: |
1818 | case MPI_FUNCTION_FW_DOWNLOAD: | 1818 | case MPI_FUNCTION_FW_DOWNLOAD: |
1819 | case MPI_FUNCTION_FC_PRIMITIVE_SEND: | 1819 | case MPI_FUNCTION_FC_PRIMITIVE_SEND: |
1820 | case MPI_FUNCTION_TOOLBOX: | ||
1821 | case MPI_FUNCTION_SAS_IO_UNIT_CONTROL: | ||
1820 | break; | 1822 | break; |
1821 | 1823 | ||
1822 | case MPI_FUNCTION_SCSI_IO_REQUEST: | 1824 | case MPI_FUNCTION_SCSI_IO_REQUEST: |
@@ -1888,6 +1890,25 @@ mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr) | |||
1888 | } | 1890 | } |
1889 | break; | 1891 | break; |
1890 | 1892 | ||
1893 | case MPI_FUNCTION_SMP_PASSTHROUGH: | ||
1894 | /* Check mf->PassthruFlags to determine if | ||
1895 | * transfer is ImmediateMode or not. | ||
1896 | * Immediate mode returns data in the ReplyFrame. | ||
1897 | * Else, we are sending request and response data | ||
1898 | * in two SGLs at the end of the mf. | ||
1899 | */ | ||
1900 | break; | ||
1901 | |||
1902 | case MPI_FUNCTION_SATA_PASSTHROUGH: | ||
1903 | if (!ioc->sh) { | ||
1904 | printk(KERN_ERR "%s@%d::mptctl_do_mpt_command - " | ||
1905 | "SCSI driver is not loaded. \n", | ||
1906 | __FILE__, __LINE__); | ||
1907 | rc = -EFAULT; | ||
1908 | goto done_free_mem; | ||
1909 | } | ||
1910 | break; | ||
1911 | |||
1891 | case MPI_FUNCTION_RAID_ACTION: | 1912 | case MPI_FUNCTION_RAID_ACTION: |
1892 | /* Just add a SGE | 1913 | /* Just add a SGE |
1893 | */ | 1914 | */ |