Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20383
b: refs/heads/master
c: 096f7a2
h: refs/heads/master
i:
  20381: bb4d1b6
  20379: 6a9d75b
  20375: b2cb019
  20367: 2a7cc7c
  20351: 090d2ac
v: v3
  • Loading branch information
Moore, Eric authored and unknown committed Feb 4, 2006
1 parent f56ba7f commit 3a5280c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5b81016538cf84a10c80438b7aa750dd375ba93
refs/heads/master: 096f7a2a094af3007937d6fd21560e28dca0994d
21 changes: 21 additions & 0 deletions trunk/drivers/message/fusion/mptctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,8 @@ mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr)
case MPI_FUNCTION_SCSI_ENCLOSURE_PROCESSOR:
case MPI_FUNCTION_FW_DOWNLOAD:
case MPI_FUNCTION_FC_PRIMITIVE_SEND:
case MPI_FUNCTION_TOOLBOX:
case MPI_FUNCTION_SAS_IO_UNIT_CONTROL:
break;

case MPI_FUNCTION_SCSI_IO_REQUEST:
Expand Down Expand Up @@ -1888,6 +1890,25 @@ mptctl_do_mpt_command (struct mpt_ioctl_command karg, void __user *mfPtr)
}
break;

case MPI_FUNCTION_SMP_PASSTHROUGH:
/* Check mf->PassthruFlags to determine if
* transfer is ImmediateMode or not.
* Immediate mode returns data in the ReplyFrame.
* Else, we are sending request and response data
* in two SGLs at the end of the mf.
*/
break;

case MPI_FUNCTION_SATA_PASSTHROUGH:
if (!ioc->sh) {
printk(KERN_ERR "%s@%d::mptctl_do_mpt_command - "
"SCSI driver is not loaded. \n",
__FILE__, __LINE__);
rc = -EFAULT;
goto done_free_mem;
}
break;

case MPI_FUNCTION_RAID_ACTION:
/* Just add a SGE
*/
Expand Down

0 comments on commit 3a5280c

Please sign in to comment.