sh_eth: get SH77{34|63} support out of #ifdef
Get the SH77{34|63} specific code/data in the driver out of #ifdef by adding "sh7734-gether" and "sh7763-gether" to the platform driver's ID table. Note that we have to split the 'struct sh_eth_cpu_data' instance into two due to #ifdef inside it; note that we can kill the duplicate sh_eth_set_rate_gether(). Change the GEther platform device's name in the SH platform code accordingly. Signed-off-by:Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- arch/sh/boards/board-espt.c 1 addition, 1 deletionarch/sh/boards/board-espt.c
- arch/sh/boards/mach-sh7763rdp/setup.c 1 addition, 1 deletionarch/sh/boards/mach-sh7763rdp/setup.c
- arch/sh/kernel/cpu/sh4a/clock-sh7734.c 1 addition, 1 deletionarch/sh/kernel/cpu/sh4a/clock-sh7734.c
- drivers/net/ethernet/renesas/sh_eth.c 36 additions, 31 deletionsdrivers/net/ethernet/renesas/sh_eth.c
Loading
Please register or sign in to comment