All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet@sunsite.dk (Peter Korsgaard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 3/9] macb: unify at91 and avr32 platform data
Date: Thu, 17 Mar 2011 09:48:28 +0100	[thread overview]
Message-ID: <871v26m8tf.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <AANLkTi=TiRnc0ceosH-P7fN7wKrLZE0MCJHQ30gM_Q9b@mail.gmail.com> (avictor's message of "Thu, 17 Mar 2011 10:43:09 +0200")

>>>>> "avictor" == avictor za at gmail com <avictor.za@gmail.com> writes:

Hi,

 >> How about at the same time renaming it to something a bit less
 >> generic like macb_platform_data?

 avictor> The AT91RM9200 uses the same platform_data structure, but has a
 avictor> different Ethernet peripheral (ie, not the MACB)

 avictor> The phy_irq_pin is used in the AT91RM9200 ethernet driver.
 avictor> (drivers/net/arm/at91_ether.c)

That should probably be cleaned up as well then. Sharing platform_data
structures between unrelated drivers seems like quite a mess to me.

-- 
Bye, Peter Korsgaard

WARNING: multiple messages have this Message-ID (diff)
From: Peter Korsgaard <jacmet@sunsite.dk>
To: "avictor.za\@gmail.com" <avictor.za@gmail.com>
Cc: Jamie Iles <jamie@jamieiles.com>,
	netdev@vger.kernel.org, plagnioj@jcrosoft.com,
	nicolas.ferre@atmel.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCHv2 3/9] macb: unify at91 and avr32 platform data
Date: Thu, 17 Mar 2011 09:48:28 +0100	[thread overview]
Message-ID: <871v26m8tf.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <AANLkTi=TiRnc0ceosH-P7fN7wKrLZE0MCJHQ30gM_Q9b@mail.gmail.com> (avictor's message of "Thu, 17 Mar 2011 10:43:09 +0200")

>>>>> "avictor" == avictor za@gmail com <avictor.za@gmail.com> writes:

Hi,

 >> How about at the same time renaming it to something a bit less
 >> generic like macb_platform_data?

 avictor> The AT91RM9200 uses the same platform_data structure, but has a
 avictor> different Ethernet peripheral (ie, not the MACB)

 avictor> The phy_irq_pin is used in the AT91RM9200 ethernet driver.
 avictor> (drivers/net/arm/at91_ether.c)

That should probably be cleaned up as well then. Sharing platform_data
structures between unrelated drivers seems like quite a mess to me.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-03-17  8:48 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15 10:14 [PATCHv2 0/9] macb: add support for Cadence GEM Jamie Iles
2011-03-15 10:14 ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 1/9] at91: provide macb clks with "pclk" and "hclk" name Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 12:35   ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-15 12:35     ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-15 12:44     ` Jamie Iles
2011-03-15 12:44       ` Jamie Iles
2011-03-16  6:53   ` avictor.za at gmail.com
2011-03-16  6:53     ` avictor.za
2011-03-16  8:38     ` Russell King - ARM Linux
2011-03-16  8:38       ` Russell King - ARM Linux
2011-03-17  9:22       ` Andrew Victor
2011-03-17  9:22         ` Andrew Victor
2011-03-17 10:00         ` Russell King - ARM Linux
2011-03-17 10:00           ` Russell King - ARM Linux
2011-03-17 10:09           ` Jamie Iles
2011-03-17 10:09             ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 2/9] macb: remove conditional clk handling Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 3/9] macb: unify at91 and avr32 platform data Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 11:14   ` Peter Korsgaard
2011-03-15 11:14     ` Peter Korsgaard
2011-03-15 11:34     ` Jamie Iles
2011-03-15 11:34       ` Jamie Iles
2011-03-15 12:36     ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-15 12:36       ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-17  8:43     ` avictor.za at gmail.com
2011-03-17  8:43       ` avictor.za
2011-03-17  8:48       ` Peter Korsgaard [this message]
2011-03-17  8:48         ` Peter Korsgaard
2011-03-17  8:58         ` Russell King - ARM Linux
2011-03-17  8:58           ` Russell King - ARM Linux
2011-03-17  9:22           ` Peter Korsgaard
2011-03-17  9:22             ` Peter Korsgaard
2011-03-17  9:34             ` Jamie Iles
2011-03-17  9:34               ` Jamie Iles
2011-03-17 21:51               ` Jamie Iles
2011-03-17 21:51                 ` Jamie Iles
2011-03-18 15:41                 ` Russell King - ARM Linux
2011-03-18 15:41                   ` Russell King - ARM Linux
2011-03-18 15:48                   ` Jamie Iles
2011-03-18 15:48                     ` Jamie Iles
2011-03-18 15:54                     ` Russell King - ARM Linux
2011-03-18 15:54                       ` Russell King - ARM Linux
2011-03-19 15:49                       ` Nicolas Ferre
2011-03-19 15:49                         ` Nicolas Ferre
2011-04-23  5:48                       ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-23  5:48                         ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-15 10:14 ` [PATCHv2 4/9] macb: convert printk to netdev_ and friends Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 12:36   ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-15 12:36     ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-15 10:14 ` [PATCHv2 5/9] macb: initial support for Cadence GEM Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 6/9] macb: support higher rate GEM MDIO clock divisors Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 7/9] macb: support statistics for GEM devices Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 8/9] macb: support DMA bus widths > 32 bits Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-15 10:14 ` [PATCHv2 9/9] macb: allow GEM to have configurable receive buffer size Jamie Iles
2011-03-15 10:14   ` Jamie Iles
2011-03-16 20:17 ` [PATCHv2 0/9] macb: add support for Cadence GEM David Miller
2011-03-16 20:17   ` David Miller
2011-03-21  6:38   ` Nicolas Ferre
2011-03-21  6:38     ` Nicolas Ferre
2011-03-21 11:18     ` Jamie Iles
2011-03-21 11:18       ` Jamie Iles
2011-03-22 16:18       ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-22 16:18         ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-22 16:39         ` Jamie Iles
2011-03-22 16:39           ` Jamie Iles
2011-03-22 17:55           ` Jamie Iles
2011-03-22 17:55             ` Jamie Iles
2011-03-24 16:25             ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-24 16:25               ` Jean-Christophe PLAGNIOL-VILLARD
2011-03-31  9:40               ` Jamie Iles
2011-03-31  9:40                 ` Jamie Iles
2011-04-05 10:28                 ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-05 10:28                   ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-05 10:49                   ` Jamie Iles
2011-04-05 10:49                     ` Jamie Iles
2011-04-05 11:21                     ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-05 11:21                       ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-05 11:47                       ` Jamie Iles
2011-04-05 11:47                         ` Jamie Iles
2011-04-05 11:57                         ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-05 11:57                           ` Jean-Christophe PLAGNIOL-VILLARD
2011-04-05 11:12                   ` Peter Korsgaard
2011-04-05 11:12                     ` Peter Korsgaard

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=871v26m8tf.fsf@macbook.be.48ers.dk \
    --to=jacmet@sunsite.dk \
    --cc=linux-arm-kernel@lists.infradead.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 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.