diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-10-20 09:32:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-20 14:43:50 -0400 |
commit | 2399d6143f85b155ae84ccd94237befd36b8f6c7 (patch) | |
tree | 51fc96f1700fb5fda3537b75648af7bf7be3d8cb /net/ipv4/ping.c | |
parent | 0d906b1e8d4002cdd59590fec630f4e75023e288 (diff) | |
download | linux-stable-2399d6143f85b155ae84ccd94237befd36b8f6c7.tar.gz linux-stable-2399d6143f85b155ae84ccd94237befd36b8f6c7.tar.bz2 linux-stable-2399d6143f85b155ae84ccd94237befd36b8f6c7.zip |
net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels
For a kernel that is being kexec'd we re-enable the integrated GPHY in
order for the subsequent MDIO bus scan to succeed and properly bind to
the bcm7xxx PHY driver. If we did not do that, the GPHY would be shut
down by the time the MDIO driver is probing the bus, and it would fail
to read the correct PHY OUI and therefore bind to an appropriate PHY
driver. Later on, this would cause DSA not to be able to successfully
attach to the PHY, and the interface would not be created at all.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ping.c')
0 files changed, 0 insertions, 0 deletions