Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libucom add u3g
details: https://anonhg.NetBSD.org/src/rev/ad2f34f33624
branches: trunk
changeset: 752557:ad2f34f33624
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Mar 01 11:34:27 2010 +0000
description:
add u3g
diffstat:
sys/rump/dev/lib/libucom/Makefile | 4 ++--
sys/rump/dev/lib/libucom/UCOM.ioconf | 9 ++++++++-
sys/rump/dev/lib/libucom/ucom_at_usb.c | 8 +++++++-
3 files changed, 17 insertions(+), 4 deletions(-)
diffs (61 lines):
diff -r fc4971c25150 -r ad2f34f33624 sys/rump/dev/lib/libucom/Makefile
--- a/sys/rump/dev/lib/libucom/Makefile Mon Mar 01 11:27:29 2010 +0000
+++ b/sys/rump/dev/lib/libucom/Makefile Mon Mar 01 11:34:27 2010 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2010/03/01 11:34:27 pooka Exp $
#
.PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../kern
LIB= rumpdev_ucom
-SRCS= ucom.c uplcom.c
+SRCS= ucom.c uplcom.c u3g.c
SRCS+= ucom_at_usb.c
SRCS+= tty.c tty_conf.c tty_tty.c tty_subr.c
diff -r fc4971c25150 -r ad2f34f33624 sys/rump/dev/lib/libucom/UCOM.ioconf
--- a/sys/rump/dev/lib/libucom/UCOM.ioconf Mon Mar 01 11:27:29 2010 +0000
+++ b/sys/rump/dev/lib/libucom/UCOM.ioconf Mon Mar 01 11:34:27 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: UCOM.ioconf,v 1.2 2010/02/12 04:20:51 pooka Exp $
+# $NetBSD: UCOM.ioconf,v 1.3 2010/03/01 11:34:27 pooka Exp $
#
ioconf ucom
@@ -7,5 +7,12 @@
include "dev/usb/files.usb"
include "rump/dev/files.rump"
+# I/O DATA USB-RSAQ2 serial adapter
uplcom* at uhub?
ucom* at uplcom? portno ?
+
+# USB 3G datacards
+u3g* at uhub? port ?
+u3ginit* at uhub? port ?
+
+ucom* at u3g?
diff -r fc4971c25150 -r ad2f34f33624 sys/rump/dev/lib/libucom/ucom_at_usb.c
--- a/sys/rump/dev/lib/libucom/ucom_at_usb.c Mon Mar 01 11:27:29 2010 +0000
+++ b/sys/rump/dev/lib/libucom/ucom_at_usb.c Mon Mar 01 11:34:27 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ucom_at_usb.c,v 1.1 2010/02/11 02:22:09 pooka Exp $ */
+/* $NetBSD: ucom_at_usb.c,v 1.2 2010/03/01 11:34:27 pooka Exp $ */
#include <sys/param.h>
#include <sys/types.h>
@@ -41,6 +41,12 @@
FLAWLESSCALL(config_cfdriver_attach(&uplcom_cd));
FLAWLESSCALL(config_cfattach_attach("uplcom", &uplcom_ca));
+ FLAWLESSCALL(config_cfdriver_attach(&u3ginit_cd));
+ FLAWLESSCALL(config_cfattach_attach("u3ginit", &u3ginit_ca));
+
+ FLAWLESSCALL(config_cfdriver_attach(&u3g_cd));
+ FLAWLESSCALL(config_cfattach_attach("u3g", &u3g_ca));
+
FLAWLESSCALL(config_cfdriver_attach(&ucom_cd));
FLAWLESSCALL(config_cfattach_attach("ucom", &ucom_ca));
Home |
Main Index |
Thread Index |
Old Index