]> git.baikalelectronics.ru Git - kernel.git/commit
SolutionEngine7724: fix Ether support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 17 Aug 2013 22:19:09 +0000 (02:19 +0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 00:10:41 +0000 (17:10 -0700)
commit9718995d75843f4fc75c9d71c6ab6bf7a2e5c0b8
tree01e26f18ba59e2932b40a97b34a4425048d9644f
parent81419a1d881a4dbe051936db4a7425b725fcd52b
SolutionEngine7724: fix Ether support

The Ether platform data is behind the declaration of 'struct sh_eth_plat_data'
as it's lacking the initializers for the 'register_type' and 'phy_interface'
fields -- it means they'll be implicitly and wrongly set to SH_ETH_REG_GIGABIT
and PHY_INTERFACE_MODE_NA. Initialize the fields explicitly and fix off-by-one
error in the Ether memory resource end, while at it...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sh/boards/mach-se/7724/setup.c