Skip to contentSkip to conversation

DFU Driver for Atheros bluetooth chipset AR3011

PATCH In review Kandukuri Vikram 2 participants 2 messages Jan 6, 2010 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DFU Driver for Atheros bluetooth chipset AR3011

---
 drivers/bluetooth/Kconfig  |   13 +++-
 drivers/bluetooth/Makefile |    1 +
 drivers/bluetooth/ath3k.c  |  187 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 200 insertions(+), 1 deletions(-)
 create mode 100644 drivers/bluetooth/ath3k.c
drivers/bluetooth/Kconfig +12 -1
index 652367a..c8a7cdf 100644
@@ -195,5 +195,16 @@ config BT_MRVL_SDIO
 	  Say Y here to compile support for Marvell BT-over-SDIO driver
 	  into the kernel or say M to compile it as module.
 
-endmenu
+config BT_ATH3K
+	tristate "Atheros firmware download driver"
+	depends on BT_HCIBTUSB
+	select FW_LOADER
+	help
+	  Bluetooth firmware download driver.
+	  This driver loads the firmware into the Atheros bluetooth
+          chipset.
 
+	  Say Y here to compile support for "Atheros AR30XX firmware download driver"
+          into the  kernel or say M to compile it as module (ath3k).
+
+endmenu
drivers/bluetooth/Makefile +1 -0
index b3f57d2..6fcdeb7 100644
@@ -15,6 +15,7 @@ obj-$(CONFIG_BT_HCIBTUART)	+= btuart_cs.o
 obj-$(CONFIG_BT_HCIBTUSB)	+= btusb.o
 obj-$(CONFIG_BT_HCIBTSDIO)	+= btsdio.o
 
+obj-$(CONFIG_BT_ATH3K)	        += ath3k.o
 obj-$(CONFIG_BT_MRVL)		+= btmrvl.o
 obj-$(CONFIG_BT_MRVL_SDIO)	+= btmrvl_sdio.o
 
drivers/bluetooth/ath3k.c new file +187 -0

187 lines not on this page · raw message

Signature · 1 line
1.6.0.4
maintainer
#1 lore raw

Hi Vikram,

Quoted 9 lines
---
 drivers/bluetooth/Kconfig  |   13 +++-
 drivers/bluetooth/Makefile |    1 +
 drivers/bluetooth/ath3k.c  |  187 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 200 insertions(+), 1 deletions(-)
 create mode 100644 drivers/bluetooth/ath3k.c

patch has been applied to my trees.

However I still had to hand edit in various small ares. For example BT_DBG doesn't require the \n newline. So you have never actually tested the debug code. Otherwise you would have seen that something is off. Also there were still a bunch of spaces in the code that I had to fix manually.

Also I prefer if you a bit more consistent writing "Bluetooth" exactly this way in comment and descriptions. It is brand name and the writing is suppose to be consistent.

Regards

Marcel