Skip to content
Permalink
Browse files
net: dsa: add rtl8367rb
currently as copy of rtl8366rb with renamed functions/constants
and only first needed functions
  • Loading branch information
frank-w committed Nov 5, 2021
1 parent 2313269 commit 6c61ebc583fdb65eefc6724a48fac393db2a233d
Show file tree
Hide file tree
Showing 4 changed files with 1,643 additions and 1 deletion.
@@ -10,7 +10,7 @@ obj-$(CONFIG_NET_DSA_MT7530) += mt7530.o
obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
obj-$(CONFIG_NET_DSA_QCA8K) += qca8k.o
obj-$(CONFIG_NET_DSA_REALTEK_SMI) += realtek-smi.o
realtek-smi-objs := realtek-smi-core.o rtl8366.o rtl8366rb.o
realtek-smi-objs := realtek-smi-core.o rtl8366.o rtl8366rb.o rtl8367rb.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303) += lan9303-core.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303_I2C) += lan9303_i2c.o
obj-$(CONFIG_NET_DSA_SMSC_LAN9303_MDIO) += lan9303_mdio.o
@@ -496,6 +496,10 @@ static const struct of_device_id realtek_smi_of_match[] = {
.compatible = "realtek,rtl8366rb",
.data = &rtl8366rb_variant,
},
{
.compatible = "realtek,rtl8367rb",
.data = &rtl8367rb_variant,
},
{
/* FIXME: add support for RTL8366S and more */
.compatible = "realtek,rtl8366s",
@@ -143,5 +143,6 @@ int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset);
void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);

extern const struct realtek_smi_variant rtl8366rb_variant;
extern const struct realtek_smi_variant rtl8367rb_variant;

#endif /* _REALTEK_SMI_H */

0 comments on commit 6c61ebc

Please sign in to comment.