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.
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.
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]
21 * Copyright (c) 2002-2006 Neterion, Inc.
24 #ifndef XGE_HAL_MGMTAUX_H
25 #define XGE_HAL_MGMTAUX_H
27 #include "xgehal-mgmt.h"
31 #define XGE_HAL_AUX_SEPA ' '
33 xge_hal_status_e
xge_hal_aux_about_read(xge_hal_device_h devh
,
34 int bufsize
, char *retbuf
, int *retsize
);
36 xge_hal_status_e
xge_hal_aux_stats_tmac_read(xge_hal_device_h devh
,
37 int bufsize
, char *retbuf
, int *retsize
);
39 xge_hal_status_e
xge_hal_aux_stats_rmac_read(xge_hal_device_h devh
,
40 int bufsize
, char *retbuf
, int *retsize
);
42 xge_hal_status_e
xge_hal_aux_stats_sw_dev_read(xge_hal_device_h devh
,
43 int bufsize
, char *retbuf
, int *retsize
);
45 xge_hal_status_e
xge_hal_aux_stats_pci_read(xge_hal_device_h devh
,
46 int bufsize
, char *retbuf
, int *retsize
);
48 xge_hal_status_e
xge_hal_aux_stats_hal_read(xge_hal_device_h devh
,
49 int bufsize
, char *retbuf
, int *retsize
);
51 xge_hal_status_e
xge_hal_aux_bar0_read(xge_hal_device_h devh
,
52 unsigned int offset
, int bufsize
, char *retbuf
, int *retsize
);
54 xge_hal_status_e
xge_hal_aux_bar0_write(xge_hal_device_h devh
,
55 unsigned int offset
, u64 value
);
57 xge_hal_status_e
xge_hal_aux_bar1_read(xge_hal_device_h devh
,
58 unsigned int offset
, int bufsize
, char *retbuf
, int *retsize
);
60 xge_hal_status_e
xge_hal_aux_pci_config_read(xge_hal_device_h devh
,
61 int bufsize
, char *retbuf
, int *retsize
);
63 xge_hal_status_e
xge_hal_aux_stats_herc_enchanced(xge_hal_device_h devh
,
64 int bufsize
, char *retbuf
, int *retsize
);
66 xge_hal_status_e
xge_hal_aux_channel_read(xge_hal_device_h devh
,
67 int bufsize
, char *retbuf
, int *retsize
);
69 xge_hal_status_e
xge_hal_aux_device_dump(xge_hal_device_h devh
);
72 xge_hal_status_e
xge_hal_aux_driver_config_read(
73 int bufsize
, char *retbuf
, int *retsize
);
75 xge_hal_status_e
xge_hal_aux_device_config_read(xge_hal_device_h devh
,
76 int bufsize
, char *retbuf
, int *retsize
);
80 #endif /* XGE_HAL_MGMTAUX_H */