summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-06-01 18:07:01 +0000
committersam <sam@FreeBSD.org>2009-06-01 18:07:01 +0000
commitf0cca176f4e17d9ff6a1088929ee2c843e1000ab (patch)
tree4aa57b01fcce3ef5523174cf4075c853234998b3 /sys/modules
parentd54138ae871ddc515927682de43257eeddad4d7d (diff)
downloadFreeBSD-src-f0cca176f4e17d9ff6a1088929ee2c843e1000ab.zip
FreeBSD-src-f0cca176f4e17d9ff6a1088929ee2c843e1000ab.tar.gz
driver for Marvell 88W8363 Wireless LAN controller
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/mwl/Makefile41
-rw-r--r--sys/modules/mwlfw/Makefile14
3 files changed, 56 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 6a04d5e..51ce6fc 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -178,6 +178,7 @@ SUBDIR= ${_3dfx} \
msdosfs_iconv \
${_mse} \
msk \
+ mwl \
mxge \
my \
${_ncp} \
diff --git a/sys/modules/mwl/Makefile b/sys/modules/mwl/Makefile
new file mode 100644
index 0000000..8971eb1
--- /dev/null
+++ b/sys/modules/mwl/Makefile
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2007-2009 Sam Leffler, Errno Consulting
+# 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,
+# without modification.
+# 2. Redistributions in binary form must reproduce at minimum a disclaimer
+# similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
+# redistribution must be conditioned upon including a substantially
+# similar Disclaimer requirement for further binary redistribution.
+#
+# NO WARRANTY
+# 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 NONINFRINGEMENT, MERCHANTIBILITY
+# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES.
+#
+# $FreeBSD$
+#
+
+.PATH: ${.CURDIR}/../../dev/mwl
+
+KMOD= if_mwl
+SRCS= if_mwl.c if_mwl_pci.c mwlhal.c
+SRCS+= device_if.h bus_if.h pci_if.h opt_inet.h opt_mwl.h
+
+opt_mwl.h:
+ echo '#define MWL_DEBUG 1'> $@
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/mwlfw/Makefile b/sys/modules/mwlfw/Makefile
new file mode 100644
index 0000000..9d7b226
--- /dev/null
+++ b/sys/modules/mwlfw/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+KMOD= mw88W8363fw
+FIRMWS= mw88W8363.fw:mw88W8363fw mwlboot.fw:mwlboot
+
+CLEANFILES+= mw88W8363.fw mwlboot.fw
+
+mw88W8363.fw: ${.CURDIR}/../../contrib/dev/mwl/mw88W8363.fw.uu
+ uudecode -p $? > ${.TARGET}
+
+mwlboot.fw: ${.CURDIR}/../../contrib/dev/mwl/mwlboot.fw.uu
+ uudecode -p $? > ${.TARGET}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud