linux/drivers/net/ethernet/xilinx
Tobias Klauser 0620547276 net: ll_temac: Utilize of_get_mac_address()
Do not open code getting the MAC address exclusively from the
"local-mac-address" property, but instead use of_get_mac_address()
which looks up the MAC address using the 3 typical property names.

Also avoid casting away the const qualifier of the return value by
making temac_init_mac_address() take a const void* address.

Follows commit b34296a9c0 ("net: ethoc: Utilize
of_get_mac_address()").

Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-08 11:34:03 -05:00
..
Kconfig net: ethernet: xilinx: Enable emaclite for MIPS 2016-09-08 16:06:37 -07:00
ll_temac_main.c net: ll_temac: Utilize of_get_mac_address() 2016-12-08 11:34:03 -05:00
ll_temac_mdio.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
ll_temac.h net: ethernet: ll_temac: use phydev from struct net_device 2016-07-14 17:42:30 -07:00
Makefile drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver 2012-01-25 16:59:47 -05:00
xilinx_axienet_main.c net: axienet: Utilize of_get_mac_address() 2016-12-08 11:34:03 -05:00
xilinx_axienet_mdio.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
xilinx_axienet.h net: ethernet: xilinx: axienet: use phydev from struct net_device 2016-07-15 16:41:34 -07:00
xilinx_emaclite.c net: xilinx: emaclite: Fallback to random MAC address. 2016-08-20 22:11:29 -07:00