commit | 27f9025d49416e35bd7f1cedc9edd0388612501f | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <olteanv@gmail.com> | Wed Mar 10 14:03:43 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 10 13:14:15 2021 -0800 |
tree | 4572a39d75d8b6285fdd0e5587a2013d34dac130 | |
parent | 24be14e3260ad8f5b926da8ad0bc0067435e7340 [diff] |
net: enetc: save the mode register address inside struct enetc_cbdr enetc_clear_cbdr depends on struct enetc_hw because it must disable the ring through a register write. We'd like to remove that dependency, so let's do what's already done with the producer and consumer indices, which is to save the iomem address in a variable kept in struct enetc_cbdr. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>