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>
This commit is contained in:
Birger Koblitz
2021-09-10 15:08:27 +02:00
committed by John Crispin
parent 1f402512ae
commit 1cfd45ae0b
2 changed files with 130 additions and 1 deletions

View File

@@ -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;