summaryrefslogtreecommitdiffstats
path: root/tools/hciattach.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-04-16 21:09:01 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-04-16 21:09:01 +0000
commitae2bada6379b2d56825f0d8cc48dbd9a1890a1bd (patch)
tree85faa808e1933d20266a9d1a00f7c3222f2f4834 /tools/hciattach.c
parentb853badf9af0a9ea4acf13559137c0b958e86e05 (diff)
Update STLC2500 init routine
Diffstat (limited to 'tools/hciattach.c')
-rw-r--r--tools/hciattach.c10
1 files changed, 10 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 },