summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-02-09 22:38:55 +0000
committerthompsa <thompsa@FreeBSD.org>2009-02-09 22:38:55 +0000
commit4897aced85df321c97cd8f6875295dd33372dbce (patch)
tree1f4394f4c68d30c8c4303016303afc1e0137110c /sys/modules
parent7c2973ccbaee66d631355b750a4ab8dcfc598c1c (diff)
downloadFreeBSD-src-4897aced85df321c97cd8f6875295dd33372dbce.zip
FreeBSD-src-4897aced85df321c97cd8f6875295dd33372dbce.tar.gz
Hook uslcom2 up to the build.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/usb2/Makefile1
-rw-r--r--sys/modules/usb2/serial_slcom/Makefile38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys/modules/usb2/Makefile b/sys/modules/usb2/Makefile
index f0e1340..3d302c1 100644
--- a/sys/modules/usb2/Makefile
+++ b/sys/modules/usb2/Makefile
@@ -74,6 +74,7 @@ SUBDIR += serial_mct
SUBDIR += serial_modem
SUBDIR += serial_moscom
SUBDIR += serial_plcom
+SUBDIR += serial_slcom
SUBDIR += serial_visor
SUBDIR += serial_vscom
SUBDIR += sound
diff --git a/sys/modules/usb2/serial_slcom/Makefile b/sys/modules/usb2/serial_slcom/Makefile
new file mode 100644
index 0000000..a32d299
--- /dev/null
+++ b/sys/modules/usb2/serial_slcom/Makefile
@@ -0,0 +1,38 @@
+#
+# $FreeBSD$
+#
+# Copyright (c) 2009 Hans Petter Selasky. 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 AUTHOR 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 AUTHOR 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.
+#
+
+S=${.CURDIR}/../../..
+
+.PATH: $S/dev/usb2/serial
+
+KMOD=usb2_serial_slcom
+SRCS=
+SRCS+= bus_if.h usb2_if.h device_if.h vnode_if.h
+SRCS+= opt_usb.h opt_bus.h opt_compat.h
+SRCS+= uslcom2.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud