Author: markj
Date: Thu Nov  5 16:00:30 2020
New Revision: 367387
URL: https://svnweb.freebsd.org/changeset/base/367387

Log:
  Add firmware modules for qat(4)
  
  MFC after:    3 days
  Sponsored by: Rubicon Communications, LLC (Netgate)

Added:
  head/sys/contrib/dev/qat/
  head/sys/contrib/dev/qat/LICENSE
  head/sys/contrib/dev/qat/mmp_firmware_c2xxx.bin
  head/sys/contrib/dev/qat/mof_firmware_c2xxx.bin
  head/sys/contrib/dev/qat/qat_895xcc.bin
  head/sys/contrib/dev/qat/qat_895xcc_mmp.bin
  head/sys/contrib/dev/qat/qat_c3xxx.bin
  head/sys/contrib/dev/qat/qat_c3xxx_mmp.bin
  head/sys/contrib/dev/qat/qat_c62x.bin
  head/sys/contrib/dev/qat/qat_c62x_mmp.bin
  head/sys/contrib/dev/qat/qat_d15xx.bin
  head/sys/contrib/dev/qat/qat_d15xx_mmp.bin
  head/sys/modules/qatfw/
  head/sys/modules/qatfw/Makefile   (contents, props changed)
  head/sys/modules/qatfw/qat_c2xxx/
  head/sys/modules/qatfw/qat_c2xxx/Makefile   (contents, props changed)
  head/sys/modules/qatfw/qat_c3xxx/
  head/sys/modules/qatfw/qat_c3xxx/Makefile   (contents, props changed)
  head/sys/modules/qatfw/qat_c62x/
  head/sys/modules/qatfw/qat_c62x/Makefile   (contents, props changed)
  head/sys/modules/qatfw/qat_d15xx/
  head/sys/modules/qatfw/qat_d15xx/Makefile   (contents, props changed)
  head/sys/modules/qatfw/qat_dh895xcc/
  head/sys/modules/qatfw/qat_dh895xcc/Makefile   (contents, props changed)
Modified:
  head/sys/modules/Makefile

Added: head/sys/contrib/dev/qat/LICENSE
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/contrib/dev/qat/LICENSE    Thu Nov  5 16:00:30 2020        
(r367387)
@@ -0,0 +1,11 @@
+Copyright (c) 2007-2016 Intel Corporation.
+All rights reserved.
+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.  The patent license shall not apply to any 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.

Added: head/sys/contrib/dev/qat/mmp_firmware_c2xxx.bin
==============================================================================

Added: head/sys/contrib/dev/qat/mof_firmware_c2xxx.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_895xcc.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_895xcc_mmp.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_c3xxx.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_c3xxx_mmp.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_c62x.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_c62x_mmp.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_d15xx.bin
==============================================================================

Added: head/sys/contrib/dev/qat/qat_d15xx_mmp.bin
==============================================================================

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile   Thu Nov  5 15:55:23 2020        (r367386)
+++ head/sys/modules/Makefile   Thu Nov  5 16:00:30 2020        (r367387)
@@ -301,6 +301,7 @@ SUBDIR=     \
        puc \
        pwm \
        ${_qat} \
+       ${_qatfw} \
        ${_qlxge} \
        ${_qlxgb} \
        ${_qlxgbe} \
@@ -632,6 +633,7 @@ _ocs_fc=    ocs_fc
 _ossl=         ossl
 _pccard=       pccard
 _qat=          qat
+_qatfw=                qatfw
 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
 _rdma=         rdma
 .endif

Added: head/sys/modules/qatfw/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/qatfw/Makefile     Thu Nov  5 16:00:30 2020        
(r367387)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+SUBDIR=        qat_c2xxx \
+       qat_c3xxx \
+       qat_c62x \
+       qat_d15xx \
+       qat_dh895xcc
+
+.include <bsd.subdir.mk>

Added: head/sys/modules/qatfw/qat_c2xxx/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/qatfw/qat_c2xxx/Makefile   Thu Nov  5 16:00:30 2020        
(r367387)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/contrib/dev/qat
+
+KMOD=  qat_c2xxxfw
+IMG1=  mmp_firmware_c2xxx
+IMG2=  mof_firmware_c2xxx
+
+FIRMWS=        ${IMG1}.bin:${IMG1}:111 ${IMG2}.bin:${IMG2}:111
+
+.include <bsd.kmod.mk>

Added: head/sys/modules/qatfw/qat_c3xxx/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/qatfw/qat_c3xxx/Makefile   Thu Nov  5 16:00:30 2020        
(r367387)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/contrib/dev/qat
+
+KMOD=  qat_c3xxxfw
+IMG1=  qat_c3xxx
+IMG2=  qat_c3xxx_mmp
+
+FIRMWS=        ${IMG1}.bin:${IMG1}:111 ${IMG2}.bin:${IMG2}:111
+
+.include <bsd.kmod.mk>

Added: head/sys/modules/qatfw/qat_c62x/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/qatfw/qat_c62x/Makefile    Thu Nov  5 16:00:30 2020        
(r367387)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/contrib/dev/qat
+
+KMOD=  qat_c62xfw
+IMG1=  qat_c62x
+IMG2=  qat_c62x_mmp
+
+FIRMWS=        ${IMG1}.bin:${IMG1}:111 ${IMG2}.bin:${IMG2}:111
+
+.include <bsd.kmod.mk>

Added: head/sys/modules/qatfw/qat_d15xx/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/qatfw/qat_d15xx/Makefile   Thu Nov  5 16:00:30 2020        
(r367387)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/contrib/dev/qat
+
+KMOD=  qat_d15xxfw
+IMG1=  qat_d15xx
+IMG2=  qat_d15xx_mmp
+
+FIRMWS=        ${IMG1}.bin:${IMG1}:111 ${IMG2}.bin:${IMG2}:111
+
+.include <bsd.kmod.mk>

Added: head/sys/modules/qatfw/qat_dh895xcc/Makefile
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sys/modules/qatfw/qat_dh895xcc/Makefile        Thu Nov  5 16:00:30 
2020        (r367387)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/contrib/dev/qat
+
+KMOD=  qat_dh895xccfw
+IMG1=  qat_895xcc
+IMG2=  qat_895xcc_mmp
+
+FIRMWS=        ${IMG1}.bin:${IMG1}:111 ${IMG2}.bin:${IMG2}:111
+
+.include <bsd.kmod.mk>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to