From: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
To: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Date: Thu, 07 Jan 2010 09:34:50 -0500 [thread overview]
Message-ID: <4B45F10A.3050508@octasic.com> (raw)
In-Reply-To: <4B45EDB8.3070601@st.com>
Giuseppe CAVALLARO wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jean-Hugues Deschenes wrote:
>
>> Hi Giuseppe,
>>
>> Giuseppe CAVALLARO wrote:
>>
>>> Another question. Indeed, for stm architectures, within each setup file,
>>> we don't include the linux/stmmac.h (I was wrong before!) but include
>>> linux/stm/platform.h. This own header includes the "linux/stmmac.h".
>>> So using stmmac_plat.h, I should add: #include
>>> "../../../drivers/net/stmmac/stmmac_plat.h" within the
>>> include/linux/stm/platform.h file. Is it ok? What do you think?
>>>
>>>
>> I believe that would work out well.
>>
>> ... Although I wonder if the whole stm subdirectory should be in
>> include/linux, rather than in arch/sh...
>>
> Sorry, I was not not clear before. the stm subdirectory is in
> include/linux.
>
You were quite clear; sorry, my mistake; I should have written "...
Although I wonder if the whole stm subdirectory should be in arch/sh,
rather than in
include/linux..."
> In fact, my previous question was if it's good to include
> ../../../drivers/net/stmmac/stmmac_plat.h within the
> include/linux/stm/platform.h file.
>
I don't see a problem with that, although we'd be the first doing it...
probably as long as the include
../../../drivers/net/stmmac/stmmac_plat.h is surrounded by the
appropriate #ifdef CONFIG_STMMAC_ETH?
> But that's another story... It
>
>> is there because you maintain both sh and arm-base SOCs right?
>>
> Yes you are right!
>
... so ideally, you'need some kind of arch/common, arch/shared or
include/linux/platform directory of some kind... Too bad such a thing
doesn't exist...
Regards,
jh
next prev parent reply other threads:[~2010-01-07 14:34 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 9:07 [PATCH 01/13] stmmac: use MII_BUS_ID_SIZE instead of BUS_ID_SIZE Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 02/13] stmmac: convert unicast addr list to list_head Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 03/13] stmmac: add the new Header file for stmmac platform data Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 04/13] stmmac: rewiew " Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 05/13] stmmac: perform hw bus configuration Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 06/13] stmmac: do not call fix_mac_speed if NULL Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 07/13] stmmac: reorganise class operations Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 08/13] stmmac: move the dma out from the main Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 09/13] stmmac: rename mac100 as dwmac100 and fix spare coding style Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 10/13] stmmac: rename the gmac as dwmac1000 and split core and dma parts Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 11/13] stmmac: include netdevice.h into the common.h header Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 12/13] stmmac: improve Kconfig help Giuseppe CAVALLARO
2010-01-07 9:07 ` [PATCH 13/13] stmmac: update the driver's module version Giuseppe CAVALLARO
2010-01-07 13:13 ` [PATCH 03/13] stmmac: add the new Header file for stmmac platform data Jean-Hugues Deschenes
2010-01-07 13:29 ` Giuseppe CAVALLARO
2010-01-07 13:46 ` Jean-Hugues Deschenes
2010-01-07 14:01 ` Giuseppe CAVALLARO
2010-01-07 14:14 ` Jean-Hugues Deschenes
2010-01-07 14:20 ` Giuseppe CAVALLARO
2010-01-07 14:34 ` Jean-Hugues Deschenes [this message]
2010-01-07 15:03 ` Giuseppe CAVALLARO
2010-01-07 15:06 ` Jean-Hugues Deschenes
2010-01-08 1:12 ` David Miller
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=4B45F10A.3050508@octasic.com \
--to=jean-hugues.deschenes@octasic.com \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.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.