1777Sschwartz /* 2777Sschwartz * CDDL HEADER START 3777Sschwartz * 4777Sschwartz * The contents of this file are subject to the terms of the 5*10923SEvan.Yan@Sun.COM * Common Development and Distribution License (the "License"). 6*10923SEvan.Yan@Sun.COM * You may not use this file except in compliance with the License. 7777Sschwartz * 8777Sschwartz * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9777Sschwartz * or http://www.opensolaris.org/os/licensing. 10777Sschwartz * See the License for the specific language governing permissions 11777Sschwartz * and limitations under the License. 12777Sschwartz * 13777Sschwartz * When distributing Covered Code, include this CDDL HEADER in each 14777Sschwartz * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15777Sschwartz * If applicable, add the following below this CDDL HEADER, with the 16777Sschwartz * fields enclosed by brackets "[]" replaced with your own identifying 17777Sschwartz * information: Portions Copyright [yyyy] [name of copyright owner] 18777Sschwartz * 19777Sschwartz * CDDL HEADER END 20777Sschwartz */ 21777Sschwartz /* 22*10923SEvan.Yan@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23777Sschwartz * Use is subject to license terms. 24777Sschwartz */ 25777Sschwartz 26777Sschwartz #ifndef _SYS_PX_TOOLS_EXT_H 27777Sschwartz #define _SYS_PX_TOOLS_EXT_H 28777Sschwartz 29777Sschwartz #ifdef __cplusplus 30777Sschwartz extern "C" { 31777Sschwartz #endif 32777Sschwartz 33777Sschwartz /* Stuff exported by px_tools.c and px_tools_4[u/v].c */ 34777Sschwartz int pxtool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode); 35777Sschwartz int pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode); 36777Sschwartz int pxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode); 37777Sschwartz int pxtool_init(dev_info_t *dip); 38777Sschwartz void pxtool_uninit(dev_info_t *dip); 39777Sschwartz 40777Sschwartz #ifdef __cplusplus 41777Sschwartz } 42777Sschwartz #endif 43777Sschwartz 44777Sschwartz #endif /* _SYS_PX_TOOLS_EXT_H */ 45