summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
diff options
context:
space:
mode:
authorJose Abreu2018-05-18 17:54:38 +0200
committerDavid S. Miller2018-05-18 19:56:08 +0200
commiteb38401c779d350e9e31396471ea072fa29aec9b (patch)
treeab541afa1af56b98bdd8b0fa1390c811ba0c2ffd /drivers/net/ethernet/mellanox/mlxsw/spectrum.c
parentcxgb4: collect SGE PF/VF queue map (diff)
downloadkernel-qcow2-linux-eb38401c779d350e9e31396471ea072fa29aec9b.tar.gz
kernel-qcow2-linux-eb38401c779d350e9e31396471ea072fa29aec9b.tar.xz
kernel-qcow2-linux-eb38401c779d350e9e31396471ea072fa29aec9b.zip
net: stmmac: Populate missing callbacks in HWIF initialization
Some HW specific setups, like sun8i, do not populate all the necessary callbacks, which is what HWIF helpers were expecting. Fix this by always trying to get the generic helpers and populate them if they were not previously populated by HW specific setup. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Fixes: 5f0456b43140 ("net: stmmac: Implement logic to automatically select HW Interface") Reported-by: Corentin Labbe <clabbe.montjoie@gmail.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Cc: Corentin Labbe <clabbe.montjoie@gmail.com> Cc: David S. Miller <davem@davemloft.net> Cc: Joao Pinto <jpinto@synopsys.com> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.c')
0 files changed, 0 insertions, 0 deletions