d62bc4badc1c1f1549c961cfb8b420e650e1272byz * CDDL HEADER START
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * The contents of this file are subject to the terms of the
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * Common Development and Distribution License (the "License").
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * You may not use this file except in compliance with the License.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * See the License for the specific language governing permissions
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * and limitations under the License.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * When distributing Covered Code, include this CDDL HEADER in each
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * If applicable, add the following below this CDDL HEADER, with the
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * fields enclosed by brackets "[]" replaced with your own identifying
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * information: Portions Copyright [yyyy] [name of copyright owner]
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * CDDL HEADER END
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * Use is subject to license terms.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * This module provides the dacf functions to be called after a device
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * of "ddi_network" node type has attached and before it detaches.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * Specifically, net_postattach() will be called during the post-attach
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * process of each "ddi_network" device, and net_predetach() will be
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * called during the pre-detach process of each device.
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * DACF entry points
d62bc4badc1c1f1549c961cfb8b420e650e1272byzstatic int net_postattach(dacf_infohdl_t, dacf_arghdl_t, int);
d62bc4badc1c1f1549c961cfb8b420e650e1272byzstatic int net_predetach(dacf_infohdl_t, dacf_arghdl_t, int);
d62bc4badc1c1f1549c961cfb8b420e650e1272byz "net DACF",
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * Post-attach routine invoked for DDI_NT_NET drivers by DACF framework
d62bc4badc1c1f1549c961cfb8b420e650e1272byz/* ARGSUSED */
d62bc4badc1c1f1549c961cfb8b420e650e1272byznet_postattach(dacf_infohdl_t info_hdl, dacf_arghdl_t arg_hdl, int flags)
d62bc4badc1c1f1549c961cfb8b420e650e1272byz cmn_err(CE_WARN, "net_postattach: cannot create softmac "
d62bc4badc1c1f1549c961cfb8b420e650e1272byz * Pre-detach routine invoked for DDI_NT_NET drivers by DACF framework
d62bc4badc1c1f1549c961cfb8b420e650e1272byz/* ARGSUSED */