diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2021-09-10 15:08:27 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2021-10-09 08:25:06 +0200 |
commit | 1cfd45ae0bad3975cd59ff18ce04265b1bccbcd6 (patch) | |
tree | f69be90d0d9d1cb6ce8f4d2079da4241421f6c66 /target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c | |
parent | 1f402512ae0474ffd03c34bcfa54b2882d927861 (diff) | |
download | openwrt-1cfd45ae0bad3975cd59ff18ce04265b1bccbcd6.tar.gz openwrt-1cfd45ae0bad3975cd59ff18ce04265b1bccbcd6.tar.bz2 openwrt-1cfd45ae0bad3975cd59ff18ce04265b1bccbcd6.zip |
realtek: Add debugfs support for RTL9300
Adds support for debugfs on RTL9300, in particular the drop counters.
Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c')
-rw-r--r-- | target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c index 2745ead061..9691b8b5c7 100644 --- a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c +++ b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c @@ -1570,6 +1570,8 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev) sw_w32(7, priv->r->spcl_trap_eapol_ctrl); rtl838x_dbgfs_init(priv); + } else { + rtl930x_dbgfs_init(priv); } return 0; |