aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorVladimir Oltean2021-03-10 14:03:43 +0200
committerDavid S. Miller2021-03-10 13:14:15 -0800
commit27f9025d49416e35bd7f1cedc9edd0388612501f (patch)
tree4572a39d75d8b6285fdd0e5587a2013d34dac130 /block
parent24be14e3260ad8f5b926da8ad0bc0067435e7340 (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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions