1252206Sdavidcs/* 2252206Sdavidcs * Copyright (c) 2013-2014 Qlogic Corporation 3252206Sdavidcs * All rights reserved. 4252206Sdavidcs * 5252206Sdavidcs * Redistribution and use in source and binary forms, with or without 6252206Sdavidcs * modification, are permitted provided that the following conditions 7252206Sdavidcs * are met: 8252206Sdavidcs * 9252206Sdavidcs * 1. Redistributions of source code must retain the above copyright 10252206Sdavidcs * notice, this list of conditions and the following disclaimer. 11252206Sdavidcs * 2. Redistributions in binary form must reproduce the above copyright 12252206Sdavidcs * notice, this list of conditions and the following disclaimer in the 13252206Sdavidcs * documentation and/or other materials provided with the distribution. 14252206Sdavidcs * 15252206Sdavidcs * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 16252206Sdavidcs * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17252206Sdavidcs * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18252206Sdavidcs * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 19252206Sdavidcs * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 20252206Sdavidcs * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 21252206Sdavidcs * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 22252206Sdavidcs * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 23252206Sdavidcs * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24252206Sdavidcs * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25252206Sdavidcs * POSSIBILITY OF SUCH DAMAGE. 26252206Sdavidcs * 27252206Sdavidcs * $FreeBSD: releng/11.0/sys/dev/qlxge/qls_ioctl.h 252206 2013-06-25 17:50:22Z davidcs $ 28252206Sdavidcs */ 29252206Sdavidcs/* 30252206Sdavidcs * File: qls_ioctl.h 31252206Sdavidcs * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656. 32252206Sdavidcs */ 33252206Sdavidcs 34252206Sdavidcs#ifndef _QLS_IOCTL_H_ 35252206Sdavidcs#define _QLS_IOCTL_H_ 36252206Sdavidcs 37252206Sdavidcs#include <sys/ioccom.h> 38252206Sdavidcs 39252206Sdavidcsstruct qls_mpi_dump { 40252206Sdavidcs uint32_t size; 41252206Sdavidcs void *dbuf; 42252206Sdavidcs}; 43252206Sdavidcstypedef struct qls_mpi_dump qls_mpi_dump_t; 44252206Sdavidcs 45252206Sdavidcs/* 46252206Sdavidcs * Get MPI Dump 47252206Sdavidcs */ 48252206Sdavidcs#define QLA_MPI_DUMP _IOWR('q', 1, qls_mpi_dump_t) 49252206Sdavidcs 50252206Sdavidcs 51252206Sdavidcs#endif /* #ifndef _QLS_IOCTL_H_ */ 52