diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2011-03-08 09:00:04 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-17 08:52:44 +0100 |
commit | 9055f895f805afd57b833e51c4665aa1b2579d43 (patch) | |
tree | 024d920e309af68fa77fe7d5018136febae8a034 /arch/sh/boards/mach-ecovec24 | |
parent | sh: add GETHER's platform_device in board-sh7757lcr (diff) | |
download | linux-9055f895f805afd57b833e51c4665aa1b2579d43.tar.xz linux-9055f895f805afd57b833e51c4665aa1b2579d43.zip |
sh: modify platform_device for sh_eth driver
A new parameter is added to sh_eth_plat_data. And the sh_eth driver
needs additional memory resource if a module has TSU.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-ecovec24')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 701667acfd89..3b71d2190de1 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -142,6 +142,8 @@ static struct resource sh_eth_resources[] = { static struct sh_eth_plat_data sh_eth_plat = { .phy = 0x1f, /* SMSC LAN8700 */ .edmac_endian = EDMAC_LITTLE_ENDIAN, + .register_type = SH_ETH_REG_FAST_SH4, + .phy_interface = PHY_INTERFACE_MODE_MII, .ether_link_active_low = 1 }; |