1*e6b81479SNavdeep Parhar /*-
2*e6b81479SNavdeep Parhar * Copyright (c) 2016 Chelsio Communications, Inc.
3*e6b81479SNavdeep Parhar * All rights reserved.
4*e6b81479SNavdeep Parhar * Written by: Navdeep Parhar <np@FreeBSD.org>
5*e6b81479SNavdeep Parhar *
6*e6b81479SNavdeep Parhar * Redistribution and use in source and binary forms, with or without
7*e6b81479SNavdeep Parhar * modification, are permitted provided that the following conditions
8*e6b81479SNavdeep Parhar * are met:
9*e6b81479SNavdeep Parhar * 1. Redistributions of source code must retain the above copyright
10*e6b81479SNavdeep Parhar * notice, this list of conditions and the following disclaimer.
11*e6b81479SNavdeep Parhar * 2. Redistributions in binary form must reproduce the above copyright
12*e6b81479SNavdeep Parhar * notice, this list of conditions and the following disclaimer in the
13*e6b81479SNavdeep Parhar * documentation and/or other materials provided with the distribution.
14*e6b81479SNavdeep Parhar *
15*e6b81479SNavdeep Parhar * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16*e6b81479SNavdeep Parhar * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*e6b81479SNavdeep Parhar * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*e6b81479SNavdeep Parhar * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*e6b81479SNavdeep Parhar * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*e6b81479SNavdeep Parhar * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*e6b81479SNavdeep Parhar * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*e6b81479SNavdeep Parhar * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*e6b81479SNavdeep Parhar * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*e6b81479SNavdeep Parhar * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*e6b81479SNavdeep Parhar * SUCH DAMAGE.
26*e6b81479SNavdeep Parhar */
27*e6b81479SNavdeep Parhar
28*e6b81479SNavdeep Parhar #include <sys/param.h>
29*e6b81479SNavdeep Parhar #include <sys/kernel.h>
30*e6b81479SNavdeep Parhar #include <sys/module.h>
31*e6b81479SNavdeep Parhar
32*e6b81479SNavdeep Parhar static int
mod_event(module_t mod,int cmd,void * arg)33*e6b81479SNavdeep Parhar mod_event(module_t mod, int cmd, void *arg)
34*e6b81479SNavdeep Parhar {
35*e6b81479SNavdeep Parhar
36*e6b81479SNavdeep Parhar return (0);
37*e6b81479SNavdeep Parhar }
38*e6b81479SNavdeep Parhar static moduledata_t if_ccv_mod = {"if_ccv", mod_event};
39*e6b81479SNavdeep Parhar DECLARE_MODULE(if_ccv, if_ccv_mod, SI_SUB_EXEC, SI_ORDER_ANY);
40*e6b81479SNavdeep Parhar MODULE_VERSION(if_ccv, 1);
41*e6b81479SNavdeep Parhar MODULE_DEPEND(if_ccv, ccv, 1, 1, 1);
42