linux-mips
[Top] [All Lists]

[PATCH 0/4] au1000_eth platform device/driver conversion

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 0/4] au1000_eth platform device/driver conversion
From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 28 Jul 2009 23:00:04 +0200
Cc: Manuel Lauss <manuel.lauss@googlemail.com>, David Miller <davem@davemloft.net>, linux-mips@linux-mips.org, netdev@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=7TTij6OOXc6XBtT8mAyxxvID0ohsyh0oYKVNd8RXejg=; b=xYvf4rtah2NmMJUi5YtjpVDoQVdNvnw/Klja4vP5Ac8FjIWwDKgdYam8mBDV2xYyZQ 5gSDq6QPiVwHDwuS2zQuyaIYGQdzgTVFd2mnn6fVWfxkHYd5+8DDAVlums9neDrFpK3+ I0dygcrHt1WVsoVnzdzp/dAGezHneTo0y4/2M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=DcBAcki+79j6iG0R/DUKiLkGhAlMSy2GonouH5js+pkogMlfuapoostXlLW3qkRk5c BpdoywBzccHnNqv0C9OWQG/Hnw4YAQwnqtDjB3wE2dENu6fHKXiEXq2aDS5XLqN+CYY5 zvcjrkaeN3ulJj9gbmx/vxqafgtQYMibVbdDM=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.9
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
-------------------------------

<Prev in Thread] Current Thread [Next in Thread>