[PATCH 0/4] Enable ethernet support for SOCFPGA

Pavel Machek pavel at denx.de
Thu Jul 18 07:59:51 EDT 2013


Hi!

> >These 4 patches are meant to enable ethernet and SD/MMC for the SOCFPGA
> >platform.
> >
> >patch (1/4): Adds select ARM_TWD for the platform
> >patch (2/4): Add platform specific initialization for the ethernet controller.
> >patch (3/4): Commit 25c83b5c2 added "snps,phy-addr" for getting the PHY addr.
> >         Set the ethernet clocks to be emac_0_clk and emac_1_clk so it be gated.
> >patch (4/4): Update defconfig to support SD/MMC, ethernet, EXT3 and NFS.

> What tree is this based against, or what patches are a pre-requisite
> to this series? I applied the patches to linux-arm/master but the
> compile failed.
> 
> arch/arm/mach-socfpga/socfpga.c: In function 'ksz9021rlrn_phy_fixup':
> arch/arm/mach-socfpga/socfpga.c:85:21: error:
> 'MICREL_KSZ9021_EXTREG_CTRL' undeclared (first use in this function)
>    phy_write(phydev, MICREL_KSZ9021_EXTREG_CTRL,
>                      ^

It seems it depends on:

Date: Mon, 15 Jul 2013 18:08:50 -0500
From: dinguyen at altera.com
To: dinh.linux at gmail.com, netdev at vger.kernel.org
Cc: Pavel Machek <pavel at denx.de>, Nicolas Ferre
<nicolas.ferre at atmel.com>,
        "David S. Miller" <davem at davemloft.net>,
        linux-arm-kernel at lists.infradead.org,
        Shawn Guo <shawn.guo at linaro.org>,
        Jean-Christophe Plagniol-Villard <plagnioj at jcrosoft.com>,
        Andrew Victor <linux at maxim.org.za>,
        Dinh Nguyen <dinguyen at altera.com>
Subject: [PATCH] phy: micrel: Add definitions for common Micrel PHY
registers
X-Mailer: git-send-email 1.7.9.5

From: Dinh Nguyen <dinguyen at altera.com>

Add defines for common Micrel PHY setups so that other platforms
can use them. Update imx61 and sama5 hardware to use the micrel_phy.h
PHY defines.

Also add support for the KSZ9021RLRN PHY.

Signed-off-by: Dinh Nguyen <dinguyen at altera.com>

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list