]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: rtl8366rb: Support disabling learning
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Oct 2021 19:47:02 +0000 (21:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2021 14:08:11 +0000 (15:08 +0100)
commitfe0e210890f9b88463127ca15f5b35311df2979f
tree5ab4beddf213d545ac2926e637732e0c8fb1f0d4
parentf8ba8ab42ab599095106b619ed3f6a9bfece14f8
net: dsa: rtl8366rb: Support disabling learning

The RTL8366RB hardware supports disabling learning per-port
so let's make use of this feature. Rename some unfortunately
named registers in the process.

Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Cc: Alvin Šipraga <alsi@bang-olufsen.dk>
Cc: Mauri Sandberg <sandberg@mailfence.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: DENG Qingfang <dqfext@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/rtl8366rb.c