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