net: dsa: mv88e6xxx: populate supported_interfaces and mac_capabilities
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 3 Feb 2022 13:30:42 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Feb 2022 14:10:35 +0000 (14:10 +0000)
commitd4ebf12bcec45378f6b3badb63806761e10a4596
tree5be17f5e71ca9b2acadf078cd7aaf930b0e97532
parent62001548a6da1353064e2e889ec3eaa584893f6c
net: dsa: mv88e6xxx: populate supported_interfaces and mac_capabilities

Populate the supported interfaces and MAC capabilities for the
Marvell MV88E6xxx DSA switches in preparation to using these for the
validation functionality.

Patch co-authored by Marek.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Marek BehĂșn <kabel@kernel.org> [ fixed 6341 and 6393x ]
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/port.h