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