mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08: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_flower.o \
|
||||
ocelot_ptp.o \
|
||||
ocelot_devlink.o
|
||||
ocelot_devlink.o \
|
||||
vsc7514_regs.o
|
||||
mscc_ocelot_switch_lib-$(CONFIG_BRIDGE_MRP) += ocelot_mrp.o
|
||||
obj-$(CONFIG_MSCC_OCELOT_SWITCH) += mscc_ocelot.o
|
||||
mscc_ocelot-y := \
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
523
drivers/net/ethernet/mscc/vsc7514_regs.c
Normal file
523
drivers/net/ethernet/mscc/vsc7514_regs.c
Normal file
File diff suppressed because it is too large
Load Diff
27
include/soc/mscc/vsc7514_regs.h
Normal file
27
include/soc/mscc/vsc7514_regs.h
Normal file
@@ -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