diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-10-20 19:32:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-20 21:43:50 +0300 |
commit | 2399d6143f85b155ae84ccd94237befd36b8f6c7 (patch) | |
tree | 51fc96f1700fb5fda3537b75648af7bf7be3d8cb /include/net/udp.h | |
parent | 0d906b1e8d4002cdd59590fec630f4e75023e288 (diff) | |
download | linux-2399d6143f85b155ae84ccd94237befd36b8f6c7.tar.xz |
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 'include/net/udp.h')
0 files changed, 0 insertions, 0 deletions