linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Keeping <john@metanate.com>
To: linux-bluetooth@vger.kernel.org
Cc: John Keeping <john@metanate.com>
Subject: [PATCH] tools/hciattach: Add support for BCM line discipline
Date: Tue, 24 Nov 2015 11:56:11 +0000	[thread overview]
Message-ID: <1448366171-14264-1-git-send-email-john@metanate.com> (raw)

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


             reply	other threads:[~2015-11-24 11:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 11:56 John Keeping [this message]
2015-11-24 12:21 ` [PATCH] tools/hciattach: Add support for BCM line discipline Marcel Holtmann
2015-11-24 12:28   ` John Keeping
2015-11-24 12:37     ` Marcel Holtmann
2015-11-24 12:43       ` John Keeping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448366171-14264-1-git-send-email-john@metanate.com \
    --to=john@metanate.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).