05 Jan, 2016

1 commit

  • Commit 71557a37adb5 ("[netdrvr] sh_eth: Add SH7619 support") added support
    for the big-endian EDMAC descriptors. However, it was never used and never
    worked right until the recent driver fixes. I think we now can just remove
    this support, it was only burdening the driver from the start. It should be
    easy to do without disturbing the SH platform code, at least for now...

    Signed-off-by: Sergei Shtylyov
    Acked-by: Simon Horman
    Signed-off-by: David S. Miller

    Sergei Shtylyov
     

20 Dec, 2013

1 commit


21 Aug, 2013

1 commit

  • Now that the 'register_type' field of the 'sh_eth' driver's platform data is not
    used by the driver anymore, it's time to remove it and its initializers from
    the SH platform code. Also move *enum* declaring values for this field from
    to the local driver's header file as they're only needed
    by the driver itself now...

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: David S. Miller

    Sergei Shtylyov
     

03 Aug, 2013

1 commit


30 Mar, 2013

1 commit

  • Commit d0418bb7123f44b23d69ac349eec7daf9103472f (net: sh_eth: Add eth support
    for R8A7779 device) was a failed attempt to add support for one of members of
    the R-Car SoC family. That's for three reasons: it treated R8A7779 the same
    as SH7724 except including quite dirty hack adding ECMR_ELB bit to the mask
    in sh_eth_set_rate() while not removing ECMR_RTM bit (despite it's reserved in
    R-Car Ether), and it didn't add a new register offset array despite the closest
    SH_ETH_REG_FAST_SH4 mapping differs by 0x200 to the offsets all the R-Car Ether
    registers have, and also some of the registers in this old mapping don't exist
    on R-Car Ether (due to this, SH7724's 'sh_eth_my_cpu_data' structure is not
    adequeate for R-Car too). Fix all these shortcomings, restoring the SH7724
    related section to its pristine state...

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: David S. Miller

    Sergei Shtylyov
     

17 Feb, 2012

1 commit

  • The SH7757 has 2 Fast Ethernet and 2 Gigabit Ethernet, and the first
    Gigabit channel needs the initialization. So, this patch adds the
    parameter of "needs_init", and if the sh_eth_plat_data is set it
    to 1, the driver will initialize the channel.

    Signed-off-by: Yoshihiro Shimoda
    Signed-off-by: David S. Miller

    Yoshihiro Shimoda
     

29 Sep, 2011

1 commit