1*5895Syz147064 /* 2*5895Syz147064 * CDDL HEADER START 3*5895Syz147064 * 4*5895Syz147064 * The contents of this file are subject to the terms of the 5*5895Syz147064 * Common Development and Distribution License (the "License"). 6*5895Syz147064 * You may not use this file except in compliance with the License. 7*5895Syz147064 * 8*5895Syz147064 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*5895Syz147064 * or http://www.opensolaris.org/os/licensing. 10*5895Syz147064 * See the License for the specific language governing permissions 11*5895Syz147064 * and limitations under the License. 12*5895Syz147064 * 13*5895Syz147064 * When distributing Covered Code, include this CDDL HEADER in each 14*5895Syz147064 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*5895Syz147064 * If applicable, add the following below this CDDL HEADER, with the 16*5895Syz147064 * fields enclosed by brackets "[]" replaced with your own identifying 17*5895Syz147064 * information: Portions Copyright [yyyy] [name of copyright owner] 18*5895Syz147064 * 19*5895Syz147064 * CDDL HEADER END 20*5895Syz147064 */ 21*5895Syz147064 /* 22*5895Syz147064 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*5895Syz147064 * Use is subject to license terms. 24*5895Syz147064 */ 25*5895Syz147064 26*5895Syz147064 #ifndef _SYS_SOFTMAC_H 27*5895Syz147064 #define _SYS_SOFTMAC_H 28*5895Syz147064 29*5895Syz147064 #pragma ident "%Z%%M% %I% %E% SMI" 30*5895Syz147064 31*5895Syz147064 #include <sys/types.h> 32*5895Syz147064 #include <sys/sunddi.h> 33*5895Syz147064 #include <sys/mac.h> 34*5895Syz147064 #include <sys/dls.h> 35*5895Syz147064 36*5895Syz147064 #ifdef __cplusplus 37*5895Syz147064 extern "C" { 38*5895Syz147064 #endif 39*5895Syz147064 40*5895Syz147064 int softmac_create(dev_info_t *, dev_t); 41*5895Syz147064 int softmac_destroy(dev_info_t *, dev_t); 42*5895Syz147064 int softmac_hold_device(dev_t, dls_dev_handle_t *); 43*5895Syz147064 void softmac_rele_device(dls_dev_handle_t); 44*5895Syz147064 void softmac_recreate(); 45*5895Syz147064 46*5895Syz147064 #ifdef __cplusplus 47*5895Syz147064 } 48*5895Syz147064 #endif 49*5895Syz147064 50*5895Syz147064 #endif /* _SYS_SOFTMAC_H */ 51