From 2a1eb33aacb321eba5b03ac5d0318b95c4489ada Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Mon, 9 Feb 2009 22:38:55 +0000 Subject: [PATCH] Hook uslcom2 up to the build. --- sys/conf/files | 1 + sys/modules/usb2/Makefile | 1 + sys/modules/usb2/serial_slcom/Makefile | 38 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 sys/modules/usb2/serial_slcom/Makefile diff --git a/sys/conf/files b/sys/conf/files index 170d4cbdec4..0a06c5cfbe4 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1623,6 +1623,7 @@ dev/usb2/serial/umct2.c optional usb2_core usb2_serial usb2_serial_mct dev/usb2/serial/umodem2.c optional usb2_core usb2_serial usb2_serial_modem dev/usb2/serial/umoscom2.c optional usb2_core usb2_serial usb2_serial_moscom dev/usb2/serial/uplcom2.c optional usb2_core usb2_serial usb2_serial_plcom +dev/usb2/serial/uslcom2.c optional usb2_core usb2_serial usb2_serial_slcom dev/usb2/serial/usb2_serial.c optional usb2_core usb2_serial dev/usb2/serial/uvisor2.c optional usb2_core usb2_serial usb2_serial_visor dev/usb2/serial/uvscom2.c optional usb2_core usb2_serial usb2_serial_vscom diff --git a/sys/modules/usb2/Makefile b/sys/modules/usb2/Makefile index f0e13401e0c..3d302c1dec9 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 00000000000..a32d29964aa --- /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 -- 2.45.2