From: Hector Palacios <hector.palacios@digi.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: "linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>,
"gustavo@padovan.org" <gustavo@padovan.org>,
"johan.hedberg@gmail.com" <johan.hedberg@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
<lrodriguez@atheros.com>, "suraj@atheros.com" <suraj@atheros.com>
Subject: Re: [PATCH] bluetooth: remove wrong dependency for BT_ATH3K
Date: Tue, 30 Jul 2013 09:58:38 +0200 [thread overview]
Message-ID: <51F7722E.9050708@digi.com> (raw)
In-Reply-To: <5438CD3C-E28C-485C-94B8-F743E8B13D4A@holtmann.org>
Hi Marcel,
On 07/29/2013 06:43 PM, Marcel Holtmann wrote:
> Hi Hector,
>
>> The Atheros firmware download driver is not dependent on HCI
>> USB driver. This driver is needed to complement any Atheros
>> driver like BT_HCIUART_ATH3K.
>>
>> Signed-off-by: Hector Palacios <hector.palacios@digi.com>
>> CC: Suraj Sumangala <suraj@atheros.com>
>> CC: Vikram Kandukuri <vikram.kandukuri@atheros.com>
>> ---
>> drivers/bluetooth/Kconfig | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
>> index 11a6104..a1d482b 100644
>> --- a/drivers/bluetooth/Kconfig
>> +++ b/drivers/bluetooth/Kconfig
>> @@ -222,7 +222,6 @@ config BT_MRVL_SDIO
>>
>> config BT_ATH3K
>> tristate "Atheros firmware download driver"
>> - depends on BT_HCIBTUSB
>> select FW_LOADER
>> help
>> Bluetooth firmware download driver.
>>
>
> I am confused now. How can an USB driver work with an UART driver? If you do not want to depend on BT_HCIBTUSB then that is fine, but at least you need to depend on USB.
The thing is I have an Atheros AR6233 chipset which has wireless and Bluetooth.
Bluetooth part in this chip operates as a UART. The driver for this is hci_ath.c but I
also need to download the firmware to the chip, and for this I need to compile
ath3k.c. However I don't need BT_HCIBTUSB.
But you are right, looking at the source code of ath3k.c it is calling usb commands,
so it needs to depend on USB at least.
This brings an interesting question: shouldn't the firmware download part be isolated
from the USB driver? After all, I want to communicate with a UART bluetooth chip.
Best regards,
--
Hector Palacios
next prev parent reply other threads:[~2013-07-30 7:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 16:12 [PATCH] bluetooth: remove wrong dependency for BT_ATH3K Hector Palacios
2013-07-29 16:43 ` Marcel Holtmann
2013-07-30 7:58 ` Hector Palacios [this message]
2013-07-30 20:56 ` Luis R. Rodriguez
[not found] ` <2C94C740-76BA-4058-B0D7-C37D44875CA1@holtmann.org>
2013-07-30 22:48 ` ROM Patching (was: [PATCH] bluetooth: remove wrong dependency for BT_ATH3K) Luis R. Rodriguez
2013-07-30 23:55 ` Greg Kroah-Hartman
2013-07-31 0:27 ` Luis R. Rodriguez
2013-07-31 6:46 ` Johannes Berg
2013-07-31 7:48 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51F7722E.9050708@digi.com \
--to=hector.palacios@digi.com \
--cc=gustavo@padovan.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lrodriguez@atheros.com \
--cc=marcel@holtmann.org \
--cc=suraj@atheros.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.