2016-09-20 07:10:18

by Loic Poulain

[permalink] [raw]
Subject: [PATCH 1/2] tools: Add identifier for Nokia UART devices

---
tools/btattach.c | 1 +
tools/hciattach.h | 1 +
2 files changed, 2 insertions(+)

diff --git a/tools/btattach.c b/tools/btattach.c
index 30d5d52..44747c4 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -218,6 +218,7 @@ static const struct {
{ "bcm", HCI_UART_BCM },
{ "qca", HCI_UART_QCA },
{ "ag6xx", HCI_UART_AG6XX },
+ { "nokia", HCI_UART_NOKIA },
{ }
};

diff --git a/tools/hciattach.h b/tools/hciattach.h
index 3d25f59..1709253 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -43,6 +43,7 @@
#define HCI_UART_BCM 7
#define HCI_UART_QCA 8
#define HCI_UART_AG6XX 9
+#define HCI_UART_NOKIA 10

#define HCI_UART_RAW_DEVICE 0
#define HCI_UART_RESET_ON_INIT 1
--
1.9.1



2016-09-26 07:16:44

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH 2/2] tools: Add identifier for Marvell UART devices

Hi Loic,

> tools/btattach.c | 1 +
> tools/hciattach.h | 1 +
> 2 files changed, 2 insertions(+)

patch has been applied.

Regards

Marcel


2016-09-26 07:16:23

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH 1/2] tools: Add identifier for Nokia UART devices

Hi Loic,

> ---
> tools/btattach.c | 1 +
> tools/hciattach.h | 1 +
> 2 files changed, 2 insertions(+)

patch has been applied.

Regards

Marcel


2016-09-20 07:10:19

by Loic Poulain

[permalink] [raw]
Subject: [PATCH 2/2] tools: Add identifier for Marvell UART devices

---
tools/btattach.c | 1 +
tools/hciattach.h | 1 +
2 files changed, 2 insertions(+)

diff --git a/tools/btattach.c b/tools/btattach.c
index 44747c4..9d1868a 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 1709253..249aab4 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
--
1.9.1