diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2005-01-11 18:46:46 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2005-01-11 18:46:46 +0000 | 
| commit | f0e34fdbb90a899cca2ae6b1d75549d2050f9855 (patch) | |
| tree | dadc1cb428b55a37c5169ee1ba975fe681df83b6 | |
| parent | 7477c4f629682f6d1815a8e79250615533bad9ca (diff) | |
Add Sitecom CN-504 Bluetooth PCMCIA card
| -rw-r--r-- | pcmcia/bluetooth.conf | 4 | ||||
| -rw-r--r-- | tools/hciattach.c | 17 | 
2 files changed, 12 insertions, 9 deletions
| diff --git a/pcmcia/bluetooth.conf b/pcmcia/bluetooth.conf index 6a93d6ff..9f3edc61 100644 --- a/pcmcia/bluetooth.conf +++ b/pcmcia/bluetooth.conf @@ -58,6 +58,10 @@ card "Zoom Bluetooth Card"    version "PCMCIA", "Bluetooth Card"    bind "serial_cs" class "bluetooth" +card "Sitecom CN-504 Card" +  version "PCMCIA", "Bluetooth Card" +  bind "serial_cs" class "bluetooth" +  card "Nokia Bluetooth Card"    version "Nokia Mobile Phones", "DTL-1" diff --git a/tools/hciattach.c b/tools/hciattach.c index ac94c41e..e730ab7d 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -4,7 +4,7 @@   *   *  Copyright (C) 2000-2001  Qualcomm Incorporated   *  Copyright (C) 2002-2003  Maxim Krasnyansky <maxk@qualcomm.com> - *  Copyright (C) 2002-2004  Marcel Holtmann <marcel@holtmann.org> + *  Copyright (C) 2002-2005  Marcel Holtmann <marcel@holtmann.org>   *   *   *  This program is free software; you can redistribute it and/or modify @@ -33,21 +33,18 @@  #endif  #include <stdio.h> -#include <stdlib.h> +#include <errno.h> +#include <fcntl.h>  #include <unistd.h> +#include <stdlib.h>  #include <string.h>  #include <signal.h> -#include <fcntl.h>  #include <syslog.h> -#include <errno.h> -#include <time.h>  #include <termios.h> -#include <fcntl.h> - +#include <time.h> +#include <sys/time.h>  #include <sys/ioctl.h>  #include <sys/socket.h> -#include <sys/time.h> -#include <sys/types.h>  #include <bluetooth/bluetooth.h>  #include <bluetooth/hci.h> @@ -845,6 +842,8 @@ struct uart_t uart[] = {  	/* Zoom Bluetooth PCMCIA Card */  	{ "zoom",     0x0279, 0x950b, HCI_UART_BCSP, 115200, 115200, 0,        bcsp  }, +	/* Sitecom CN-504 PCMCIA Card */ +	{ "sitecom",  0x0279, 0x950b, HCI_UART_BCSP, 115200, 115200, 0,        bcsp  },  	{ NULL, 0 }  }; | 
