summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-06-21 16:49:26 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-06-21 16:49:26 +0000
commit4cf1f07d58e85915f12099d9eb5560e7acbf4deb (patch)
tree37a49c59d5706b6e2ecf33f18705d0dce5076b19
parent1d2e71b109d907473939864caa5afec86000d58a (diff)
Don't use hci_uart.h anymore
-rw-r--r--tools/hciattach.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 33ecdf03..b7f6dab6 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -49,7 +49,18 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
-#include <bluetooth/hci_uart.h>
+
+#ifndef N_HCI
+#define N_HCI 15
+#endif
+
+#define HCIUARTSETPROTO _IOW('U', 200, int)
+#define HCIUARTGETPROTO _IOR('U', 201, int)
+
+#define HCI_UART_H4 0
+#define HCI_UART_BCSP 1
+#define HCI_UART_3WIRE 2
+#define HCI_UART_H4DS 3
struct uart_t {
char *type;