Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335349 > unrolled thread

[PATCH BlueZ] tools/btattach: add marvell support

Started byAmitkumar Karwar <akarwar@marvell.com>
First post2016-02-16 14:00 +0100
Last post2016-02-16 14:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH BlueZ] tools/btattach: add marvell support Amitkumar Karwar <akarwar@marvell.com> - 2016-02-16 14:00 +0100

#1335349 — [PATCH BlueZ] tools/btattach: add marvell support

FromAmitkumar Karwar <akarwar@marvell.com>
Date2016-02-16 14:00 +0100
Subject[PATCH BlueZ] tools/btattach: add marvell support
Message-ID<r2Nou-7Xf-43@gated-at.bofh.it>
From: Ganapathi Bhat <gbhat@marvell.com>

User needs to issue below command for Marvell devices
btattach -P marvell -B /dev/ttyUSB#

Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
---
 tools/btattach.c  | 1 +
 tools/hciattach.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/btattach.c b/tools/btattach.c
index a025bb0..7807e9f 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -214,6 +214,7 @@ static const struct {
 	{ "intel", HCI_UART_INTEL },
 	{ "bcm",   HCI_UART_BCM   },
 	{ "qca",   HCI_UART_QCA   },
+	{ "marvell", HCI_UART_MRVL   },
 	{ }
 };
 
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 4279a33..816a0f1 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -42,6 +42,7 @@
 #define HCI_UART_INTEL	6
 #define HCI_UART_BCM	7
 #define HCI_UART_QCA	8
+#define HCI_UART_MRVL	9
 
 #define HCI_UART_RAW_DEVICE	0
 #define HCI_UART_RESET_ON_INIT	1
-- 
1.8.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web