summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@intel.com>2016-09-20 09:10:19 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-09-26 09:15:30 +0200
commitbd7a6808a44167be8c7019152af40fc9031be1d5 (patch)
tree8682b9f521095badcea568c337f5cf079981bf14
parent087403e6b6c703959b7dc70590707aa1a84ba58a (diff)
downloadbluez-bd7a6808a44167be8c7019152af40fc9031be1d5.tar.gz
tools: Add identifier for Marvell UART devices
-rw-r--r--tools/btattach.c1
-rw-r--r--tools/hciattach.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/btattach.c b/tools/btattach.c
index 44747c4cc..9d1868a04 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -219,6 +219,7 @@ static const struct {
{ "qca", HCI_UART_QCA },
{ "ag6xx", HCI_UART_AG6XX },
{ "nokia", HCI_UART_NOKIA },
+ { "mrvl", HCI_UART_MRVL },
{ }
};
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 1709253f9..249aab49e 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -44,6 +44,7 @@
#define HCI_UART_QCA 8
#define HCI_UART_AG6XX 9
#define HCI_UART_NOKIA 10
+#define HCI_UART_MRVL 11
#define HCI_UART_RAW_DEVICE 0
#define HCI_UART_RESET_ON_INIT 1