mbox series

[net-next,v2,0/5] sh_eth: get rid of the dedicated regiseter mapping for RZ/A1 (R7S72100)

Message ID effa9dea-638b-aa29-2ec3-942974de12a0@cogentembedded.com (mailing list archive)
Headers show
Series sh_eth: get rid of the dedicated regiseter mapping for RZ/A1 (R7S72100) | expand

Message

Sergei Shtylyov Feb. 15, 2020, 8:06 p.m. UTC
Hello!

Here's a set of 5 patches against DaveM's 'net-next.git' repo.

I changed my mind about the RZ/A1 SoC needing its own register
map -- now that we don't depend on the register map array in order
to determine whether a given register exists any more, we can add
a new flag to determine if the GECMR exists (this register is
present only on true GEther chips, not RZ/A1). We also need to
add the sh_eth_cpu_data::* flag checks where they were missing
so far: in the ethtool API for the register dump.

[1/5] sh_eth: check sh_eth_cpu_data::no_tx_cntrs when dumping registers
[2/5] sh_eth: check sh_eth_cpu_data::cexcr when dumping registers
[3/5] sh_eth: check sh_eth_cpu_data::no_xdfar when dumping registers
[4/5] sh_eth: add sh_eth_cpu_data::gecmr flag
[5/5] sh_eth: use Gigabit register map for R7S72100

MBR, Sergei

Comments

David Miller Feb. 17, 2020, 3:44 a.m. UTC | #1
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Sat, 15 Feb 2020 23:06:27 +0300

> Here's a set of 5 patches against DaveM's 'net-next.git' repo.
> 
> I changed my mind about the RZ/A1 SoC needing its own register
> map -- now that we don't depend on the register map array in order
> to determine whether a given register exists any more, we can add
> a new flag to determine if the GECMR exists (this register is
> present only on true GEther chips, not RZ/A1). We also need to
> add the sh_eth_cpu_data::* flag checks where they were missing
> so far: in the ethtool API for the register dump.

Series applied, thanks Sergei.