xref: /illumos-gate/usr/src/uts/sun4/io/px/px_tools_ext.h (revision 269473047d747f7815af570197e4ef7322d3632c)
1d4476ccbSschwartz /*
2d4476ccbSschwartz  * CDDL HEADER START
3d4476ccbSschwartz  *
4d4476ccbSschwartz  * The contents of this file are subject to the terms of the
5*26947304SEvan Yan  * Common Development and Distribution License (the "License").
6*26947304SEvan Yan  * You may not use this file except in compliance with the License.
7d4476ccbSschwartz  *
8d4476ccbSschwartz  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d4476ccbSschwartz  * or http://www.opensolaris.org/os/licensing.
10d4476ccbSschwartz  * See the License for the specific language governing permissions
11d4476ccbSschwartz  * and limitations under the License.
12d4476ccbSschwartz  *
13d4476ccbSschwartz  * When distributing Covered Code, include this CDDL HEADER in each
14d4476ccbSschwartz  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15d4476ccbSschwartz  * If applicable, add the following below this CDDL HEADER, with the
16d4476ccbSschwartz  * fields enclosed by brackets "[]" replaced with your own identifying
17d4476ccbSschwartz  * information: Portions Copyright [yyyy] [name of copyright owner]
18d4476ccbSschwartz  *
19d4476ccbSschwartz  * CDDL HEADER END
20d4476ccbSschwartz  */
21d4476ccbSschwartz /*
22*26947304SEvan Yan  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23d4476ccbSschwartz  * Use is subject to license terms.
24d4476ccbSschwartz  */
25d4476ccbSschwartz 
26d4476ccbSschwartz #ifndef	_SYS_PX_TOOLS_EXT_H
27d4476ccbSschwartz #define	_SYS_PX_TOOLS_EXT_H
28d4476ccbSschwartz 
29d4476ccbSschwartz #ifdef	__cplusplus
30d4476ccbSschwartz extern "C" {
31d4476ccbSschwartz #endif
32d4476ccbSschwartz 
33d4476ccbSschwartz /* Stuff exported by px_tools.c and px_tools_4[u/v].c */
34d4476ccbSschwartz int pxtool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode);
35d4476ccbSschwartz int pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode);
36d4476ccbSschwartz int pxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode);
37d4476ccbSschwartz int pxtool_init(dev_info_t *dip);
38d4476ccbSschwartz void pxtool_uninit(dev_info_t *dip);
39d4476ccbSschwartz 
40d4476ccbSschwartz #ifdef	__cplusplus
41d4476ccbSschwartz }
42d4476ccbSschwartz #endif
43d4476ccbSschwartz 
44d4476ccbSschwartz #endif	/* _SYS_PX_TOOLS_EXT_H */
45