xref: /freebsd/sys/compat/linuxkpi/common/src/linux_kmod.c (revision fdafd315ad0d0f28a11b9fb4476a9ab059c62b92)
18d59ecb2SHans Petter Selasky /*-
28d59ecb2SHans Petter Selasky  * Copyright (c) 2015 Mellanox Technologies, Ltd.
38d59ecb2SHans Petter Selasky  * All rights reserved.
48d59ecb2SHans Petter Selasky  *
58d59ecb2SHans Petter Selasky  * Redistribution and use in source and binary forms, with or without
68d59ecb2SHans Petter Selasky  * modification, are permitted provided that the following conditions
78d59ecb2SHans Petter Selasky  * are met:
88d59ecb2SHans Petter Selasky  * 1. Redistributions of source code must retain the above copyright
98d59ecb2SHans Petter Selasky  *    notice unmodified, this list of conditions, and the following
108d59ecb2SHans Petter Selasky  *    disclaimer.
118d59ecb2SHans Petter Selasky  * 2. Redistributions in binary form must reproduce the above copyright
128d59ecb2SHans Petter Selasky  *    notice, this list of conditions and the following disclaimer in the
138d59ecb2SHans Petter Selasky  *    documentation and/or other materials provided with the distribution.
148d59ecb2SHans Petter Selasky  *
158d59ecb2SHans Petter Selasky  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
168d59ecb2SHans Petter Selasky  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
178d59ecb2SHans Petter Selasky  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
188d59ecb2SHans Petter Selasky  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
198d59ecb2SHans Petter Selasky  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
208d59ecb2SHans Petter Selasky  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
218d59ecb2SHans Petter Selasky  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
228d59ecb2SHans Petter Selasky  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
238d59ecb2SHans Petter Selasky  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
248d59ecb2SHans Petter Selasky  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
258d59ecb2SHans Petter Selasky  */
268d59ecb2SHans Petter Selasky 
278d59ecb2SHans Petter Selasky #include <sys/param.h>
288d59ecb2SHans Petter Selasky #include <sys/module.h>
298d59ecb2SHans Petter Selasky 
308d59ecb2SHans Petter Selasky MODULE_VERSION(linuxkpi, 1);
31*4a26380bSBjoern A. Zeeb MODULE_DEPEND(linuxkpi, firmware, 1, 1, 1);
322b68c973SEmmanuel Vadot MODULE_DEPEND(linuxkpi, backlight, 1, 1, 1);
338d59ecb2SHans Petter Selasky MODULE_DEPEND(linuxkpi, pci, 1, 1, 1);
34