netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] au1000_eth platform device/driver conversion
@ 2009-07-28 21:00 Florian Fainelli
  2009-07-30 19:34 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Fainelli @ 2009-07-28 21:00 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Manuel Lauss, David Miller, linux-mips, netdev

Hi Ralf, David, Manuel,

The following patches convert the AMD Alchemy au1000_eth driver
to become a platform device/driver. The patches are splitted that way:

PATCH 1: set up the infrastructure in the board code to register au1000_eth as
as platform device.
PATCH 2: convert au1000_eth to become a real platform driver
PATCH 3: add infrastructure to pass PHY informations to the au1000_eth driver
PATCH 4: use those platform_data PHY informations in the au1000_eth driver

The result is a driver which is equally functionnal with no platform-related ifdefs
aiming towards easier integration of the upcoming Alchemy 1300 SoC. The conversion
was made in two times to ease code review as the driver was a real ifdef mess prior
to these changes.

David, on top of this series I send driver cleanups.

Thanks !
-- 
Best regards, Florian Fainelli
Email: florian@openwrt.org
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
-------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] au1000_eth platform device/driver conversion
  2009-07-28 21:00 [PATCH 0/4] au1000_eth platform device/driver conversion Florian Fainelli
@ 2009-07-30 19:34 ` David Miller
  2009-07-30 19:48   ` Sergei Shtylyov
  0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2009-07-30 19:34 UTC (permalink / raw)
  To: florian; +Cc: ralf, manuel.lauss, linux-mips, netdev

From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 28 Jul 2009 23:00:04 +0200

> Hi Ralf, David, Manuel,
> 
> The following patches convert the AMD Alchemy au1000_eth driver
> to become a platform device/driver. The patches are splitted that way:

I was only able to see patch #2 and #4 in this series and
checking the netdev patch postings that made it to:

	http://patchwork.ozlabs.org/project/netdev/list/

confirms that patches #1 and #3 didn't make it to the list
either.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] au1000_eth platform device/driver conversion
  2009-07-30 19:34 ` David Miller
@ 2009-07-30 19:48   ` Sergei Shtylyov
  2009-07-30 20:10     ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Sergei Shtylyov @ 2009-07-30 19:48 UTC (permalink / raw)
  To: David Miller; +Cc: florian, ralf, manuel.lauss, linux-mips, netdev

Hello.

David Miller wrote:

> From: Florian Fainelli <florian@openwrt.org>
> Date: Tue, 28 Jul 2009 23:00:04 +0200
>   
>> Hi Ralf, David, Manuel,
>>
>> The following patches convert the AMD Alchemy au1000_eth driver
>> to become a platform device/driver. The patches are splitted that way:
>>     
>
> I was only able to see patch #2 and #4 in this series and
> checking the netdev patch postings that made it to:
>
> 	http://patchwork.ozlabs.org/project/netdev/list/
>
> confirms that patches #1 and #3 didn't make it to the list
> either.

   Because they were only posted to linux-mips. And we didn't see #2 and 
#4 in linux-mips either.

WBR, Sergei



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] au1000_eth platform device/driver conversion
  2009-07-30 19:48   ` Sergei Shtylyov
@ 2009-07-30 20:10     ` David Miller
  2009-07-30 20:13       ` Florian Fainelli
  0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2009-07-30 20:10 UTC (permalink / raw)
  To: sshtylyov; +Cc: florian, ralf, manuel.lauss, linux-mips, netdev

From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Thu, 30 Jul 2009 23:48:13 +0400

>   Because they were only posted to linux-mips. And we didn't see #2 and
>   #4 in linux-mips either.

That's not going to work.

You can't apply some of these patches to one tree, and some to
the other.  That leaves the driver in a half-baked state in BOTH
trees during the entire development period.

So one of the two trees has to be chosen and all 4 patches added
there, and there only.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] au1000_eth platform device/driver conversion
  2009-07-30 20:10     ` David Miller
@ 2009-07-30 20:13       ` Florian Fainelli
  2009-07-30 20:17         ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Fainelli @ 2009-07-30 20:13 UTC (permalink / raw)
  To: David Miller; +Cc: sshtylyov, ralf, manuel.lauss, linux-mips, netdev

Hi,

Le Thursday 30 July 2009 22:10:00 David Miller, vous avez écrit :
> From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
> Date: Thu, 30 Jul 2009 23:48:13 +0400
>
> >   Because they were only posted to linux-mips. And we didn't see #2 and
> >   #4 in linux-mips either.
>
> That's not going to work.
>
> You can't apply some of these patches to one tree, and some to
> the other.  That leaves the driver in a half-baked state in BOTH
> trees during the entire development period.

Sorry about that I did not want to "spam" netdev with MIPS specific bits as I 
know those specific changes would lead to a discussion for sure.

>
> So one of the two trees has to be chosen and all 4 patches added
> there, and there only.

Ok, I got to respin them to address some comments on the MIPS-side anyway and 
will not forget to CC netdev and you this time.
-- 
Best regards, Florian Fainelli
Email: florian@openwrt.org
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
-------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/4] au1000_eth platform device/driver conversion
  2009-07-30 20:13       ` Florian Fainelli
@ 2009-07-30 20:17         ` David Miller
  0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2009-07-30 20:17 UTC (permalink / raw)
  To: florian; +Cc: sshtylyov, ralf, manuel.lauss, linux-mips, netdev

From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 30 Jul 2009 22:13:59 +0200

> Ok, I got to respin them to address some comments on the MIPS-side
> anyway and will not forget to CC netdev and you this time.

Thank you.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-30 20:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 21:00 [PATCH 0/4] au1000_eth platform device/driver conversion Florian Fainelli
2009-07-30 19:34 ` David Miller
2009-07-30 19:48   ` Sergei Shtylyov
2009-07-30 20:10     ` David Miller
2009-07-30 20:13       ` Florian Fainelli
2009-07-30 20:17         ` David Miller

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).