/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/sysmacros.h>
/*
* Register a new bus function. We expect this function to be called from a
* driver attach or detach routine, so we can safely perform a sleeping
* allocation here. We just insert the new element at the head of the list.
*/
void
{
}
/*
* Unregister the specified bus function. We only delete an element that
* exactly matches the specified (type, func, arg) tuple. We expect this
* function to only be called from driver detach context.
*/
void
{
break;
}
}
}
/*
* Invoke the registered bus functions of the specified type. We return the
* maximum of the result values (e.g. BF_FATAL if any call returned BF_FATAL).
* This function assumes that (1) the BF_* constants are defined so that the
* most fatal error has the highest numerical value, and (2) that the bf_func
* callbacks obey the rules described in async.h.
*/
{
}
}
return (err);
}