Deleted Added
sdiff udiff text old ( 146337 ) new ( 180454 )
full compact
1/*-
2 * Copyright (c) 2001 Michael Smith
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

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/ciss/cissio.h 146337 2005-05-18 05:31:34Z ps $
27 */
28
29/*
30 * Driver ioctl interface.
31 *
32 * Note that this interface is API-compatible with the Linux implementation
33 * except as noted, and thus this header bears a striking resemblance to
34 * the Linux driver's cciss_ioctl.h.

--- 154 unchanged lines hidden (view full) ---

189 LUNAddr_struct LUN_info; /* 8 */
190 RequestBlock_struct Request; /* 20 */
191 ErrorInfo_struct error_info; /* 48 */
192 u_int16_t buf_size; /* 2 */
193 u_int32_t buf; /* 4 */
194} __packed IOCTL_Command_struct32;
195#endif
196
197/*
198 * Note that we'd normally pass the struct in directly, but
199 * this code is trying to be compatible with other drivers.
200 */
201#define CCISS_GETPCIINFO _IOR ('C', 200, cciss_pci_info_struct)
202#define CCISS_GETINTINFO _IOR ('C', 201, cciss_coalint_struct)
203#define CCISS_SETINTINFO _IOW ('C', 202, cciss_coalint_struct)
204#define CCISS_GETNODENAME _IOR ('C', 203, NodeName_type)
205#define CCISS_SETNODENAME _IOW ('C', 204, NodeName_type)
206#define CCISS_GETHEARTBEAT _IOR ('C', 205, Heartbeat_type)
207#define CCISS_GETBUSTYPES _IOR ('C', 206, BusTypes_type)
208#define CCISS_GETFIRMVER _IOR ('C', 207, FirmwareVer_type)
209#define CCISS_GETDRIVERVER _IOR ('C', 208, DriverVer_type)
210#define CCISS_REVALIDVOLS _IO ('C', 209)
211#define CCISS_PASSTHRU _IOWR ('C', 210, IOCTL_Command_struct)
212#ifdef __amd64
213#define CCISS_PASSTHRU32 _IOWR ('C', 210, IOCTL_Command_struct32)
214#endif
215
216#pragma pack()