net: designware: Respect "bus mode" register contents on SW reset
"bus mode" register contains lots of fields and some of them don't
expect to be written with 0 (zero). So since we're only interested in
resetting MAC (which is done with setting the least significant bit of
this register with "0") I believe it's better to modify only 1 bit of
the register.

[Original U-Boot patch by Alexey Brodkin <abrodkin@synopsys.com>]

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b0fabc5 commit 184ef5a1ffd43f02c3250c1e32fe9324acd9ece8
@Ian Abbott Ian Abbott authored on 7 Nov 2016
Sascha Hauer committed on 9 Nov 2016
Showing 1 changed file
View
drivers/net/designware.c