diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-04-25 00:27:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-25 01:28:56 +0300 |
commit | 3fb22b0534e412569dd67dec625b4a051c7c2d7e (patch) | |
tree | cae0bc97044b2fad330017c14cc05d43f6091789 /firmware/3com | |
parent | a424f0de61638cbb5047e0a888c54da9cf471f90 (diff) | |
download | linux-3fb22b0534e412569dd67dec625b4a051c7c2d7e.tar.xz |
net: dsa: b53: Implement software reset for 58xx devices
Implement the correct software reset sequence for 58xx devices by
setting all 3 reset bits and polling for the SW_RST bit to clear itself
without a given timeout. We cannot use is58xx() here because that would
also include the 7445/7278 Starfighter 2 which have their own driver
doing the reset earlier on due to the HW specific integration.
Fixes: 991a36bb4645 ("net: dsa: b53: Add support for BCM585xx/586xx/88312 integrated switch")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/3com')
0 files changed, 0 insertions, 0 deletions