Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72083
b: refs/heads/master
c: 166d2f6
h: refs/heads/master
i:
  72081: 8b6ca83
  72079: b222063
v: v3
  • Loading branch information
Ohad Ben-Cohen authored and David S. Miller committed Oct 22, 2007
1 parent ffbaf32 commit 72dabc5
Show file tree
Hide file tree
Showing 6 changed files with 558 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e24b21ec85afda6f51b6bc403e971ff2aa7eacee
refs/heads/master: 166d2f6a4332aad53cb0750a296f76c06102552d
11 changes: 11 additions & 0 deletions trunk/drivers/bluetooth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ config BT_HCIUART_BCSP

Say Y here to compile support for HCI BCSP protocol.

config BT_HCIUART_LL
bool "HCILL protocol support"
depends on BT_HCIUART
help
HCILL (HCI Low Level) is a serial protocol for communication
between Bluetooth device and host. This protocol is required for
serial Bluetooth devices that are based on Texas Instruments'
BRF chips.

Say Y here to compile support for HCILL protocol.

config BT_HCIBCM203X
tristate "HCI BCM203x USB driver"
depends on USB
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/bluetooth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ obj-$(CONFIG_BT_HCIBTUART) += btuart_cs.o
hci_uart-y := hci_ldisc.o
hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o
hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o
hci_uart-$(CONFIG_BT_HCIUART_LL) += hci_ll.o
hci_uart-objs := $(hci_uart-y)
8 changes: 7 additions & 1 deletion trunk/drivers/bluetooth/hci_ldisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,10 @@ static int __init hci_uart_init(void)
#ifdef CONFIG_BT_HCIUART_BCSP
bcsp_init();
#endif

#ifdef CONFIG_BT_HCIUART_LL
ll_init();
#endif

return 0;
}

Expand All @@ -563,6 +566,9 @@ static void __exit hci_uart_exit(void)
#ifdef CONFIG_BT_HCIUART_BCSP
bcsp_deinit();
#endif
#ifdef CONFIG_BT_HCIUART_LL
ll_deinit();
#endif

/* Release tty registration of line discipline */
if ((err = tty_unregister_ldisc(N_HCI)))
Expand Down
Loading

0 comments on commit 72dabc5

Please sign in to comment.