xref: /freebsd/sys/compat/linuxkpi/common/src/linux_kmod.c (revision 8d59ecb214f7e078e57d35b865f33efc5d7cdf4d)
1*8d59ecb2SHans Petter Selasky /*-
2*8d59ecb2SHans Petter Selasky  * Copyright (c) 2015 Mellanox Technologies, Ltd.
3*8d59ecb2SHans Petter Selasky  * All rights reserved.
4*8d59ecb2SHans Petter Selasky  *
5*8d59ecb2SHans Petter Selasky  * Redistribution and use in source and binary forms, with or without
6*8d59ecb2SHans Petter Selasky  * modification, are permitted provided that the following conditions
7*8d59ecb2SHans Petter Selasky  * are met:
8*8d59ecb2SHans Petter Selasky  * 1. Redistributions of source code must retain the above copyright
9*8d59ecb2SHans Petter Selasky  *    notice unmodified, this list of conditions, and the following
10*8d59ecb2SHans Petter Selasky  *    disclaimer.
11*8d59ecb2SHans Petter Selasky  * 2. Redistributions in binary form must reproduce the above copyright
12*8d59ecb2SHans Petter Selasky  *    notice, this list of conditions and the following disclaimer in the
13*8d59ecb2SHans Petter Selasky  *    documentation and/or other materials provided with the distribution.
14*8d59ecb2SHans Petter Selasky  *
15*8d59ecb2SHans Petter Selasky  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16*8d59ecb2SHans Petter Selasky  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17*8d59ecb2SHans Petter Selasky  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18*8d59ecb2SHans Petter Selasky  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19*8d59ecb2SHans Petter Selasky  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20*8d59ecb2SHans Petter Selasky  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21*8d59ecb2SHans Petter Selasky  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22*8d59ecb2SHans Petter Selasky  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23*8d59ecb2SHans Petter Selasky  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24*8d59ecb2SHans Petter Selasky  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*8d59ecb2SHans Petter Selasky  */
26*8d59ecb2SHans Petter Selasky 
27*8d59ecb2SHans Petter Selasky #include <sys/cdefs.h>
28*8d59ecb2SHans Petter Selasky __FBSDID("$FreeBSD$");
29*8d59ecb2SHans Petter Selasky 
30*8d59ecb2SHans Petter Selasky #include <sys/param.h>
31*8d59ecb2SHans Petter Selasky #include <sys/module.h>
32*8d59ecb2SHans Petter Selasky 
33*8d59ecb2SHans Petter Selasky MODULE_VERSION(linuxkpi, 1);
34*8d59ecb2SHans Petter Selasky MODULE_DEPEND(linuxkpi, pci, 1, 1, 1);
35*8d59ecb2SHans Petter Selasky 
36