Deleted Added
sdiff udiff text old ( 159811 ) new ( 162458 )
full compact
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 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 /*
151 * How many S/G elements we'll ever actually use
152 */
153 int mfi_max_sge;
154 /*
155 * How many bytes a compound frame is, including all of the extra frames
156 * that are used for S/G elements.
157 */
158 int mfi_cmd_size;
159 /*
160 * How large an S/G element is. Used to calculate the number of single
161 * frames in a command.
162 */
163 int mfi_sge_size;
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 ---