diff options
author | Sergei Shtylyov <[email protected]> | 2018-03-24 23:07:41 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-26 12:34:19 -0400 |
commit | 4ceedeb1b68e376ccfec9f8d2e46bcd541702aba (patch) | |
tree | 658ae8662c1eebb8a014aa4ecff73796c408dc53 /net/unix/sysctl_net_unix.c | |
parent | 93e9ad985038f269838c4c5deab4c84d87c7b5a7 (diff) |
sh_eth: add sh_eth_cpu_data::soft_reset() method
sh_eth_reset() performs a software reset which is implemented in a
completely different way for the GEther-like controllers vs the other
controllers due to a different layout of EDMR (and other factors) --
it therefore makes sense to convert this function to a mandatory
sh_eth_cpu_data::soft_reset() method and thus get rid of the runtime
controller type check via sh_eth_is_{gether|rz_fast_ether}().
Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions