xref: /illumos-gate/usr/src/uts/common/io/bnx/bnxgld.h (revision 08f1bbed5edd2a2e9c8be7b7424c32e67c2f3f2c)
1 /*
2  * Copyright 2014-2017 Cavium, Inc.
3  * The contents of this file are subject to the terms of the Common Development
4  * and Distribution License, v.1,  (the "License").
5  *
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the License at available
9  * at http://opensource.org/licenses/CDDL-1.0
10  *
11  * See the License for the specific language governing permissions and
12  * limitations under the License.
13  */
14 
15 /*
16  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
17  */
18 
19 #ifndef _BNXGLD_H
20 #define	_BNXGLD_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include "bnx.h"
27 
28 int  bnx_gld_init(um_device_t *const);
29 void bnx_gld_link(um_device_t *const, const link_state_t linkup);
30 int  bnx_gld_fini(um_device_t *const);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif /* _BNXGLD_H */
37