Skip to contentSkip to conversation

ARM: multi_v7_defconfig: Enable Ethernet Switch drivers

PATCH New Andrew Lunn 3 participants 4 messages Jun 15, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable Ethernet Switch drivers

Kernelci now has two boards with Ethernet switches supported by DSA. Enable DSA and the switch drivers so we get some boot testing.

---
 arch/arm/configs/multi_v7_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/configs/multi_v7_defconfig +4 -0
index 8f857564657f..b45ac256b491 100644
@@ -157,6 +157,8 @@ CONFIG_INET6_IPCOMP=m
 CONFIG_IPV6_MIP6=m
 CONFIG_IPV6_TUNNEL=m
 CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_DSA=y
+CONFIG_NET_SWITCHDEV=y
 CONFIG_CAN=y
 CONFIG_CAN_RAW=y
 CONFIG_CAN_BCM=y
@@ -222,6 +224,8 @@ CONFIG_SATA_RCAR=y
 CONFIG_NETDEVICES=y
 CONFIG_VIRTIO_NET=y
 CONFIG_HIX5HD2_GMAC=y
+CONFIG_NET_DSA_MV88E6XXX=y
+CONFIG_NET_DSA_BCM_SF2=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_MACB=y
 CONFIG_NET_CALXEDA_XGMAC=y
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable Ethernet Switch drivers

Quoted 2 lines · Andrew Lunn

Kernelci now has two boards with Ethernet switches supported by DSA. Enable DSA and the switch drivers so we get some boot testing.

So this is going to create some conflicts with this commit which would be submitted for 4.8:

https://github.com/Broadcom/stblinux/commit/0fa28995465cf9f9465a1ff69e8dfff17f9734ea

So let's take yours and I will rework mine to just include the BCMGENET and SYSTEMPORT drivers inclusion.

Quoted 29 lines
---
 arch/arm/configs/multi_v7_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/configs/multi_v7_defconfig +4 -0
index 8f857564657f..b45ac256b491 100644
@@ -157,6 +157,8 @@ CONFIG_INET6_IPCOMP=m
 CONFIG_IPV6_MIP6=m
 CONFIG_IPV6_TUNNEL=m
 CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_DSA=y
+CONFIG_NET_SWITCHDEV=y
 CONFIG_CAN=y
 CONFIG_CAN_RAW=y
 CONFIG_CAN_BCM=y
@@ -222,6 +224,8 @@ CONFIG_SATA_RCAR=y
 CONFIG_NETDEVICES=y
 CONFIG_VIRTIO_NET=y
 CONFIG_HIX5HD2_GMAC=y
+CONFIG_NET_DSA_MV88E6XXX=y
+CONFIG_NET_DSA_BCM_SF2=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_MACB=y
 CONFIG_NET_CALXEDA_XGMAC=y
Signature · 1 line
Florian
#2 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable Ethernet Switch drivers

In reply to Andrew Lunn

Hi Andrew,

Quoted 4 lines · Andrew Lunn

Kernelci now has two boards with Ethernet switches supported by DSA. Enable DSA and the switch drivers so we get some boot testing.

Any reason these can't be modules?

The default initramfs for kernelci will automatically load modules.

Kevin

#3 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable Ethernet Switch drivers

Quoted 10 lines · Kevin Hilman

Hi Andrew,

Quoted 4 lines · Andrew Lunn

Kernelci now has two boards with Ethernet switches supported by DSA. Enable DSA and the switch drivers so we get some boot testing.

Any reason these can't be modules?

Nodules should work, not that i test it very often.

I will respin as modules.

Andrew