Skip to contentSkip to conversation

Bluetooth: Add BT USB mini driver template

RFC In review Tedd Ho-Jeong An 2 participants 2 messages Sep 22, 2012 – Oct 4, 2012 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 4afae20..b4daa01 100644
@@ -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
index afa1558..864eb77 100644
@@ -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
maintainer
#1 lore raw

Hi Tedd,

Quoted 9 lines

This patch adds BT USB mini driver template.

---
 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