From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org,
Patrice Vilchez <patrice.vilchez@atmel.com>,
Nicolas Ferre <nicolas.ferre@atmel.com>
Subject: Re: [PATCH 7/7] dm9200: use "struct resource" instead of platform_data
Date: Sun, 17 Jul 2011 17:28:27 +0200 [thread overview]
Message-ID: <20110717152827.GP6069@pengutronix.de> (raw)
In-Reply-To: <1310813132-4151-7-git-send-email-plagnioj@jcrosoft.com>
On Sat, Jul 16, 2011 at 12:45:32PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> drop iobase and iodata in favor of resources
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
> ---
> arch/arm/boards/at91sam9261ek/init.c | 8 +++++---
> arch/arm/boards/mini2440/env/welcome_en.bmp.lzo | Bin 0 -> 26285 bytes
> arch/arm/boards/mini2440/mini2440.c | 17 +++++++++++++----
> arch/arm/boards/pm9261/init.c | 8 +++++---
> arch/arm/boards/scb9328/scb9328.c | 23 ++++++++++++++++-------
> drivers/net/dm9000.c | 10 ++++++++--
> include/dm9000.h | 2 --
> 7 files changed, 47 insertions(+), 21 deletions(-)
> create mode 100644 arch/arm/boards/mini2440/env/welcome_en.bmp.lzo
>
> diff --git a/arch/arm/boards/at91sam9261ek/init.c b/arch/arm/boards/at91sam9261ek/init.c
> index 3def38e..4e52ab8 100644
> --- a/arch/arm/boards/at91sam9261ek/init.c
> +++ b/arch/arm/boards/at91sam9261ek/init.c
> @@ -89,8 +89,6 @@ static void ek_add_device_nand(void)
> */
> #if defined(CONFIG_DRIVER_NET_DM9000)
> static struct dm9000_platform_data dm9000_data = {
> - .iobase = AT91_CHIPSELECT_2,
> - .iodata = AT91_CHIPSELECT_2 + 4,
> .buswidth = DM9000_WIDTH_16,
> .srom = 0,
> };
> @@ -98,7 +96,11 @@ static struct dm9000_platform_data dm9000_data = {
> static struct resource dm9000_resources[] = {
> [0] = {
> .start = AT91_CHIPSELECT_2,
> - .size = 8,
> + .size = 4,
> + },
> + [1] = {
> + .start = AT91_CHIPSELECT_2 + 4,
> + .size = 4,
> },
> };
>
> diff --git a/arch/arm/boards/mini2440/env/welcome_en.bmp.lzo b/arch/arm/boards/mini2440/env/welcome_en.bmp.lzo
Ups ;)
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-07-17 15:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-16 10:45 [PATCH 1/7] device: introduce resource structure to simplify resource declaration Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 10:45 ` [PATCH 2/7] at91: switch to all resource declaration to "struct resource" Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 10:45 ` [PATCH 3/7] at91/serial: switch " Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 10:45 ` [PATCH 4/7] macb: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 10:45 ` [PATCH 5/7] atmel_mci: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 10:45 ` [PATCH 6/7] atmel_nand: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 10:45 ` [PATCH 7/7] dm9200: use "struct resource" instead of platform_data Jean-Christophe PLAGNIOL-VILLARD
2011-07-17 15:28 ` Sascha Hauer [this message]
2011-07-18 4:36 ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-17 15:37 ` [PATCH 1/7] device: introduce resource structure to simplify resource declaration Sascha Hauer
2011-07-18 4:43 ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-18 6:26 ` Sascha Hauer
2011-07-19 13:40 ` Antony Pavlov
2011-07-19 15:45 ` Jean-Christophe PLAGNIOL-VILLARD
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=20110717152827.GP6069@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=patrice.vilchez@atmel.com \
--cc=plagnioj@jcrosoft.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