linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/hciattach: Add support for BCM line discipline
@ 2015-11-24 11:56 John Keeping
  2015-11-24 12:21 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: John Keeping @ 2015-11-24 11:56 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: John Keeping

This is similar to the "bcm43xx" option but using the kernel driver has
the advantage that the wakeup and shutdown pins on the device can be
used.
---
 tools/hciattach.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/hciattach.c b/tools/hciattach.c
index 59a76a7..7f8f463 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -1163,6 +1163,10 @@ struct uart_t uart[] = {
 	{ "amp",	0x0000, 0x0000, HCI_UART_H4, 115200, 115200,
 			AMP_DEV, DISABLE_PM, NULL, NULL, NULL },
 
+	/* Broadcom BCM with kernel support */
+	{ "bcm",        0x0000, 0x0000, HCI_UART_BCM,  115200, 115200,
+				FLOW_CTL, DISABLE_PM, NULL, NULL, NULL },
+
 	{ NULL, 0 }
 };
 
-- 
2.6.3.462.gbe2c914


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-24 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-24 11:56 [PATCH] tools/hciattach: Add support for BCM line discipline John Keeping
2015-11-24 12:21 ` Marcel Holtmann
2015-11-24 12:28   ` John Keeping
2015-11-24 12:37     ` Marcel Holtmann
2015-11-24 12:43       ` John Keeping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).