aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mfi/mfivar.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2011-09-29 08:37:53 +0000
committerAlexander Motin <mav@FreeBSD.org>2011-09-29 08:37:53 +0000
commit5f8ad41c0d8b5b089baf5a50315ce0fecc121be9 (patch)
tree24675b174a2deb265748e02fec34bd288cf704cd /sys/dev/mfi/mfivar.h
parent1d1143ec27b497cfb6d78d0e5b4106001e3b86ec (diff)
downloadsrc-5f8ad41c0d8b5b089baf5a50315ce0fecc121be9.tar.gz
src-5f8ad41c0d8b5b089baf5a50315ce0fecc121be9.zip
- Add special support for the MFI_CMD ioctl with MFI_CMD_STP command, used
by present MegaCLI version. It has some special meaning for the first s/g list entry, while the main s/g list begins from the the second entry, and those lists should remain separate after loading to the busdma map. - Fix bug in 32bit ioctl compatibility shims when s/g list consists of more then on element. Sponsored by: iXsystems, inc. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=225869
Diffstat (limited to 'sys/dev/mfi/mfivar.h')
-rw-r--r--sys/dev/mfi/mfivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mfi/mfivar.h b/sys/dev/mfi/mfivar.h
index 9ddb62791312..14ea884885bd 100644
--- a/sys/dev/mfi/mfivar.h
+++ b/sys/dev/mfi/mfivar.h
@@ -87,6 +87,7 @@ struct mfi_command {
union mfi_sgl *cm_sg;
void *cm_data;
int cm_len;
+ int cm_stp_len;
int cm_total_frame_size;
int cm_extra_frames;
int cm_flags;