1/*-
2 * Copyright(c) 2002-2011 Exar Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification are permitted provided the following conditions are met:
7 *
8 *    1. Redistributions of source code must retain the above copyright notice,
9 *       this list of conditions and the following disclaimer.
10 *
11 *    2. Redistributions in binary form must reproduce the above copyright
12 *       notice, this list of conditions and the following disclaimer in the
13 *       documentation and/or other materials provided with the distribution.
14 *
15 *    3. Neither the name of the Exar Corporation nor the names of its
16 *       contributors may be used to endorse or promote products derived from
17 *       this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE.
30 */
31/*$FreeBSD$*/
32
33#ifndef	XGEHAL_CONFIG_PRIV_H
34#define	XGEHAL_CONFIG_PRIV_H
35
36__EXTERN_BEGIN_DECLS
37
38vxge_hal_status_e
39vxge_hal_driver_config_check(vxge_hal_driver_config_t *config);
40
41vxge_hal_status_e
42__hal_device_mac_config_check(vxge_hal_mac_config_t *mac_config);
43
44vxge_hal_status_e
45__hal_vpath_qos_config_check(vxge_hal_vpath_qos_config_t *config);
46
47vxge_hal_status_e
48__hal_mrpcim_config_check(vxge_hal_mrpcim_config_t *config);
49
50vxge_hal_status_e
51__hal_device_ring_config_check(vxge_hal_ring_config_t *ring_config);
52
53vxge_hal_status_e
54__hal_device_fifo_config_check(vxge_hal_fifo_config_t *fifo_config);
55
56vxge_hal_status_e
57__hal_device_lag_config_check(vxge_hal_lag_config_t *lag_config);
58
59vxge_hal_status_e
60__hal_device_lag_port_config_check(vxge_hal_lag_port_config_t *port_config);
61
62vxge_hal_status_e
63__hal_device_lag_aggr_config_check(vxge_hal_lag_aggr_config_t *aggr_config);
64
65vxge_hal_status_e
66__hal_device_lag_la_config_check(vxge_hal_lag_la_config_t *la_config);
67
68vxge_hal_status_e
69__hal_device_lag_ap_config_check(vxge_hal_lag_ap_config_t *ap_config);
70
71vxge_hal_status_e
72__hal_device_lag_sl_config_check(vxge_hal_lag_sl_config_t *sl_config);
73
74vxge_hal_status_e
75__hal_device_lag_lacp_config_check(vxge_hal_lag_lacp_config_t *lacp_config);
76
77vxge_hal_status_e
78__hal_device_wire_port_config_check(vxge_hal_wire_port_config_t *port_config);
79
80vxge_hal_status_e
81__hal_device_switch_port_config_check(
82    vxge_hal_switch_port_config_t *port_config);
83
84
85vxge_hal_status_e
86__hal_device_tim_intr_config_check(vxge_hal_tim_intr_config_t *tim_intr_config);
87
88vxge_hal_status_e
89__hal_device_vpath_config_check(vxge_hal_vp_config_t *vp_config);
90
91vxge_hal_status_e
92__hal_device_config_check(vxge_hal_device_config_t *new_config);
93
94__EXTERN_END_DECLS
95
96#endif	/* XGEHAL_CONFIG_PRIV_H */
97