From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Sangwook Lee <sangwook.lee@linaro.org>
Cc: <mcgrof@frijolero.org>, <linux-kernel@vger.kernel.org>,
<linux-mips@linux-mips.org>, <linux-wireless@vger.kernel.org>,
<ath9k-devel@lists.ath9k.org>, <ralf@linux-mips.org>,
<juhosg@openwrt.org>, <rodrigue@qca.qualcomm.com>,
<linville@tuxdriver.com>, <rmanohar@qca.qualcomm.com>,
<patches@linaro.org>
Subject: Re: [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h
Date: Thu, 17 Nov 2011 21:06:50 +0200 [thread overview]
Message-ID: <4EC55B4A.7050001@qca.qualcomm.com> (raw)
In-Reply-To: <CADPsn1YDOu9Xyu1yDfs5Z0LjGzBL-Rx6Fk35AT8n-8oOPhPzHA@mail.gmail.com>
Hi Sangwook,
On 11/16/2011 01:34 PM, Sangwook Lee wrote:
>
> On 15 November 2011 16:37, Kalle Valo <kvalo@adurom.com
> <mailto:kvalo@adurom.com>> wrote:
>
> Hi Sangwook,
>
> On 11/15/2011 01:23 PM, Sangwook Lee wrote:
> > The patch series proposes to rename ath9k_platform.h to
> "ath_platform.h
> > This header file handles platform data used only for ath9k,
> > but it can used by ath6k as well. We can take "wl12xx.h" as
> > as a example. Please let us change this file name so that
> > other Atheors WLANs use this file for their own platform data
>
> ath9k and ath6kl are very different devices, I'm not sure if sharing a
> platfrom struct between the two is really a good idea. Most likely there
> is very little the two drivers can share. What are your plans here?
>
>
>
> As you know, if ath6kl is not SDIO powered (in most of cases, including
> mine)
> we need to use platform struct in order to control reset/power line,
> because ath6k is designed for mobile and embedded devices.
We have been actually planning to do the same, but it's still on our
todo list. If you can do this it would be awesome.
Also we need to provide some clock configuration from the board file and
I'm sure there will be more in the future. But let's start with the
power control.
> so I found out that there is already header file for ath9k's platform
> struct. How about using the one header file instead of
> "include/linux/ath9k_platform.h"
> , and "include/linux/ath6k_platform.h" ?
>
>
> I myself was thinking that we would have include/linux/ath6kl.h
> dedicated just for ath6kl. That would makes things simpler.
>
> But since I don't know much about ath9k, if you want to make the
> separate header file for ath6kl's own struct, It would be fine as well.
Yeah, I really would like to use separate file for ath6kl.
Kalle
prev parent reply other threads:[~2011-11-17 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-15 11:23 [PATCH] ath9k: rename ath9k_platform.h to ath_platform.h Sangwook Lee
2011-11-15 16:09 ` Luis R. Rodriguez
2011-11-16 21:11 ` Gabor Juhos
2011-11-15 16:37 ` Kalle Valo
[not found] ` <CADPsn1YDOu9Xyu1yDfs5Z0LjGzBL-Rx6Fk35AT8n-8oOPhPzHA@mail.gmail.com>
2011-11-17 19:06 ` Kalle Valo [this message]
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=4EC55B4A.7050001@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath9k-devel@lists.ath9k.org \
--cc=juhosg@openwrt.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@frijolero.org \
--cc=patches@linaro.org \
--cc=ralf@linux-mips.org \
--cc=rmanohar@qca.qualcomm.com \
--cc=rodrigue@qca.qualcomm.com \
--cc=sangwook.lee@linaro.org \
/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;
as well as URLs for NNTP newsgroup(s).