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


Groups > linux.kernel > #1335349

[PATCH BlueZ] tools/btattach: add marvell support

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Amitkumar Karwar <akarwar@marvell.com>
Newsgroups linux.kernel
Subject [PATCH BlueZ] tools/btattach: add marvell support
Date Tue, 16 Feb 2016 14:00:03 +0100
Message-ID <r2Nou-7Xf-43@gated-at.bofh.it> (permalink)
X-Mailer git-send-email 1.7.3.4
MIME-Version 1.0
Content-Type text/plain
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2016-02-16_06:,, signatures=0
X-Proofpoint-Details rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1602160215
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
X-Original-Cc Nishant Sarmukadam <nishants@marvell.com>, <linux-kernel@vger.kernel.org>, Cathy Luo <cluo@marvell.com>, <marcel@holtmann.org>, Ganapathi Bhat <gbhat@marvell.com>, Amitkumar Karwar <akarwar@marvell.com>
X-Original-Date Tue, 16 Feb 2016 04:52:27 -0800
X-Original-Message-ID <1455627148-6881-1-git-send-email-akarwar@marvell.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1335349

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web