openwrt/package/base-files/files
Martin Kennedy b688bf83f9 base-files: rename ethernet devs on known boards
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>
2022-09-10 21:16:20 +02:00
..
bin base-files: support "metric" in board.json 2022-09-10 16:58:01 +02:00
etc base-files: LED/trigger/heartbeat: Add support for inversion 2022-08-06 19:58:46 +02:00
lib base-files: rename ethernet devs on known boards 2022-09-10 21:16:20 +02:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: allow ignoring minor compat-version check 2022-06-18 22:11:04 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00