mirror_ubuntu-kernels/drivers/net/dsa/realtek
Alvin Šipraga ca5ecd4246 net: dsa: realtek: rtl8365mb: correct the max number of ports
The maximum number of ports is actually 11, according to two
observations:

1. The highest port ID used in the vendor driver is 10. Since port IDs
   are indexed from 0, and since DSA follows the same numbering system,
   this means up to 11 ports are to be presumed.

2. The registers with port mask fields always amount to a maximum port
   mask of 0x7FF, corresponding to a maximum 11 ports.

In view of this, I also deleted the comment.

Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-06-16 20:44:47 -07:00
..
Kconfig net: dsa: realtek: fix Kconfig to assure consistent driver linkage 2022-04-13 14:30:31 +01:00
Makefile net: dsa: realtek: add new mdio interface for drivers 2022-01-28 15:02:49 +00:00
realtek-mdio.c net: dsa: realtek: remove realtek,rtl8367s string 2022-04-20 11:02:28 +01:00
realtek-smi.c net: dsa: realtek: remove realtek,rtl8367s string 2022-04-20 11:02:28 +01:00
realtek.h net: dsa: realtek: allow subdrivers to externally lock regmap 2022-02-23 12:24:29 +00:00
rtl8365mb.c net: dsa: realtek: rtl8365mb: correct the max number of ports 2022-06-16 20:44:47 -07:00
rtl8366-core.c net: dsa: realtek: convert subdrivers into modules 2022-01-28 15:02:49 +00:00
rtl8366rb.c net: dsa: realtek: rtl8366rb: Serialize indirect PHY register access 2022-05-16 13:09:46 -07:00