Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/btattach Make the "bcm43xx" type use H4 transport a...
details: https://anonhg.NetBSD.org/src/rev/5dd4e15e9b73
branches: trunk
changeset: 355720:5dd4e15e9b73
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Aug 11 11:54:08 2017 +0000
description:
Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry Pi foundation.
diffstat:
usr.sbin/btattach/btattach.8 | 8 ++++++--
usr.sbin/btattach/btattach.c | 13 ++++++++++---
2 files changed, 16 insertions(+), 5 deletions(-)
diffs (64 lines):
diff -r 1093e67cf9d8 -r 5dd4e15e9b73 usr.sbin/btattach/btattach.8
--- a/usr.sbin/btattach/btattach.8 Fri Aug 11 07:30:01 2017 +0000
+++ b/usr.sbin/btattach/btattach.8 Fri Aug 11 11:54:08 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: btattach.8,v 1.8 2014/03/18 18:20:46 riastradh Exp $
+.\" $NetBSD: btattach.8,v 1.9 2017/08/11 11:54:08 jmcneill Exp $
.\"
.\" Copyright (c) 2007 KIYOHARA Takashi
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 9, 2010
+.Dd August 11, 2017
.Dt BTATTACH 8
.Os
.Sh NAME
@@ -58,6 +58,10 @@
.Bl -tag -compact -width ericssonxx -offset indent
.It Cm bcm2035
Broadcom BCM2035
+.It Cm bcm43xx
+Broadcom BCM43xx
+.It Cm bcm43xx-3wire
+Broadcom BCM43xx (3-wire)
.It Cm bcsp
Generic BCSP (BlueCore Serial Protocol)
.It Cm bgb2xx
diff -r 1093e67cf9d8 -r 5dd4e15e9b73 usr.sbin/btattach/btattach.c
--- a/usr.sbin/btattach/btattach.c Fri Aug 11 07:30:01 2017 +0000
+++ b/usr.sbin/btattach/btattach.c Fri Aug 11 11:54:08 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: btattach.c,v 1.14 2017/08/10 13:34:29 nat Exp $ */
+/* $NetBSD: btattach.c,v 1.15 2017/08/11 11:54:08 jmcneill Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008 Iain Hibbert. All rights reserved.");
-__RCSID("$NetBSD: btattach.c,v 1.14 2017/08/10 13:34:29 nat Exp $");
+__RCSID("$NetBSD: btattach.c,v 1.15 2017/08/11 11:54:08 jmcneill Exp $");
#include <sys/ioctl.h>
#include <sys/param.h>
@@ -63,8 +63,15 @@
},
{
.name = "bcm43xx",
+ .line = "btuart",
+ .descr = "Broadcom BCM43xx",
+ .init = &init_bcm43xx,
+ .speed = B115200,
+ },
+ {
+ .name = "bcm43xx-3wire",
.line = "bth5",
- .descr = "Broadcom BCM43xx",
+ .descr = "Broadcom BCM43xx (3-wire)",
.init = &init_bcm43xx,
.speed = B115200,
},
Home |
Main Index |
Thread Index |
Old Index