Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Several cases of overlapping changes, as well as one instance (vxlan) of a bug fix in 'net' overlapping with code movement in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2791,6 +2791,8 @@ static struct fman *read_dts_node(struct platform_device *of_dev)
|
||||
goto fman_free;
|
||||
}
|
||||
|
||||
fman->dev = &of_dev->dev;
|
||||
|
||||
return fman;
|
||||
|
||||
fman_node_put:
|
||||
@@ -2845,8 +2847,6 @@ static int fman_probe(struct platform_device *of_dev)
|
||||
|
||||
dev_set_drvdata(dev, fman);
|
||||
|
||||
fman->dev = dev;
|
||||
|
||||
dev_dbg(dev, "FMan%d probed\n", fman->dts_params.id);
|
||||
|
||||
return 0;
|
||||
|
@@ -1111,8 +1111,10 @@ static void __gfar_detect_errata_85xx(struct gfar_private *priv)
|
||||
|
||||
if ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) == 0x20))
|
||||
priv->errata |= GFAR_ERRATA_12;
|
||||
/* P2020/P1010 Rev 1; MPC8548 Rev 2 */
|
||||
if (((SVR_SOC_VER(svr) == SVR_P2020) && (SVR_REV(svr) < 0x20)) ||
|
||||
((SVR_SOC_VER(svr) == SVR_P2010) && (SVR_REV(svr) < 0x20)))
|
||||
((SVR_SOC_VER(svr) == SVR_P2010) && (SVR_REV(svr) < 0x20)) ||
|
||||
((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) < 0x31)))
|
||||
priv->errata |= GFAR_ERRATA_76; /* aka eTSEC 20 */
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user