mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
b688bf83f9
Some platforms lack an established way to name netdevs; for example, on x86, PCIe-based ethernet interfaces will be named starting from eth0 in the order they are probed. This is a problem for many devices supported explicitly by OpenWrt which have hard-wired, standalone or on-CPU NICs not supported by DSA (which is usually used to rename the ports based on their ostensible function). To fix this, add a mapping between ethernet device name and sysfs device path to board.json; this allows us to configure ethernet device names we know about for a given board so that they correspond to external labeling. Signed-off-by: Martin Kennedy <hurricos@gmail.com> |
||
---|---|---|
.. | ||
02_default_set_state | ||
02_sysinfo | ||
10_indicate_failsafe | ||
10_indicate_preinit | ||
30_failsafe_wait | ||
40_run_failsafe_hook | ||
50_indicate_regular_preinit | ||
70_initramfs_test | ||
80_mount_root | ||
99_10_failsafe_login | ||
99_10_run_init |