Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e410d86d authored by Niklas Söderlund's avatar Niklas Söderlund Committed by David S. Miller
Browse files

sh_eth: enable wake-on-lan for R-Car Gen2 devices



Tested on Gen2 r8a7791/Koelsch.

Signed-off-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d8981d02
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -622,8 +622,9 @@ static struct sh_eth_cpu_data r8a779x_data = {

	.register_type	= SH_ETH_REG_FAST_RCAR,

	.ecsr_value	= ECSR_PSRTO | ECSR_LCHNG | ECSR_ICD,
	.ecsipr_value	= ECSIPR_PSRTOIP | ECSIPR_LCHNGIP | ECSIPR_ICDIP,
	.ecsr_value	= ECSR_PSRTO | ECSR_LCHNG | ECSR_ICD | ECSR_MPD,
	.ecsipr_value	= ECSIPR_PSRTOIP | ECSIPR_LCHNGIP | ECSIPR_ICDIP |
			  ECSIPR_MPDIP,
	.eesipr_value	= 0x01ff009f,

	.tx_check	= EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO,
@@ -638,6 +639,7 @@ static struct sh_eth_cpu_data r8a779x_data = {
	.tpauser	= 1,
	.hw_swap	= 1,
	.rmiimode	= 1,
	.magic		= 1,
};
#endif /* CONFIG_OF */