Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2009 22:38:55 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188423 - in head/sys: conf modules/usb2 modules/usb2/serial_slcom
Message-ID:  <200902092238.n19MctNr073700@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Mon Feb  9 22:38:55 2009
New Revision: 188423
URL: http://svn.freebsd.org/changeset/base/188423

Log:
  Hook uslcom2 up to the build.

Added:
  head/sys/modules/usb2/serial_slcom/
  head/sys/modules/usb2/serial_slcom/Makefile   (contents, props changed)
Modified:
  head/sys/conf/files
  head/sys/modules/usb2/Makefile

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Mon Feb  9 22:23:01 2009	(r188422)
+++ head/sys/conf/files	Mon Feb  9 22:38:55 2009	(r188423)
@@ -1623,6 +1623,7 @@ dev/usb2/serial/umct2.c		optional usb2_c
 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

Modified: head/sys/modules/usb2/Makefile
==============================================================================
--- head/sys/modules/usb2/Makefile	Mon Feb  9 22:23:01 2009	(r188422)
+++ head/sys/modules/usb2/Makefile	Mon Feb  9 22:38:55 2009	(r188423)
@@ -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

Added: head/sys/modules/usb2/serial_slcom/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/usb2/serial_slcom/Makefile	Mon Feb  9 22:38:55 2009	(r188423)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902092238.n19MctNr073700>