diff options
author | Patrick Uiterwijk <patrick@puiterwijk.org> | 2016-03-30 04:39:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-31 22:12:57 +0300 |
commit | 13a7ebb38a659254e71a4a95cf39429a9287912b (patch) | |
tree | df1c02418e2213602022f7bc005fc57e4e03a45b /drivers/net/ethernet/marvell | |
parent | 75baacf00fb471c3b01e604357ab53da7cf72dd4 (diff) | |
download | linux-13a7ebb38a659254e71a4a95cf39429a9287912b.tar.xz |
net: dsa: mv88e6xxx: Clear the PDOWN bit on setup
Some of the vendor-specific bootloaders set up this part
of the initialization for us, so this was never added.
However, since upstream bootloaders don't initialize the
chip specifically, they leave the fiber MII's PDOWN flag
set, which means that the CPU port doesn't connect.
This patch checks whether this flag has been clear prior
by something else, and if not make us clear it.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
0 files changed, 0 insertions, 0 deletions