OSDN Git Service

net: mscc: ocelot: export ANA, DEV and QSYS registers to include/soc/mscc
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 6 Jan 2020 01:34:16 +0000 (03:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 07:22:33 +0000 (23:22 -0800)
commit964ee5c82b770c2d8a5ccefeee3384c1061ce3ae
treecf4dcc5fbd1be51b27eed9931207dcf83a1a4cf9
parentee50d07c9fc8155b5a3c6c29eae1459a12cf2fb4
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>
drivers/net/ethernet/mscc/ocelot.h
include/soc/mscc/ocelot_ana.h [moved from drivers/net/ethernet/mscc/ocelot_ana.h with 100% similarity]
include/soc/mscc/ocelot_dev.h [moved from drivers/net/ethernet/mscc/ocelot_dev.h with 100% similarity]
include/soc/mscc/ocelot_qsys.h [moved from drivers/net/ethernet/mscc/ocelot_qsys.h with 100% similarity]