1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22 /* 23 * Copyright (c) 2002-2005 Neterion, Inc. 24 * All right Reserved. 25 * 26 * FileName : xgehal-mgmtaux.h 27 * 28 * Description: management auxiliary API 29 * 30 * Created: 1 September 2004 31 */ 32 33 #ifndef XGE_HAL_MGMTAUX_H 34 #define XGE_HAL_MGMTAUX_H 35 36 #include "xgehal-mgmt.h" 37 38 #define XGE_HAL_AUX_SEPA ' ' 39 40 xge_hal_status_e xge_hal_aux_about_read(xge_hal_device_h devh, int bufsize, 41 char *retbuf, int *retsize); 42 43 xge_hal_status_e xge_hal_aux_stats_tmac_read(xge_hal_device_h devh, int bufsize, 44 char *retbuf, int *retsize); 45 46 xge_hal_status_e xge_hal_aux_stats_rmac_read(xge_hal_device_h devh, int bufsize, 47 char *retbuf, int *retsize); 48 49 xge_hal_status_e xge_hal_aux_stats_sw_dev_read(xge_hal_device_h devh, 50 int bufsize, char *retbuf, int *retsize); 51 52 xge_hal_status_e xge_hal_aux_stats_pci_read(xge_hal_device_h devh, int bufsize, 53 char *retbuf, int *retsize); 54 55 xge_hal_status_e xge_hal_aux_stats_hal_read(xge_hal_device_h devh, int bufsize, 56 char *retbuf, int *retsize); 57 58 xge_hal_status_e xge_hal_aux_bar0_read(xge_hal_device_h devh, 59 unsigned int offset, int bufsize, char *retbuf, 60 int *retsize); 61 62 xge_hal_status_e xge_hal_aux_bar0_write(xge_hal_device_h devh, 63 unsigned int offset, u64 value); 64 65 xge_hal_status_e xge_hal_aux_bar1_read(xge_hal_device_h devh, 66 unsigned int offset, int bufsize, char *retbuf, 67 int *retsize); 68 69 xge_hal_status_e xge_hal_aux_pci_config_read(xge_hal_device_h devh, int bufsize, 70 char *retbuf, int *retsize); 71 72 xge_hal_status_e xge_hal_aux_stats_herc_enchanced(xge_hal_device_h devh, 73 int bufsize, char *retbuf, int *retsize); 74 75 xge_hal_status_e xge_hal_aux_channel_read(xge_hal_device_h devh, int bufsize, 76 char *retbuf, int *retsize); 77 78 xge_hal_status_e xge_hal_aux_device_dump(xge_hal_device_h devh); 79 80 81 xge_hal_status_e xge_hal_aux_driver_config_read(int bufsize, char *retbuf, 82 int *retsize); 83 84 xge_hal_status_e xge_hal_aux_device_config_read(xge_hal_device_h devh, 85 int bufsize, char *retbuf, int *retsize); 86 #endif /* XGE_HAL_MGMTAUX_H */ 87