Re: [PATCH net-next 1/2] sh_eth: add sh_eth_cpu_data::no_xdfar flag

2018-03-31 Thread Sergei Shtylyov
On 04/01/2018 12:22 AM, Sergei Shtylyov wrote: > The commit 6ded286555c2 ("sh_eth: Fix RX recovery on R-Car in case of RX > ring underrun") added a check for an bad RDFAR offset in sh_eth_rx(), so > that the code could work on the R-Car Ether controllers which don't have > this register (and

[PATCH net-next 1/2] sh_eth: add sh_eth_cpu_data::no_xdfar flag

2018-03-31 Thread Sergei Shtylyov
The commit 6ded286555c2 ("sh_eth: Fix RX recovery on R-Car in case of RX ring underrun") added a check for an bad RDFAR offset in sh_eth_rx(), so that the code could work on the R-Car Ether controllers which don't have this register (and TDFAR), then the commit 3365711df02 ("sh_eth: WARN on access