lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 10 May 2019 20:16:31 +0200
From:   Andrew Lunn <>
To:     Andy Duan <>
Cc:     "" <>,
        "" <>,
        "" <>,
        "" <>,
        "" <>
Subject: Re: [PATCH net 1/3] net: ethernet: add property "nvmem_macaddr_swap"
 to swap macaddr bytes order

On Fri, May 10, 2019 at 08:24:00AM +0000, Andy Duan wrote:
> ethernet controller driver call .of_get_mac_address() to get
> the mac address from devictree tree, if these properties are
> not present, then try to read from nvmem.
> For example, read MAC address from nvmem:
> of_get_mac_address()
> 	of_get_mac_addr_nvmem()
> 		nvmem_get_mac_address()
> i.MX6x/7D/8MQ/8MM platforms ethernet MAC address read from
> nvmem ocotp eFuses, but it requires to swap the six bytes
> order.
> The patch add optional property "nvmem_macaddr_swap" to swap

Please use nvmem-macaddr-swap. It is very unusal to use _ in property


Powered by blists - more mailing lists