aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt288x/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-07-20 22:00:10 +0200
committerDavid Bauer <mail@david-bauer.net>2021-07-22 04:32:28 +0200
commitb30924873062be47250e6b872347461c8221688d (patch)
tree4afc2631224c4a6e469d85f646a3be32ca717ada /target/linux/ramips/rt288x/base-files/etc/board.d/02_network
parent089c2bb2178daa144baa2e3ed20a55fb9a5c11ab (diff)
downloadupstream-master.tar.gz
upstream-master.tar.bz2
upstream-master.zip
generic: add mac-address property for NVMEM mac addressesHEADmaster
Traversing the device-tree by referencing a network device to determine a devices labe-mac does not work with the generic nvmem implementation, as the userspace expects the MAC-address to be available as a device-tree property. The legacy mtd-mac-address implementation did create such a node. Do the same when using the nvmem implementation to allow reading the MAC address. Fixes commit d284e6ef0f06 ("treewide: convert mtd-mac-address-increment* to generic implementation") Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips/rt288x/base-files/etc/board.d/02_network')
0 files changed, 0 insertions, 0 deletions
color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# minimal device table file for OpenWrt

#<name>		<type>	<mode>	<uid>	<gid>	<major>	<minor>	<start>	<inc>	<count>
/dev		d	755	0	0	-	-	-	-	-
/dev/console	c	600	0	0	5	1	0	0	-