mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-08 19:40:34 +01:00
platform: treat dsa devices as regular wired ethernet
https://bugzilla.redhat.com/show_bug.cgi?id=1371289
This commit is contained in:
parent
71b5cc3682
commit
5c2ee8b26e
1 changed files with 4 additions and 0 deletions
|
|
@ -826,6 +826,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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue