xref: /illumos-gate/usr/src/uts/common/io/bnx/bnxhwi.h (revision d0e58ef5d66890a3cd67c9c6eb8c823f9865a70f)
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 _BNXHWI_H
20 #define	_BNXHWI_H
21 
22 #include "bnx.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 int  bnx_hdwr_init(um_device_t * const umdevice);
29 int  bnx_hdwr_acquire(um_device_t * const umdevice);
30 void bnx_hdwr_release(um_device_t * const umdevice);
31 void bnx_hdwr_fini(um_device_t * const umdevice);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* _BNXHWI_H */
38