xref: /illumos-gate/usr/src/uts/common/io/fcoe/fcoe_eth.h (revision 2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41)
1*2a8164dfSZhong Wang /*
2*2a8164dfSZhong Wang  * CDDL HEADER START
3*2a8164dfSZhong Wang  *
4*2a8164dfSZhong Wang  * The contents of this file are subject to the terms of the
5*2a8164dfSZhong Wang  * Common Development and Distribution License (the "License").
6*2a8164dfSZhong Wang  * You may not use this file except in compliance with the License.
7*2a8164dfSZhong Wang  *
8*2a8164dfSZhong Wang  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2a8164dfSZhong Wang  * or http://www.opensolaris.org/os/licensing.
10*2a8164dfSZhong Wang  * See the License for the specific language governing permissions
11*2a8164dfSZhong Wang  * and limitations under the License.
12*2a8164dfSZhong Wang  *
13*2a8164dfSZhong Wang  * When distributing Covered Code, include this CDDL HEADER in each
14*2a8164dfSZhong Wang  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2a8164dfSZhong Wang  * If applicable, add the following below this CDDL HEADER, with the
16*2a8164dfSZhong Wang  * fields enclosed by brackets "[]" replaced with your own identifying
17*2a8164dfSZhong Wang  * information: Portions Copyright [yyyy] [name of copyright owner]
18*2a8164dfSZhong Wang  *
19*2a8164dfSZhong Wang  * CDDL HEADER END
20*2a8164dfSZhong Wang  */
21*2a8164dfSZhong Wang /*
22*2a8164dfSZhong Wang  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*2a8164dfSZhong Wang  * Use is subject to license terms.
24*2a8164dfSZhong Wang  */
25*2a8164dfSZhong Wang #ifndef	_FCOE_ETH_H_
26*2a8164dfSZhong Wang #define	_FCOE_ETH_H_
27*2a8164dfSZhong Wang 
28*2a8164dfSZhong Wang #ifdef	__cplusplus
29*2a8164dfSZhong Wang extern "C" {
30*2a8164dfSZhong Wang #endif
31*2a8164dfSZhong Wang 
32*2a8164dfSZhong Wang #ifdef	_KERNEL
33*2a8164dfSZhong Wang 
34*2a8164dfSZhong Wang extern int fcoe_open_mac(fcoe_mac_t *, int, fcoeio_stat_t *);
35*2a8164dfSZhong Wang extern int fcoe_close_mac(fcoe_mac_t *);
36*2a8164dfSZhong Wang extern int fcoe_enable_callback(fcoe_mac_t *);
37*2a8164dfSZhong Wang extern int fcoe_disable_callback(fcoe_mac_t *);
38*2a8164dfSZhong Wang extern int fcoe_mac_set_address(fcoe_port_t *, uint8_t *, boolean_t);
39*2a8164dfSZhong Wang 
40*2a8164dfSZhong Wang #endif	/* _KERNEL */
41*2a8164dfSZhong Wang #ifdef	__cplusplus
42*2a8164dfSZhong Wang }
43*2a8164dfSZhong Wang #endif
44*2a8164dfSZhong Wang 
45*2a8164dfSZhong Wang #endif	/* _FCOE_ETH_H_ */
46