From ae2bada6379b2d56825f0d8cc48dbd9a1890a1bd Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 16 Apr 2006 21:09:01 +0000 Subject: Update STLC2500 init routine --- tools/hciattach.c | 10 ++++++++++ tools/hciattach_st.c | 5 +++++ 2 files changed, 15 insertions(+) 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 #include + +int stlc2500_init(int fd) +{ + return 0; +} -- cgit