]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/dev/vxge/vxgehal/vxgehal-config-priv.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / dev / vxge / vxgehal / vxgehal-config-priv.h
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
38 vxge_hal_status_e
39 vxge_hal_driver_config_check(vxge_hal_driver_config_t *config);
40
41 vxge_hal_status_e
42 __hal_device_mac_config_check(vxge_hal_mac_config_t *mac_config);
43
44 vxge_hal_status_e
45 __hal_vpath_qos_config_check(vxge_hal_vpath_qos_config_t *config);
46
47 vxge_hal_status_e
48 __hal_mrpcim_config_check(vxge_hal_mrpcim_config_t *config);
49
50 vxge_hal_status_e
51 __hal_device_ring_config_check(vxge_hal_ring_config_t *ring_config);
52
53 vxge_hal_status_e
54 __hal_device_fifo_config_check(vxge_hal_fifo_config_t *fifo_config);
55
56 vxge_hal_status_e
57 __hal_device_lag_config_check(vxge_hal_lag_config_t *lag_config);
58
59 vxge_hal_status_e
60 __hal_device_lag_port_config_check(vxge_hal_lag_port_config_t *port_config);
61
62 vxge_hal_status_e
63 __hal_device_lag_aggr_config_check(vxge_hal_lag_aggr_config_t *aggr_config);
64
65 vxge_hal_status_e
66 __hal_device_lag_la_config_check(vxge_hal_lag_la_config_t *la_config);
67
68 vxge_hal_status_e
69 __hal_device_lag_ap_config_check(vxge_hal_lag_ap_config_t *ap_config);
70
71 vxge_hal_status_e
72 __hal_device_lag_sl_config_check(vxge_hal_lag_sl_config_t *sl_config);
73
74 vxge_hal_status_e
75 __hal_device_lag_lacp_config_check(vxge_hal_lag_lacp_config_t *lacp_config);
76
77 vxge_hal_status_e
78 __hal_device_wire_port_config_check(vxge_hal_wire_port_config_t *port_config);
79
80 vxge_hal_status_e
81 __hal_device_switch_port_config_check(
82     vxge_hal_switch_port_config_t *port_config);
83
84
85 vxge_hal_status_e
86 __hal_device_tim_intr_config_check(vxge_hal_tim_intr_config_t *tim_intr_config);
87
88 vxge_hal_status_e
89 __hal_device_vpath_config_check(vxge_hal_vp_config_t *vp_config);
90
91 vxge_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 */