Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: mscc: ocelot: export ANA, DEV and QSYS registers to include/soc/mscc

Since the Felix DSA driver is implementing its own PHYLINK instance due
to SoC differences, it needs access to the few registers that are
common, mainly for flow control.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Vladimir Oltean and committed by
David S. Miller
964ee5c8 ee50d07c

+3 -3
+3 -3
drivers/net/ethernet/mscc/ocelot.h
··· 18 18 #include <linux/ptp_clock_kernel.h> 19 19 #include <linux/regmap.h> 20 20 21 + #include <soc/mscc/ocelot_qsys.h> 21 22 #include <soc/mscc/ocelot_sys.h> 23 + #include <soc/mscc/ocelot_dev.h> 24 + #include <soc/mscc/ocelot_ana.h> 22 25 #include <soc/mscc/ocelot.h> 23 - #include "ocelot_ana.h" 24 - #include "ocelot_dev.h" 25 - #include "ocelot_qsys.h" 26 26 #include "ocelot_rew.h" 27 27 #include "ocelot_qs.h" 28 28 #include "ocelot_tc.h"
drivers/net/ethernet/mscc/ocelot_ana.h include/soc/mscc/ocelot_ana.h
drivers/net/ethernet/mscc/ocelot_dev.h include/soc/mscc/ocelot_dev.h
drivers/net/ethernet/mscc/ocelot_qsys.h include/soc/mscc/ocelot_qsys.h