diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-08-09 17:45:12 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2019-08-14 12:10:12 +0200 |
commit | 75bfc393ba6cffd783e723d3115c25b70836c116 (patch) | |
tree | c3dc6d8b544ec5b5e4bb4d6c33f323d43cb0e8fc /target/linux/ipq40xx/base-files/etc/board.d/02_network | |
parent | 07926d7def59e5684b488e9b614342edc19e7eb2 (diff) | |
download | upstream-75bfc393ba6cffd783e723d3115c25b70836c116.tar.gz upstream-75bfc393ba6cffd783e723d3115c25b70836c116.tar.bz2 upstream-75bfc393ba6cffd783e723d3115c25b70836c116.zip |
treewide: convert MAC address location offsets to hexadecimal
This changes the offsets for the MAC address location in
mtd_get_mac_binary* and mtd_get_mac_text to hexadecimal notation.
This will be much clearer for the reader when numbers are big, and
will also match the style used for mtd-mac-address in DTS files.
(e.g. 0x1006 and 0x5006 are much more useful than 4102 and 20486)
Acked-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ipq40xx/base-files/etc/board.d/02_network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 6a7b09cc60..e5ba7260f3 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -74,8 +74,8 @@ ipq40xx_setup_macs() case "$board" in asus,rt-ac58u) CI_UBIPART=UBI_DEV - wan_mac=$(mtd_get_mac_binary_ubi Factory 20486) - lan_mac=$(mtd_get_mac_binary_ubi Factory 4102) + wan_mac=$(mtd_get_mac_binary_ubi Factory 0x5006) + lan_mac=$(mtd_get_mac_binary_ubi Factory 0x1006) ;; engenius,ens620ext) wan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) |