From 51c7520752d09c2d3a5c7e19b9a5d86b889ed456 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 5 Oct 2017 22:35:25 +0200 Subject: [PATCH] platform: treat dsa devices as regular wired ethernet https://bugzilla.redhat.com/show_bug.cgi?id=1371289 (cherry picked from commit 5c2ee8b26e540e0afaae2063d6e6121f9dce7c7f) --- src/platform/nm-linux-platform.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 6b84c185f..8b59cec45 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -762,6 +762,10 @@ _linktype_get_type (NMPlatform *platform, * aside from the DEVTYPE. */ if (!g_strcmp0 (devtype, "gadget")) return NM_LINK_TYPE_ETHERNET; + + /* Distributed Switch Architecture switch chips */ + if (!g_strcmp0 (devtype, "dsa")) + return NM_LINK_TYPE_ETHERNET; } } -- 2.13.6