ixgbe.c revision 283668
120253Sjoerg/******************************************************************************
220302Sjoerg
320302Sjoerg  Copyright (c) 2001-2015, Intel Corporation
420253Sjoerg  All rights reserved.
520253Sjoerg
620253Sjoerg  Redistribution and use in source and binary forms, with or without
720253Sjoerg  modification, are permitted provided that the following conditions are met:
820253Sjoerg
920302Sjoerg   1. Redistributions of source code must retain the above copyright notice,
1020253Sjoerg      this list of conditions and the following disclaimer.
1120253Sjoerg
1220253Sjoerg   2. Redistributions in binary form must reproduce the above copyright
1320253Sjoerg      notice, this list of conditions and the following disclaimer in the
1420302Sjoerg      documentation and/or other materials provided with the distribution.
1520253Sjoerg
1620253Sjoerg   3. Neither the name of the Intel Corporation nor the names of its
1720302Sjoerg      contributors may be used to endorse or promote products derived from
1820253Sjoerg      this software without specific prior written permission.
1920253Sjoerg
2020253Sjoerg  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2120253Sjoerg  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2220253Sjoerg  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2320253Sjoerg  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2420253Sjoerg  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2544229Sdavidn  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2620253Sjoerg  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2720253Sjoerg  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2830259Scharnier  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2930259Scharnier  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3050479Speter  POSSIBILITY OF SUCH DAMAGE.
3130259Scharnier
3230259Scharnier******************************************************************************/
3330259Scharnier/*$FreeBSD: stable/10/sys/dev/ixgbe/ixgbe.c 283668 2015-05-28 20:56:11Z erj $*/
3430259Scharnier
3520253Sjoerg#include <sys/cdefs.h>
3620253Sjoerg#include <sys/param.h>
3720253Sjoerg#include <sys/kernel.h>
3830259Scharnier#include <sys/module.h>
3920253Sjoerg
4020555Sdavidnstatic int
4120555Sdavidnmod_event(module_t mod, int cmd, void *arg)
4220555Sdavidn{
4330259Scharnier	return (0);
4422394Sdavidn}
4564918Sgreen
4622394Sdavidnstatic moduledata_t ixgbe_mod = {"if_ixgbe", mod_event};
4720555SdavidnDECLARE_MODULE(ixgbe, ixgbe_mod, SI_SUB_EXEC, SI_ORDER_ANY);
4822394SdavidnMODULE_DEPEND(ixgbe, ix, 1, 1, 1);
4920253SjoergMODULE_DEPEND(ixgbe, ixv, 1, 1, 1);
5020253Sjoerg
5120253Sjoerg