summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordavidcs <davidcs@FreeBSD.org>2013-06-25 17:50:22 +0000
committerdavidcs <davidcs@FreeBSD.org>2013-06-25 17:50:22 +0000
commit35215c2644c33df865ab3dfbd71d550c14109a63 (patch)
treeed7e56e5bff99869e0b059a43465687ed33bb64f /sys/modules
parentb29359892ac52ab49c49c6c28c886afd659a2d4c (diff)
downloadFreeBSD-src-35215c2644c33df865ab3dfbd71d550c14109a63.zip
FreeBSD-src-35215c2644c33df865ab3dfbd71d550c14109a63.tar.gz
Add Qlogic 10Gb Ethernet Driver for Qlogic 8100 Series CNA Adapter
Driver version (v2.0.0) Submitted by: David C Somayajulu (davidcs@freebsd.org) QLogic Corporation Approved by: George Neville-Neil (gnn@freebsd.org)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/qlxge/Makefile50
2 files changed, 52 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index d25ead2..75cc5bd 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -271,6 +271,7 @@ SUBDIR= \
${_pst} \
pty \
puc \
+ ${_qlxge} \
${_qlxgb} \
${_qlxgbe} \
ral \
@@ -713,6 +714,7 @@ _opensolaris= opensolaris
_padlock= padlock
.endif
_pccard= pccard
+_qlxge= qlxge
_qlxgb= qlxgb
_qlxgbe= qlxgbe
_rdma= rdma
diff --git a/sys/modules/qlxge/Makefile b/sys/modules/qlxge/Makefile
new file mode 100644
index 0000000..98b40fd
--- /dev/null
+++ b/sys/modules/qlxge/Makefile
@@ -0,0 +1,50 @@
+#/*
+# * Copyright (c) 2013-2014 Qlogic Corporation
+# * All rights reserved.
+# *
+# * Redistribution and use in source and binary forms, with or without
+# * modification, are permitted provided that the following conditions
+# * are met:
+# *
+# * 1. Redistributions of source code must retain the above copyright
+# * notice, this list of conditions and the following disclaimer.
+# * 2. Redistributions in binary form must reproduce the above copyright
+# * notice, this list of conditions and the following disclaimer in the
+# * documentation and/or other materials provided with the distribution.
+# *
+# * 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.
+# */
+#/*
+# * File : Makefile
+# * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656.
+# */
+#
+# $FreeBSD$
+#
+
+.PATH: ${.CURDIR}/../../dev/qlxge
+
+KMOD=if_qlxge
+SRCS=qls_os.c qls_dbg.c qls_hw.c qls_isr.c qls_dump.c
+SRCS+=qls_ioctl.c
+SRCS+= device_if.h bus_if.h pci_if.h
+
+CFLAGS += -DQL_DBG
+
+clean:
+ rm -f opt_bdg.h device_if.h bus_if.h pci_if.h export_syms
+ rm -f *.o *.kld *.ko
+ rm -f @ machine x86
+
+.include <bsd.kmod.mk>
+
OpenPOWER on IntegriCloud