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/libubt Include bthub support.
details: https://anonhg.NetBSD.org/src/rev/1efec0978edb
branches: trunk
changeset: 753293:1efec0978edb
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Mar 22 14:47:02 2010 +0000
description:
Include bthub support.
As mario knows, it should be in another component, but just cram
it here for now until someone solves kernel module dependencies
for us.
diffstat:
sys/rump/dev/lib/libubt/Makefile | 6 +++---
sys/rump/dev/lib/libubt/UBT.ioconf | 3 ++-
sys/rump/dev/lib/libubt/ubt_at_usb.c | 5 ++++-
3 files changed, 9 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 12ad8a178d17 -r 1efec0978edb sys/rump/dev/lib/libubt/Makefile
--- a/sys/rump/dev/lib/libubt/Makefile Mon Mar 22 14:42:01 2010 +0000
+++ b/sys/rump/dev/lib/libubt/Makefile Mon Mar 22 14:47:02 2010 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.1 2010/03/22 12:14:51 pooka Exp $
+# $NetBSD: Makefile,v 1.2 2010/03/22 14:47:02 pooka Exp $
#
-.PATH: ${.CURDIR}/../../../../dev/usb
+.PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../dev/bluetooth
LIB= rumpdev_ubt
IOCONF= UBT.ioconf
-SRCS= ubt.c
+SRCS= ubt.c bthub.c
SRCS+= ubt_at_usb.c
diff -r 12ad8a178d17 -r 1efec0978edb sys/rump/dev/lib/libubt/UBT.ioconf
--- a/sys/rump/dev/lib/libubt/UBT.ioconf Mon Mar 22 14:42:01 2010 +0000
+++ b/sys/rump/dev/lib/libubt/UBT.ioconf Mon Mar 22 14:47:02 2010 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: UBT.ioconf,v 1.1 2010/03/22 12:14:51 pooka Exp $
+# $NetBSD: UBT.ioconf,v 1.2 2010/03/22 14:47:02 pooka Exp $
#
ioconf ubt
include "conf/files"
include "dev/usb/files.usb"
+include "dev/bluetooth/files.bluetooth"
include "rump/dev/files.rump"
pseudo-root uhub*
diff -r 12ad8a178d17 -r 1efec0978edb sys/rump/dev/lib/libubt/ubt_at_usb.c
--- a/sys/rump/dev/lib/libubt/ubt_at_usb.c Mon Mar 22 14:42:01 2010 +0000
+++ b/sys/rump/dev/lib/libubt/ubt_at_usb.c Mon Mar 22 14:47:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ubt_at_usb.c,v 1.1 2010/03/22 12:14:51 pooka Exp $ */
+/* $NetBSD: ubt_at_usb.c,v 1.2 2010/03/22 14:47:02 pooka Exp $ */
#include <sys/param.h>
#include <sys/types.h>
@@ -25,4 +25,7 @@
FLAWLESSCALL(config_cfdriver_attach(&ubt_cd));
FLAWLESSCALL(config_cfattach_attach("ubt", &ubt_ca));
+
+ FLAWLESSCALL(config_cfdriver_attach(&bthub_cd));
+ FLAWLESSCALL(config_cfattach_attach("bthub", &bthub_ca));
}
Home |
Main Index |
Thread Index |
Old Index