* [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor
@ 2014-11-13 6:56 Yoshihiro Kaneko
2014-11-13 20:03 ` David Miller
2014-11-13 21:57 ` Sergei Shtylyov
0 siblings, 2 replies; 4+ messages in thread
From: Yoshihiro Kaneko @ 2014-11-13 6:56 UTC (permalink / raw)
To: netdev; +Cc: David S. Miller, Simon Horman, Magnus Damm, linux-sh,
Grant Likely
From: Kouei Abe <kouei.abe.cp@renesas.com>
HDMAC automatically fetches the receive descriptor and receives frames.
Continuous reception of multiple frames is possible.
Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
---
This patch is based on net-next tree.
drivers/net/ethernet/renesas/sh_eth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index dbe8606..badb734 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -494,6 +494,7 @@ static struct sh_eth_cpu_data r8a779x_data = {
.eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE |
EESR_RDE | EESR_RFRMER | EESR_TFE | EESR_TDE |
EESR_ECI,
+ .rmcr_value = RMCR_RNC,
.apr = 1,
.mpr = 1,
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor
2014-11-13 6:56 [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor Yoshihiro Kaneko
@ 2014-11-13 20:03 ` David Miller
2014-11-13 21:59 ` Sergei Shtylyov
2014-11-13 21:57 ` Sergei Shtylyov
1 sibling, 1 reply; 4+ messages in thread
From: David Miller @ 2014-11-13 20:03 UTC (permalink / raw)
To: ykaneko0929; +Cc: netdev, horms, magnus.damm, linux-sh, grant.likely
From: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Date: Thu, 13 Nov 2014 15:56:59 +0900
> From: Kouei Abe <kouei.abe.cp@renesas.com>
>
> HDMAC automatically fetches the receive descriptor and receives frames.
> Continuous reception of multiple frames is possible.
>
> Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> ---
>
> This patch is based on net-next tree.
This doesn't even compile, or, it depends upon another patch which you have
not mentioned.
Because sh_eth_cpu_data does not have an rmcr_value field.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor
2014-11-13 6:56 [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor Yoshihiro Kaneko
2014-11-13 20:03 ` David Miller
@ 2014-11-13 21:57 ` Sergei Shtylyov
1 sibling, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-11-13 21:57 UTC (permalink / raw)
To: Yoshihiro Kaneko, netdev
Cc: David S. Miller, Simon Horman, Magnus Damm, linux-sh,
Grant Likely
Hello.
On 11/13/2014 09:56 AM, Yoshihiro Kaneko wrote:
> From: Kouei Abe <kouei.abe.cp@renesas.com>
> HDMAC automatically fetches the receive descriptor and receives frames.
> Continuous reception of multiple frames is possible.
> Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> ---
> This patch is based on net-next tree.
This patch is not needed any more because of an earlier patch by Ben Dooks
that set RMCR.RNC for all Ether devices.
> drivers/net/ethernet/renesas/sh_eth.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
> index dbe8606..badb734 100644
> --- a/drivers/net/ethernet/renesas/sh_eth.c
> +++ b/drivers/net/ethernet/renesas/sh_eth.c
> @@ -494,6 +494,7 @@ static struct sh_eth_cpu_data r8a779x_data = {
> .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE |
> EESR_RDE | EESR_RFRMER | EESR_TFE | EESR_TDE |
> EESR_ECI,
> + .rmcr_value = RMCR_RNC,
Looks like you didn't even bother to compile.
WBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor
2014-11-13 20:03 ` David Miller
@ 2014-11-13 21:59 ` Sergei Shtylyov
0 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-11-13 21:59 UTC (permalink / raw)
To: David Miller, ykaneko0929
Cc: netdev, horms, magnus.damm, linux-sh, grant.likely
Hello.
On 11/13/2014 11:03 PM, David Miller wrote:
>> From: Kouei Abe <kouei.abe.cp@renesas.com>
>> HDMAC automatically fetches the receive descriptor and receives frames.
>> Continuous reception of multiple frames is possible.
>> Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
>> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
>> ---
>>
>> This patch is based on net-next tree.
>
> This doesn't even compile, or, it depends upon another patch which you have
> not mentioned.
This patch is just very outdated -- this issue has been fixed for all SoCs
before.
> Because sh_eth_cpu_data does not have an rmcr_value field.
Right, it was removed by the above mentioned patch (based on your
feedback BTW ;-).
WBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-13 21:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 6:56 [PATCH] sh_eth: r8a779x: Enable automatically fetch receive descriptor Yoshihiro Kaneko
2014-11-13 20:03 ` David Miller
2014-11-13 21:59 ` Sergei Shtylyov
2014-11-13 21:57 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).