mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
net: mscc: ocelot: split register definitions to a separate file
Move these to a separate file will allow them to be shared to other drivers. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
242bd0c10b
commit
32ecd22ba6
@@ -7,7 +7,8 @@ mscc_ocelot_switch_lib-y := \
|
|||||||
ocelot_vcap.o \
|
ocelot_vcap.o \
|
||||||
ocelot_flower.o \
|
ocelot_flower.o \
|
||||||
ocelot_ptp.o \
|
ocelot_ptp.o \
|
||||||
ocelot_devlink.o
|
ocelot_devlink.o \
|
||||||
|
vsc7514_regs.o
|
||||||
mscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o
|
mscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o
|
||||||
obj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
|
obj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
|
||||||
mscc_ocelot-y := \
|
mscc_ocelot-y := \
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,27 @@
|
|||||||
|
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
||||||
|
/*
|
||||||
|
* Microsemi Ocelot Switch driver
|
||||||
|
*
|
||||||
|
* Copyright (c) 2021 Innovative Advantage Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef VSC7514_REGS_H
|
||||||
|
#define VSC7514_REGS_H
|
||||||
|
|
||||||
|
extern const u32 vsc7514_ana_regmap[];
|
||||||
|
extern const u32 vsc7514_qs_regmap[];
|
||||||
|
extern const u32 vsc7514_qsys_regmap[];
|
||||||
|
extern const u32 vsc7514_rew_regmap[];
|
||||||
|
extern const u32 vsc7514_sys_regmap[];
|
||||||
|
extern const u32 vsc7514_vcap_regmap[];
|
||||||
|
extern const u32 vsc7514_ptp_regmap[];
|
||||||
|
extern const u32 vsc7514_dev_gmii_regmap[];
|
||||||
|
|
||||||
|
extern const struct vcap_field vsc7514_vcap_es0_keys[];
|
||||||
|
extern const struct vcap_field vsc7514_vcap_es0_actions[];
|
||||||
|
extern const struct vcap_field vsc7514_vcap_is1_keys[];
|
||||||
|
extern const struct vcap_field vsc7514_vcap_is1_actions[];
|
||||||
|
extern const struct vcap_field vsc7514_vcap_is2_keys[];
|
||||||
|
extern const struct vcap_field vsc7514_vcap_is2_actions[];
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user