1305549Sjhb/*- 2305549Sjhb * Copyright (c) 2015 Chelsio Communications, Inc. 3305549Sjhb * All rights reserved. 4305549Sjhb * Written by: Navdeep Parhar <np@FreeBSD.org> 5305549Sjhb * 6305549Sjhb * Redistribution and use in source and binary forms, with or without 7305549Sjhb * modification, are permitted provided that the following conditions 8305549Sjhb * are met: 9305549Sjhb * 1. Redistributions of source code must retain the above copyright 10305549Sjhb * notice, this list of conditions and the following disclaimer. 11305549Sjhb * 2. Redistributions in binary form must reproduce the above copyright 12305549Sjhb * notice, this list of conditions and the following disclaimer in the 13305549Sjhb * documentation and/or other materials provided with the distribution. 14305549Sjhb * 15305549Sjhb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16305549Sjhb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17305549Sjhb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18305549Sjhb * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19305549Sjhb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20305549Sjhb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21305549Sjhb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22305549Sjhb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23305549Sjhb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24305549Sjhb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25305549Sjhb * SUCH DAMAGE. 26305549Sjhb */ 27305549Sjhb 28305549Sjhb#include <sys/cdefs.h> 29305549Sjhb__FBSDID("$FreeBSD: stable/11/sys/dev/cxgbe/if_cxlv.c 306664 2016-10-03 23:49:05Z jhb $"); 30305549Sjhb 31305549Sjhb#include <sys/param.h> 32305549Sjhb#include <sys/kernel.h> 33305549Sjhb#include <sys/module.h> 34305549Sjhb 35305549Sjhbstatic int 36305549Sjhbmod_event(module_t mod, int cmd, void *arg) 37305549Sjhb{ 38305549Sjhb 39305549Sjhb return (0); 40305549Sjhb} 41305549Sjhbstatic moduledata_t if_cxlv_mod = {"if_cxlv", mod_event}; 42305549SjhbDECLARE_MODULE(if_cxlv, if_cxlv_mod, SI_SUB_EXEC, SI_ORDER_ANY); 43305549SjhbMODULE_VERSION(if_cxlv, 1); 44305549SjhbMODULE_DEPEND(if_cxlv, cxlv, 1, 1, 1); 45