modemmanager: fix blacklist rules for Ethernet interfaces on ccmp13 platform

This commit fixes the Ethernet entries to prevent ModemManager from trying to
manage it:
    ModemManager[177]: <info>  [base-manager] couldn't check support for device
     '/sys/devices/platform/soc/5800a000.eth1': not supported by any plugin

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2022-10-27 17:47:45 +02:00
parent 0eb0f15e7b
commit 0001e6608d
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ ACTION!="add|change|move|bind", GOTO="mm_net_device_blacklist_end"
# this way rather than other rules such as KERNEL, so be careful when modifying # this way rather than other rules such as KERNEL, so be careful when modifying
# Remove Ethernet interfaces from ModemManager probing # Remove Ethernet interfaces from ModemManager probing
SUBSYSTEM=="net", DEVPATH=="/devices/platform/soc/5800a000.ethernet*", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="net", DEVPATH=="/devices/platform/soc/5800a000.eth1*", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="net", DEVPATH=="/devices/platform/soc/5800e000.ethernet*", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="net", DEVPATH=="/devices/platform/soc/5800e000.eth2*", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1"
# Remove MMC interfaces from ModemManager probing # Remove MMC interfaces from ModemManager probing
SUBSYSTEM=="net", DEVPATH=="/devices/platform/soc/58005000.sdmmc/mmc_host*", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1" SUBSYSTEM=="net", DEVPATH=="/devices/platform/soc/58005000.sdmmc/mmc_host*", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1"