Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754301AbcCQO0k (ORCPT ); Thu, 17 Mar 2016 10:26:40 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:35851 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751356AbcCQO0i (ORCPT ); Thu, 17 Mar 2016 10:26:38 -0400 From: Amitkumar Karwar To: CC: Cathy Luo , , Nishant Sarmukadam , Ganapathi Bhat Subject: [PATCH BlueZ v5] tools/btattach: add marvell support Date: Thu, 17 Mar 2016 07:21:32 -0700 Message-ID: <1458224493-19096-1-git-send-email-akarwar@marvell.com> 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-03-17_04:,, 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-1603170188 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 36 From: Ganapathi Bhat User needs to issue below command for Marvell devices btattach -P marvell -B /dev/ttyUSB# --- 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..e109c3e 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 10 #define HCI_UART_RAW_DEVICE 0 #define HCI_UART_RESET_ON_INIT 1 -- 1.9.1