ARM: configs: at91: sama5: add support for KSZ ethernet switches
PATCH 1/3 ARM: configs: at91: sama5: add support for KSZ ethernet switches
From: Razvan Stefanescu <[email protected]>
Enable DSA and KSZ9477 support as modules. Ethernet switches are used by the SAMA5D2-ICP board.
--- arch/arm/configs/sama5_defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/configs/sama5_defconfig +3 -0
@@ -49,6 +49,7 @@ CONFIG_IP_PNP_RARP=y # CONFIG_INET6_XFRM_MODE_TUNNEL is not set # CONFIG_INET6_XFRM_MODE_BEET is not set CONFIG_IPV6_SIT_6RD=y +CONFIG_NET_DSA=m CONFIG_CAN=y CONFIG_CAN_AT91=y CONFIG_CAN_M_CAN=y
@@ -80,6 +81,8 @@ CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y # CONFIG_SCSI_LOWLEVEL is not set CONFIG_NETDEVICES=y +CONFIG_NET_DSA_MICROCHIP_KSZ9477=m +CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI=m CONFIG_MACB=y # CONFIG_NET_VENDOR_BROADCOM is not set # CONFIG_NET_VENDOR_CIRRUS is not set
Signature · 1 line
2.25.1
PATCH 2/3 ARM: configs: at91: sama5: enable bridge and VLAN filtering
From: Razvan Stefanescu <[email protected]>
These modules are needed to configure bridges in Linux, to take full advantage of the KSZ switch capabilities.
--- arch/arm/configs/sama5_defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/configs/sama5_defconfig +3 -0
@@ -49,7 +49,10 @@ CONFIG_IP_PNP_RARP=y # CONFIG_INET6_XFRM_MODE_TUNNEL is not set # CONFIG_INET6_XFRM_MODE_BEET is not set CONFIG_IPV6_SIT_6RD=y +CONFIG_BRIDGE=m +CONFIG_BRIDGE_VLAN_FILTERING=y CONFIG_NET_DSA=m +CONFIG_VLAN_8021Q=m CONFIG_CAN=y CONFIG_CAN_AT91=y CONFIG_CAN_M_CAN=y
Signature · 1 line
2.25.1
PATCH 3/3 ARM: configs: at91: sama5: enable CAN PLATFORM driver
In reply to Codrin CiubotariuFrom: Cristian Birsan <[email protected]>
CAN_M_CAN_PLATFORM is needed to probe the driver on sama5 platforms after the driver was split into multiple files.
--- arch/arm/configs/sama5_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/sama5_defconfig +1 -0
@@ -56,6 +56,7 @@ CONFIG_VLAN_8021Q=m CONFIG_CAN=y CONFIG_CAN_AT91=y CONFIG_CAN_M_CAN=y +CONFIG_CAN_M_CAN_PLATFORM=y CONFIG_CFG80211=y CONFIG_MAC80211=y CONFIG_MAC80211_LEDS=y
Signature · 1 line
2.25.1
Alexandre Belloni
AppliedQuoted 2 lines · Codrin Ciubotariu
Enable DSA and KSZ9477 support as modules. Ethernet switches are used by the SAMA5D2-ICP board.
Applied, thanks!
[1/3] ARM: configs: at91: sama5: add support for KSZ ethernet switches
commit: 6dadeab7d260eaa410649a48d8368e4d3237377d
[2/3] ARM: configs: at91: sama5: enable bridge and VLAN filtering
commit: 33d8c87ef47f5303dca851f320611552bc84e32f
[3/3] ARM: configs: at91: sama5: enable CAN PLATFORM driver
commit: c12b539787efff5b4fc5abac1debf3ea1901348eBest regards,
Signature · 1 line
Alexandre Belloni <[email protected]>