diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-08-18 02:15:42 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-20 17:10:40 -0700 |
commit | 06a64f91da72cb5827e2bedef2ead60a123fd66e (patch) | |
tree | 5a80eb7e8436b675b4790bb9362cb5e356b03a18 /arch/sh/boards | |
parent | ea857f28ab5ca82508e70ffbc8cb296705133f01 (diff) |
SH7619: fix Ether support
The 'sh_eth' driver's probe will crash as the platform code is hopelessly behind
the platform data -- it passes PHY ID instead of 'struct sh_eth_plat_data *'.
Strangely, both commit d88a3ea6fa4c (SH7619 add ethernet controler support) that
added the platform code and commit 71557a37adb5 ([netdrvr] sh_eth: Add SH7619
support) were done in about the same time, yet the latter one added 'struct
sh_eth_plat_data' and the platform code didn't ever get updated...
Add the proper platform data and fix off-by-one memory resource end error, while
at it...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh/boards')
0 files changed, 0 insertions, 0 deletions