Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: drivers/bluetooth/hci_uart.h

Issue 2649001: Atheros patch to support ath3k BT device. (Closed) Base URL: ssh://git@chromiumos-git/kernel.git
Patch Set: Modified to address review comments. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « drivers/bluetooth/hci_ldisc.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * 2 *
3 * Bluetooth HCI UART driver 3 * Bluetooth HCI UART driver
4 * 4 *
5 * Copyright (C) 2000-2001 Qualcomm Incorporated 5 * Copyright (C) 2000-2001 Qualcomm Incorporated
6 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> 6 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
7 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org> 7 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>
8 * 8 *
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 10 * This program is free software; you can redistribute it and/or modify
(...skipping 15 matching lines...) Expand all
26 #ifndef N_HCI 26 #ifndef N_HCI
27 #define N_HCI 15 27 #define N_HCI 15
28 #endif 28 #endif
29 29
30 /* Ioctls */ 30 /* Ioctls */
31 #define HCIUARTSETPROTO _IOW('U', 200, int) 31 #define HCIUARTSETPROTO _IOW('U', 200, int)
32 #define HCIUARTGETPROTO _IOR('U', 201, int) 32 #define HCIUARTGETPROTO _IOR('U', 201, int)
33 #define HCIUARTGETDEVICE _IOR('U', 202, int) 33 #define HCIUARTGETDEVICE _IOR('U', 202, int)
34 34
35 /* UART protocols */ 35 /* UART protocols */
36 #define HCI_UART_MAX_PROTO» 5 36 #define HCI_UART_MAX_PROTO» 6
37 37
38 #define HCI_UART_H4 0 38 #define HCI_UART_H4 0
39 #define HCI_UART_BCSP 1 39 #define HCI_UART_BCSP 1
40 #define HCI_UART_3WIRE 2 40 #define HCI_UART_3WIRE 2
41 #define HCI_UART_H4DS 3 41 #define HCI_UART_H4DS 3
42 #define HCI_UART_LL 4 42 #define HCI_UART_LL 4
43 #define HCI_UART_ATH 5
43 44
44 struct hci_uart; 45 struct hci_uart;
45 46
46 struct hci_uart_proto { 47 struct hci_uart_proto {
47 unsigned int id; 48 unsigned int id;
48 int (*open)(struct hci_uart *hu); 49 int (*open)(struct hci_uart *hu);
49 int (*close)(struct hci_uart *hu); 50 int (*close)(struct hci_uart *hu);
50 int (*flush)(struct hci_uart *hu); 51 int (*flush)(struct hci_uart *hu);
51 int (*recv)(struct hci_uart *hu, void *data, int len); 52 int (*recv)(struct hci_uart *hu, void *data, int len);
52 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb); 53 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 85
85 #ifdef CONFIG_BT_HCIUART_BCSP 86 #ifdef CONFIG_BT_HCIUART_BCSP
86 int bcsp_init(void); 87 int bcsp_init(void);
87 int bcsp_deinit(void); 88 int bcsp_deinit(void);
88 #endif 89 #endif
89 90
90 #ifdef CONFIG_BT_HCIUART_LL 91 #ifdef CONFIG_BT_HCIUART_LL
91 int ll_init(void); 92 int ll_init(void);
92 int ll_deinit(void); 93 int ll_deinit(void);
93 #endif 94 #endif
95
96 #ifdef CONFIG_BT_HCIUART_ATH
97 int ath_init(void);
98 int ath_deinit(void);
99 #endif
OLDNEW
« no previous file with comments | « drivers/bluetooth/hci_ldisc.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698