Thread (11 messages) 11 messages, 3 authors, 2013-12-24

Re: [PATCH RFC 3/3] [RFC] ARM: shmobile: genmai: Enable r7s72100-gether

flat view

From: Sergei Shtylyov <hidden>
Date: 2013-12-24 21:43:41
Also in: linux-sh

On 12/16/2013 04:30 AM, Simon Horman wrote:
quoted
    You forgot to sign off.
quoted
[...]
quoted
quoted
diff --git a/arch/arm/mach-shmobile/board-genmai.c b/arch/arm/mach-shmobile/board-genmai.c
index 3e92e3c..838325b 100644
--- a/arch/arm/mach-shmobile/board-genmai.c
+++ b/arch/arm/mach-shmobile/board-genmai.c
@@ -20,15 +20,35 @@

  #include <linux/kernel.h>
  #include <linux/platform_device.h>
+#include <linux/sh_eth.h>
  #include <mach/common.h>
+#include <mach/irqs.h>
  #include <mach/r7s72100.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>

+/* GEther */
+static const struct sh_eth_plat_data gether_pdata __initconst = {
+	.phy			= 0x00, /* PD60610 */
+	.edmac_endian		= EDMAC_LITTLE_ENDIAN,
+	.phy_interface		= PHY_INTERFACE_MODE_MII,
quoted
    Does MII work for Gigabit Ethernet?
My understanding is that although the SH ethernet block on
the SoC supports Gigabit it is only wired up to allow 100Mbit
access on the board and that MII is the interface used.
   No, it's the SoC manual that limits the Ethernet speed to 100 Mbps.

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help