mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
dpaa_eth: don't use fixed_phy_change_carrier
[ Upstream commit d8155c1df5c8b717052567b188455d41fa7a8908 ]
This effectively reverts 6e8b0ff1ba ("dpaa_eth: Add change_carrier()
for Fixed PHYs"). Usage of fixed_phy_change_carrier() requires that
fixed_phy_register() has been called before, directly or indirectly.
And that's not the case in this driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/7eb189b3-d5fd-4be6-8517-a66671a4e4e3@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7c299d0bc9
commit
50dbeff471
@@ -28,7 +28,6 @@
|
||||
#include <linux/percpu.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/sort.h>
|
||||
#include <linux/phy_fixed.h>
|
||||
#include <linux/bpf.h>
|
||||
#include <linux/bpf_trace.h>
|
||||
#include <soc/fsl/bman.h>
|
||||
@@ -3141,7 +3140,6 @@ static const struct net_device_ops dpaa_ops = {
|
||||
.ndo_stop = dpaa_eth_stop,
|
||||
.ndo_tx_timeout = dpaa_tx_timeout,
|
||||
.ndo_get_stats64 = dpaa_get_stats64,
|
||||
.ndo_change_carrier = fixed_phy_change_carrier,
|
||||
.ndo_set_mac_address = dpaa_set_mac_address,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_set_rx_mode = dpaa_set_rx_mode,
|
||||
|
||||
Reference in New Issue
Block a user