mfivar.h (159811) | mfivar.h (162458) |
---|---|
1/*- 2 * Copyright (c) 2006 IronPort Systems 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _MFIVAR_H 28#define _MFIVAR_H 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2006 IronPort Systems 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _MFIVAR_H 28#define _MFIVAR_H 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/mfi/mfivar.h 159811 2006-06-20 22:41:44Z ps $"); | 31__FBSDID("$FreeBSD: head/sys/dev/mfi/mfivar.h 162458 2006-09-20 06:58:02Z scottl $"); |
32 33/* 34 * SCSI structures and definitions are used from here, but no linking 35 * requirements are made to CAM. 36 */ 37#include <cam/scsi/scsi_all.h> 38 39struct mfi_hwcomms { --- 103 unchanged lines hidden (view full) --- 143 */ 144 int mfi_total_cmds; 145 /* 146 * How many commands the firmware can handle. Also how big the reply 147 * queue is, minus 1. 148 */ 149 int mfi_max_fw_cmds; 150 /* | 32 33/* 34 * SCSI structures and definitions are used from here, but no linking 35 * requirements are made to CAM. 36 */ 37#include <cam/scsi/scsi_all.h> 38 39struct mfi_hwcomms { --- 103 unchanged lines hidden (view full) --- 143 */ 144 int mfi_total_cmds; 145 /* 146 * How many commands the firmware can handle. Also how big the reply 147 * queue is, minus 1. 148 */ 149 int mfi_max_fw_cmds; 150 /* |
151 * Max number of S/G elements the firmware can handle 152 */ 153 int mfi_max_fw_sgl; 154 /* | |
155 * How many S/G elements we'll ever actually use 156 */ | 151 * How many S/G elements we'll ever actually use 152 */ |
157 int mfi_total_sgl; | 153 int mfi_max_sge; |
158 /* 159 * How many bytes a compound frame is, including all of the extra frames 160 * that are used for S/G elements. 161 */ | 154 /* 155 * How many bytes a compound frame is, including all of the extra frames 156 * that are used for S/G elements. 157 */ |
162 int mfi_frame_size; | 158 int mfi_cmd_size; |
163 /* 164 * How large an S/G element is. Used to calculate the number of single 165 * frames in a command. 166 */ | 159 /* 160 * How large an S/G element is. Used to calculate the number of single 161 * frames in a command. 162 */ |
167 int mfi_sgsize; | 163 int mfi_sge_size; |
168 /* 169 * Max number of sectors that the firmware allows 170 */ 171 uint32_t mfi_max_io; 172 173 TAILQ_HEAD(,mfi_ld) mfi_ld_tqh; 174 eventhandler_tag mfi_eh; 175 struct cdev *mfi_cdev; --- 151 unchanged lines hidden --- | 164 /* 165 * Max number of sectors that the firmware allows 166 */ 167 uint32_t mfi_max_io; 168 169 TAILQ_HEAD(,mfi_ld) mfi_ld_tqh; 170 eventhandler_tag mfi_eh; 171 struct cdev *mfi_cdev; --- 151 unchanged lines hidden --- |