[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1455627148-6881-1-git-send-email-akarwar@marvell.com>
Date: Tue, 16 Feb 2016 04:52:27 -0800
From: Amitkumar Karwar <akarwar@...vell.com>
To: <linux-bluetooth@...r.kernel.org>
CC: Nishant Sarmukadam <nishants@...vell.com>,
<linux-kernel@...r.kernel.org>, Cathy Luo <cluo@...vell.com>,
<marcel@...tmann.org>, Ganapathi Bhat <gbhat@...vell.com>,
Amitkumar Karwar <akarwar@...vell.com>
Subject: [PATCH BlueZ] tools/btattach: add marvell support
From: Ganapathi Bhat <gbhat@...vell.com>
User needs to issue below command for Marvell devices
btattach -P marvell -B /dev/ttyUSB#
Signed-off-by: Ganapathi Bhat <gbhat@...vell.com>
Signed-off-by: Amitkumar Karwar <akarwar@...vell.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
Powered by blists - more mailing lists