1305852Snp/*-
2305852Snp * Copyright (c) 2016 Chelsio Communications, Inc.
3305852Snp * All rights reserved.
4305852Snp * Written by: Navdeep Parhar <np@FreeBSD.org>
5305852Snp *
6305852Snp * Redistribution and use in source and binary forms, with or without
7305852Snp * modification, are permitted provided that the following conditions
8305852Snp * are met:
9305852Snp * 1. Redistributions of source code must retain the above copyright
10305852Snp *    notice, this list of conditions and the following disclaimer.
11305852Snp * 2. Redistributions in binary form must reproduce the above copyright
12305852Snp *    notice, this list of conditions and the following disclaimer in the
13305852Snp *    documentation and/or other materials provided with the distribution.
14305852Snp *
15305852Snp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16305852Snp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17305852Snp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18305852Snp * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19305852Snp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20305852Snp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21305852Snp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22305852Snp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23305852Snp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24305852Snp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25305852Snp * SUCH DAMAGE.
26305852Snp */
27305852Snp
28305852Snp#include <sys/cdefs.h>
29305852Snp__FBSDID("$FreeBSD: stable/10/sys/dev/cxgbe/if_cc.c 309560 2016-12-05 20:43:25Z jhb $");
30305852Snp
31305852Snp#include <sys/param.h>
32305852Snp#include <sys/kernel.h>
33305852Snp#include <sys/module.h>
34305852Snp
35305852Snpstatic int
36305852Snpmod_event(module_t mod, int cmd, void *arg)
37305852Snp{
38305852Snp
39305852Snp	return (0);
40305852Snp}
41305852Snpstatic moduledata_t if_cc_mod = {"if_cc", mod_event};
42305852SnpDECLARE_MODULE(if_cc, if_cc_mod, SI_SUB_EXEC, SI_ORDER_ANY);
43305852SnpMODULE_VERSION(if_cc, 1);
44305852SnpMODULE_DEPEND(if_cc, cc, 1, 1, 1);
45