Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757623AbcCCMCA (ORCPT ); Thu, 3 Mar 2016 07:02:00 -0500 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:59098 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754996AbcCCMB5 (ORCPT ); Thu, 3 Mar 2016 07:01:57 -0500 From: Amitkumar Karwar To: CC: Cathy Luo , , Nishant Sarmukadam , Ganapathi Bhat Subject: [PATCH BlueZ v4] tools/btattach: add marvell support Date: Thu, 3 Mar 2016 03:56:39 -0800 Message-ID: <1457006200-8132-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-03_07:,, 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-1603030220 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