diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2024-08-07 12:01:24 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-08-15 18:20:49 +0200 |
commit | 24c2e04e9a3b53bc8a57ac4a7a89d8da8e4feb72 (patch) | |
tree | d40c8c995b4294a98ff01d3873025e7f8d711dbc /shell-completion | |
parent | Merge pull request #34000 from yuwata/test-remove-temporary-directories (diff) | |
download | systemd-24c2e04e9a3b53bc8a57ac4a7a89d8da8e4feb72.tar.xz systemd-24c2e04e9a3b53bc8a57ac4a7a89d8da8e4feb72.zip |
udev-builtin-net_id: add NAMING_DEVICETREE_PORT_ALIASES to check of_node of netdevs before their parents
The net_id builtin only checked the of_node of a netdev's parent device,
not that of the netdev itself. While it is common that netdevs don't have
an OF node assigned themselves, as they are derived from some parent
device, this is not always the case. In particular when a single
controller provides multiple ports that can be referenced indiviually in
the Device Tree (both for aliases/MAC address assignment and phandle
references), the correct of_node will be that of the netdev itself, not
that of the parent, so it needs to be checked, too.
A new naming scheme flag NAMING_DEVICETREE_PORT_ALIASES is added to
allow selecting the new behavior.
Diffstat (limited to 'shell-completion')
0 files changed, 0 insertions, 0 deletions