1179237Sjb/* 2179237Sjb * CDDL HEADER START 3179237Sjb * 4179237Sjb * The contents of this file are subject to the terms of the 5179237Sjb * Common Development and Distribution License (the "License"). 6179237Sjb * You may not use this file except in compliance with the License. 7179237Sjb * 8179237Sjb * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9179237Sjb * or http://www.opensolaris.org/os/licensing. 10179237Sjb * See the License for the specific language governing permissions 11179237Sjb * and limitations under the License. 12179237Sjb * 13179237Sjb * When distributing Covered Code, include this CDDL HEADER in each 14179237Sjb * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15179237Sjb * If applicable, add the following below this CDDL HEADER, with the 16179237Sjb * fields enclosed by brackets "[]" replaced with your own identifying 17179237Sjb * information: Portions Copyright [yyyy] [name of copyright owner] 18179237Sjb * 19179237Sjb * CDDL HEADER END 20179237Sjb * 21179237Sjb * $FreeBSD$ 22179237Sjb * 23179237Sjb */ 24179237Sjb 25179237Sjb/* ARGSUSED */ 26179237Sjbstatic int 27179237Sjbdtrace_modevent(module_t mod __unused, int type, void *data __unused) 28179237Sjb{ 29179237Sjb int error = 0; 30179237Sjb 31179237Sjb switch (type) { 32179237Sjb case MOD_LOAD: 33179237Sjb break; 34179237Sjb 35179237Sjb case MOD_UNLOAD: 36179237Sjb break; 37179237Sjb 38179237Sjb case MOD_SHUTDOWN: 39179237Sjb break; 40179237Sjb 41179237Sjb default: 42179237Sjb error = EOPNOTSUPP; 43179237Sjb break; 44179237Sjb 45179237Sjb } 46179237Sjb return (error); 47179237Sjb} 48