Bluetooth: Add BT USB mini driver template
RFC 2/2 Bluetooth: Add BT USB mini driver template
From: Tedd Ho-Jeong An <[email protected]>
This patch adds BT USB mini driver template.
Signed-off-by Tedd Ho-Jeong An <[email protected]>
--- drivers/bluetooth/Makefile | 1 + drivers/bluetooth/btusb.c | 3 ++ drivers/bluetooth/btusb_template.c | 78 ++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 drivers/bluetooth/btusb_template.c
drivers/bluetooth/Makefile +1 -0
@@ -13,6 +13,7 @@ obj-$(CONFIG_BT_HCIBLUECARD) += bluecard_cs.o obj-$(CONFIG_BT_HCIBTUART) += btuart_cs.o obj-$(CONFIG_BT_HCIBTUSB) += btusb.o +obj-$(CONFIG_BT_HCIBTUSB) += btusb_template.o obj-$(CONFIG_BT_HCIBTSDIO) += btsdio.o obj-$(CONFIG_BT_ATH3K) += ath3k.o
drivers/bluetooth/btusb.c +3 -0
@@ -235,6 +235,9 @@ static struct usb_device_id blacklist_table[] = {/* Frontline ComProbe Bluetooth Sniffer */ { USB_DEVICE(0x16d3, 0x0002), .driver_info = (unsigned long) &sniffer }, + /* BT USB mini driver template */ + { USB_DEVICE(0x1234, 0x5678), .driver_info = (unsigned long) &ignore }, + { }/* Terminating entry */ };
drivers/bluetooth/btusb_template.c new file +78 -0
78 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Marcel Holtmann
maintainerHi Tedd,
Quoted 9 lines
This patch adds BT USB mini driver template.
Signed-off-by Tedd Ho-Jeong An <[email protected]>--- drivers/bluetooth/Makefile | 1 + drivers/bluetooth/btusb.c | 3 ++ drivers/bluetooth/btusb_template.c | 78 ++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 drivers/bluetooth/btusb_template.c
we would have samples/ for this.
Regards
Marcel