qat: Move qat_c2xxx firmware files and build glue into separate dirs

Reviewed by:	Zdziarski, KrzysztofX <krzysztofx.zdziarski@intel.com>
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D36032
This commit is contained in:
Mark Johnston 2022-08-04 09:37:55 -04:00
parent 8449762738
commit 100ddf8922
6 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,39 @@
Copyright (c) 2021 Intel Corporation
Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:
* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of Intel Corporation nor the names of its suppliers
may be used to endorse or promote products derived from this software
without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of this software
is permitted.
Limited patent license. Intel Corporation grants a world-wide,
royalty-free, non-exclusive license under patents it now or hereafter
owns or controls to make, have made, use, import, offer to sell and
sell ("Utilize") this software, but solely to the extent that any
such patent is necessary to Utilize the software alone, or in
combination with an operating system licensed under an approved Open
Source license as listed by the Open Source Initiative at
http://opensource.org/licenses. The patent license shall not apply to
any other combinations which include this software. No hardware per
se is licensed hereunder.
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

View File

@ -308,8 +308,9 @@ SUBDIR= \
puc \
pwm \
${_qat} \
${_qat_c2xxx} \
${_qatfw} \
${_qat_c2xxx} \
${_qat_c2xxxfw} \
${_qlxge} \
${_qlxgb} \
${_qlxgbe} \
@ -683,8 +684,9 @@ _nctgpio= nctgpio
_ntb= ntb
_ocs_fc= ocs_fc
_qat= qat
_qat_c2xxx= qat_c2xxx
_qatfw= qatfw
_qat_c2xxx= qat_c2xxx
_qat_c2xxxfw= qat_c2xxxfw
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
_rdma= rdma
.endif

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/contrib/dev/qat
.PATH: ${SRCTOP}/sys/contrib/dev/qat_c2xxx
KMOD= qat_c2xxxfw
IMG1= mof_firmware_c2xxx

View File

@ -3,7 +3,6 @@
# $FreeBSD$
SUBDIR= qat_c62x \
qat_200xx \
qat_c2xxx \
qat_c3xxx \
qat_c4xxx \
qat_dh895xcc