xref: /onnv-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_ioctl.h (revision 11541:127dbc398175)
18311SSukumar.Swaminathan@Sun.COM /*
28311SSukumar.Swaminathan@Sun.COM  * CDDL HEADER START
38311SSukumar.Swaminathan@Sun.COM  *
48311SSukumar.Swaminathan@Sun.COM  * The contents of this file are subject to the terms of the
58311SSukumar.Swaminathan@Sun.COM  * Common Development and Distribution License (the "License").
68311SSukumar.Swaminathan@Sun.COM  * You may not use this file except in compliance with the License.
78311SSukumar.Swaminathan@Sun.COM  *
88311SSukumar.Swaminathan@Sun.COM  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
98311SSukumar.Swaminathan@Sun.COM  * or http://www.opensolaris.org/os/licensing.
108311SSukumar.Swaminathan@Sun.COM  * See the License for the specific language governing permissions
118311SSukumar.Swaminathan@Sun.COM  * and limitations under the License.
128311SSukumar.Swaminathan@Sun.COM  *
138311SSukumar.Swaminathan@Sun.COM  * When distributing Covered Code, include this CDDL HEADER in each
148311SSukumar.Swaminathan@Sun.COM  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
158311SSukumar.Swaminathan@Sun.COM  * If applicable, add the following below this CDDL HEADER, with the
168311SSukumar.Swaminathan@Sun.COM  * fields enclosed by brackets "[]" replaced with your own identifying
178311SSukumar.Swaminathan@Sun.COM  * information: Portions Copyright [yyyy] [name of copyright owner]
188311SSukumar.Swaminathan@Sun.COM  *
198311SSukumar.Swaminathan@Sun.COM  * CDDL HEADER END
208311SSukumar.Swaminathan@Sun.COM  */
218311SSukumar.Swaminathan@Sun.COM 
22*11541SDaniel.Beauregard@Sun.COM /* Copyright 2010 QLogic Corporation */
238311SSukumar.Swaminathan@Sun.COM 
248311SSukumar.Swaminathan@Sun.COM /*
259446SDaniel.Beauregard@Sun.COM  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
268311SSukumar.Swaminathan@Sun.COM  * Use is subject to license terms.
278311SSukumar.Swaminathan@Sun.COM  */
288311SSukumar.Swaminathan@Sun.COM 
298311SSukumar.Swaminathan@Sun.COM #ifndef	_QL_IOCTL_H
308311SSukumar.Swaminathan@Sun.COM #define	_QL_IOCTL_H
318311SSukumar.Swaminathan@Sun.COM 
328311SSukumar.Swaminathan@Sun.COM /*
338311SSukumar.Swaminathan@Sun.COM  * ISP2xxx Solaris Fibre Channel Adapter (FCA) driver header file.
348311SSukumar.Swaminathan@Sun.COM  *
358311SSukumar.Swaminathan@Sun.COM  * ***********************************************************************
368311SSukumar.Swaminathan@Sun.COM  * *									**
378311SSukumar.Swaminathan@Sun.COM  * *				NOTICE					**
38*11541SDaniel.Beauregard@Sun.COM  * *		COPYRIGHT (C) 1996-2010 QLOGIC CORPORATION		**
398311SSukumar.Swaminathan@Sun.COM  * *			ALL RIGHTS RESERVED				**
408311SSukumar.Swaminathan@Sun.COM  * *									**
418311SSukumar.Swaminathan@Sun.COM  * ***********************************************************************
428311SSukumar.Swaminathan@Sun.COM  *
438311SSukumar.Swaminathan@Sun.COM  */
448311SSukumar.Swaminathan@Sun.COM 
458311SSukumar.Swaminathan@Sun.COM #ifdef	__cplusplus
468311SSukumar.Swaminathan@Sun.COM extern "C" {
478311SSukumar.Swaminathan@Sun.COM #endif
488311SSukumar.Swaminathan@Sun.COM 
498311SSukumar.Swaminathan@Sun.COM /*
508311SSukumar.Swaminathan@Sun.COM  * Global Function Prototypes in ql_ioctl.c source file.
518311SSukumar.Swaminathan@Sun.COM  */
528311SSukumar.Swaminathan@Sun.COM int ql_ioctl(dev_t, int, intptr_t, int, cred_t *, int *);
538311SSukumar.Swaminathan@Sun.COM int ql_open(dev_t *dev_p, int flags, int otyp, cred_t *cred_p);
548311SSukumar.Swaminathan@Sun.COM int ql_close(dev_t dev, int flags, int otyp, cred_t *cred_p);
558311SSukumar.Swaminathan@Sun.COM int ql_nv_util_load(ql_adapter_state_t *, void *, int);
568311SSukumar.Swaminathan@Sun.COM int ql_nv_util_dump(ql_adapter_state_t *, void *, int);
578311SSukumar.Swaminathan@Sun.COM int ql_vpd_load(ql_adapter_state_t *, void *, int);
588311SSukumar.Swaminathan@Sun.COM int ql_vpd_dump(ql_adapter_state_t *, void *, int);
598311SSukumar.Swaminathan@Sun.COM int32_t ql_vpd_lookup(ql_adapter_state_t *, uint8_t *, uint8_t *, int32_t);
609446SDaniel.Beauregard@Sun.COM int ql_r_m_w_flash(ql_adapter_state_t *, caddr_t, uint32_t, uint32_t, int);
61*11541SDaniel.Beauregard@Sun.COM int ql_get_nvram(ql_adapter_state_t *, void *, uint32_t, uint32_t);
628311SSukumar.Swaminathan@Sun.COM 
638311SSukumar.Swaminathan@Sun.COM #ifdef	__cplusplus
648311SSukumar.Swaminathan@Sun.COM }
658311SSukumar.Swaminathan@Sun.COM #endif
668311SSukumar.Swaminathan@Sun.COM 
678311SSukumar.Swaminathan@Sun.COM #endif /* _QL_IOCTL_H */
68