From: Randy Dunlap <randy.dunlap@oracle.com>
To: "Savoy, Pavan" <pavan_savoy@ti.com>
Cc: "gregkh@suse.de" <gregkh@suse.de>,
"alan@lxorguk.ukuu.org.uk" <alan@lxorguk.ukuu.org.uk>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc
Date: Mon, 22 Mar 2010 15:49:12 -0700 [thread overview]
Message-ID: <4BA7F3E8.6000306@oracle.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E7394044DB828A4@dbde02.ent.ti.com>
On 03/22/10 15:37, Savoy, Pavan wrote:
> patch below....
> _______________________________________
> From: Randy Dunlap [randy.dunlap@oracle.com]
> Sent: Tuesday, March 23, 2010 3:15 AM
> To: Savoy, Pavan
> Cc: gregkh@suse.de; alan@lxorguk.ukuu.org.uk; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc
>
> On 03/22/10 14:19, pavan_savoy@ti.com wrote:
>> From: Pavan Savoy <pavan_savoy@ti.com>
>>
>> This change adds the Kconfig and Make file for TI's
>> ST line discipline driver and the BlueZ driver for BT
>> core of the TI BT/FM/GPS combo chip.
>>
>> Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
>> ---
>> drivers/misc/Kconfig | 1 +
>> drivers/misc/Makefile | 1 +
>> drivers/misc/ti-st/Kconfig | 24 ++++++++++++++++++++++++
>> drivers/misc/ti-st/Makefile | 7 +++++++
>> 4 files changed, 33 insertions(+), 0 deletions(-)
>> create mode 100644 drivers/misc/ti-st/Kconfig
>> create mode 100644 drivers/misc/ti-st/Makefile
>>
>> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
>> index 625e3a6..c059bca 100644
>> --- a/drivers/misc/Kconfig
>> +++ b/drivers/misc/Kconfig
>> @@ -344,5 +344,6 @@ source "drivers/misc/c2port/Kconfig"
>> source "drivers/misc/eeprom/Kconfig"
>> source "drivers/misc/cb710/Kconfig"
>> source "drivers/misc/iwmc3200top/Kconfig"
>> +source "drivers/misc/ti-st/Kconfig"
>>
>> endif # MISC_DEVICES
>> diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
>> index c221917..021f282 100644
>> --- a/drivers/misc/Makefile
>> +++ b/drivers/misc/Makefile
>> @@ -30,3 +30,4 @@ obj-$(CONFIG_IWMC3200TOP) += iwmc3200top/
>> obj-$(CONFIG_HWLAT_DETECTOR) += hwlat_detector.o
>> obj-y += eeprom/
>> obj-y += cb710/
>> +obj-y += ti-st/
>> diff --git a/drivers/misc/ti-st/Kconfig b/drivers/misc/ti-st/Kconfig
>> new file mode 100644
>> index 0000000..18eea1c
>> --- /dev/null
>> +++ b/drivers/misc/ti-st/Kconfig
>> @@ -0,0 +1,24 @@
>> +#
>> +# TI's shared transport line discipline and the protocol
>> +# drivers (BT, FM and GPS)
>> +#
>> +menu "Texas Instruments shared transport line discipline"
>> + config TI_ST
>> + tristate "shared transport core driver"
>> + select FW_LOADER
>> + help
>> + This enables the shared transport core driver for TI
>> + BT / FM and GPS combo chips.This enables protocol drivers
>> + to register themselves with core and send data, the responses
>> + are returned to relevant protocol drivers based on their
>> + packet types.
>
> Please indent kconfig help text with one tab + 2 spaces.
>
>> +
>> + config ST_BT
>> + tristate "BlueZ bluetooth driver for ST"
>
> I'd be careful. There are some places in the kernel tree where ST
> means STMicroelectronics.
>
>> + select BT
>
> That select looks unsafe. You don't know that CONFIG_NET is even enabled here,
> do you? Most drivers use "depends on BT" instead of "select BT" from my grepping.
>
>
>
>> + select TI_ST
>> + help
>> + This enables the Bluetooth driver for TI BT/FM/GPS combo devices
>
> End sentence with period.
>
>> + This makes use of shared transport line discipline core driver to
>> + communicate with the BT core of the combo chip.
>> +endmenu
>> diff --git a/drivers/misc/ti-st/Makefile b/drivers/misc/ti-st/Makefile
>> new file mode 100644
>> index 0000000..cff3770
>> --- /dev/null
>> +++ b/drivers/misc/ti-st/Makefile
>> @@ -0,0 +1,7 @@
>> +#
>> +# Makefile for TI's shared transport line discipline
>> +# and it's protocol drivers (BT, FM, GPS)
>
> its
>
>> +#
>> +obj-$(CONFIG_TI_ST) += st_drv.o
>> +st_drv-objs := st_core.o st_kim.o st_ll.o
>> +obj-$(CONFIG_ST_BT) += bt_drv.o
>
>
> --
> ~Randy
>
>
>
> From 91b326a876066f0724f08957ee446f6b6bbed40e Mon Sep 17 00:00:00 2001
> From: Pavan Savoy <pavan_savoy@ti.com>
> Date: Mon, 22 Mar 2010 16:40:19 -0400
> Subject: [PATCH 2/7] drivers:misc: Kconfig, Makefile for TI's ST ldisc
> This change adds the Kconfig and Make file for TI's
> ST line discipline driver and the BlueZ driver for BT
> core of the TI BT/FM/GPS combo chip.
> Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
> ---
> drivers/misc/Kconfig | 1 +
> drivers/misc/Makefile | 1 +
> drivers/misc/ti-st/Kconfig | 24 ++++++++++++++++++++++++
> drivers/misc/ti-st/Makefile | 7 +++++++
> 4 files changed, 33 insertions(+), 0 deletions(-)
> create mode 100644 drivers/misc/ti-st/Kconfig
> create mode 100644 drivers/misc/ti-st/Makefile
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index 625e3a6..c059bca 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -344,5 +344,6 @@ source "drivers/misc/c2port/Kconfig"
> source "drivers/misc/eeprom/Kconfig"
> source "drivers/misc/cb710/Kconfig"
> source "drivers/misc/iwmc3200top/Kconfig"
> +source "drivers/misc/ti-st/Kconfig"
>
> endif # MISC_DEVICES
> diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
> index c221917..021f282 100644
> --- a/drivers/misc/Makefile
> +++ b/drivers/misc/Makefile
> @@ -30,3 +30,4 @@ obj-$(CONFIG_IWMC3200TOP) += iwmc3200top/
> obj-$(CONFIG_HWLAT_DETECTOR) += hwlat_detector.o
> obj-y += eeprom/
> obj-y += cb710/
> +obj-y += ti-st/
> diff --git a/drivers/misc/ti-st/Kconfig b/drivers/misc/ti-st/Kconfig
> new file mode 100644
> index 0000000..fe5b0e8
> --- /dev/null
> +++ b/drivers/misc/ti-st/Kconfig
> @@ -0,0 +1,24 @@
> +#
> +# TI's shared transport line discipline and the protocol
> +# drivers (BT, FM and GPS)
> +#
> +menu "Texas Instruments shared transport line discipline"
> + config TI_ST
> + tristate "shared transport core driver"
> + select FW_LOADER
> + help
> + This enables the shared transport core driver for TI
> + BT / FM and GPS combo chips.This enables protocol drivers
> + to register themselves with core and send data, the responses
> + are returned to relevant protocol drivers based on their
> + packet types.
> +
> + config ST_BT
> + tristate "BlueZ bluetooth driver for ST"
> + depends on BT
OK.
> + select TI_ST
> + help
> + This enables the Bluetooth driver for TI BT/FM/GPS combo devices
> + This makes use of shared transport line discipline core driver to
> + communicate with the BT core of the combo chip.
There are no tabs above. They appear to have been eaten (assuming that
they were there at some point).
> +endmenu
> diff --git a/drivers/misc/ti-st/Makefile b/drivers/misc/ti-st/Makefile
> new file mode 100644
> index 0000000..cff3770
> --- /dev/null
> +++ b/drivers/misc/ti-st/Makefile
> @@ -0,0 +1,7 @@
> +#
> +# Makefile for TI's shared transport line discipline
> +# and it's protocol drivers (BT, FM, GPS)
^^^^
should be "its"
> +#
> +obj-$(CONFIG_TI_ST) += st_drv.o
> +st_drv-objs := st_core.o st_kim.o st_ll.o
> +obj-$(CONFIG_ST_BT) += bt_drv.o
> PS:
> If you still see problems with identation - blame my email editor (outlook express)
I guess that you'll need to do something about that.
--
~Randy
next prev parent reply other threads:[~2010-03-22 22:50 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-22 21:19 [re-worked] New ldisc for WiLink7.0 pavan_savoy
2010-03-22 21:19 ` [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips pavan_savoy
2010-03-22 21:19 ` [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc pavan_savoy
2010-03-22 21:19 ` [PATCH 3/6] drivers:misc: sources for ST core pavan_savoy
2010-03-22 21:19 ` [PATCH 4/6] drivers:misc: sources for Init manager module pavan_savoy
2010-03-22 21:19 ` [PATCH 5/6] drivers:misc: sources for HCI LL PM protocol pavan_savoy
2010-03-22 21:19 ` [PATCH 6/6] drivers:misc: sources for ST header file pavan_savoy
2010-03-22 21:36 ` [PATCH 4/6] drivers:misc: sources for Init manager module Greg KH
2010-03-22 22:03 ` Savoy, Pavan
2010-03-24 2:23 ` Greg KH
2010-03-24 8:04 ` Marcel Holtmann
2010-03-24 14:54 ` Pavan Savoy
2010-03-24 15:52 ` Greg KH
2010-03-24 16:11 ` Marcel Holtmann
2010-03-24 16:22 ` Pavan Savoy
2010-03-24 16:38 ` Marcel Holtmann
2010-03-24 16:39 ` Randy Dunlap
2010-03-24 16:54 ` Pavan Savoy
2010-03-24 17:03 ` Alan Cox
2010-03-24 17:09 ` Pavan Savoy
2010-03-24 17:26 ` Alan Cox
2010-03-24 17:32 ` Pavan Savoy
2010-03-24 17:39 ` Alan Cox
2010-03-24 18:46 ` Pavan Savoy
2010-03-24 20:54 ` Marcel Holtmann
2010-03-24 21:03 ` Pavan Savoy
2010-03-24 17:15 ` Marcel Holtmann
2010-03-24 17:42 ` Pavan Savoy
2010-03-24 20:59 ` Marcel Holtmann
2010-03-24 16:58 ` Alan Cox
2010-03-24 16:56 ` Pavan Savoy
2010-03-24 16:26 ` Greg KH
2010-03-24 16:35 ` Pavan Savoy
2010-03-24 16:52 ` Greg KH
2010-03-24 17:05 ` Pavan Savoy
2010-03-24 17:20 ` Alan Cox
2010-03-22 21:34 ` [PATCH 3/6] drivers:misc: sources for ST core Greg KH
2010-03-23 15:24 ` Alan Cox
2010-03-22 21:34 ` [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc Greg KH
2010-03-22 21:35 ` Greg KH
2010-03-23 0:07 ` Tilman Schmidt
2010-03-23 15:18 ` Alan Cox
2010-03-24 2:19 ` Greg KH
2010-03-22 21:45 ` Randy Dunlap
2010-03-22 22:37 ` Savoy, Pavan
2010-03-22 22:49 ` Randy Dunlap [this message]
2010-03-23 15:20 ` [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2010-03-22 23:45 [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc Pavan Savoy
2010-03-23 0:09 ` Randy Dunlap
2010-03-23 15:10 Pavan Savoy
2010-03-23 15:23 ` Randy Dunlap
2010-03-23 15:55 Pavan Savoy
2010-03-23 16:04 ` Randy Dunlap
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=4BA7F3E8.6000306@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavan_savoy@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox