summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/hciattach.c10
-rw-r--r--tools/hciattach_st.c5
2 files changed, 15 insertions, 0 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index cfccb9ab..885f202d 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -821,6 +821,13 @@ static int st(int fd, struct uart_t *u, struct termios *ti)
return 0;
}
+extern stlc2500_init(int fd);
+
+static int stlc2500(int fd, struct uart_t *u, struct termios *ti)
+{
+ return stlc2500_init(fd);
+}
+
/*
* Broadcom specific initialization
* Extracted from Jungo openrg
@@ -962,6 +969,9 @@ struct uart_t uart[] = {
/* ST Microelectronics minikits based on STLC2410/STLC2415 */
{ "st", 0x0000, 0x0000, HCI_UART_H4, 57600, 115200, FLOW_CTL, st },
+ /* ST Microelectronics minikits based on STLC2500 */
+ { "stlc2500", 0x0000, 0x0000, HCI_UART_H4, 115200, 115200, FLOW_CTL, stlc2500 },
+
/* Sphinx Electronics PICO Card */
{ "picocard", 0x025e, 0x1000, HCI_UART_H4, 115200, 115200, FLOW_CTL, NULL },
diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c
index db73cfb5..744ae838 100644
--- a/tools/hciattach_st.c
+++ b/tools/hciattach_st.c
@@ -27,3 +27,8 @@
#include <stdio.h>
#include <errno.h>
+
+int stlc2500_init(int fd)
+{
+ return 0;
+}