xref: /illumos-gate/usr/src/uts/common/io/bnx/bnxint.h (revision eef4f27b)
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  * Copyright (c) 2019, Joyent, Inc.
18  */
19 
20 #ifndef _BNXINT_H
21 #define	_BNXINT_H
22 
23 #include "bnx.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 void bnx_intr_enable(um_device_t *const);
30 void bnx_intr_disable(um_device_t *const);
31 
32 int  bnxIntrInit(um_device_t *);
33 void bnxIntrFini(um_device_t *);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* _BNXINT_H */
40