]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netdev: octeon_mgmt: Cleanup and modernize MAC address handling.
authorDavid Daney <david.daney@cavium.com>
Tue, 21 Aug 2012 18:45:10 +0000 (11:45 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 23 Aug 2012 07:12:43 +0000 (09:12 +0200)
commit979ab5d0b030fc530ea7645fb09f90f52f5207d8
tree07bb81275cca94cd5a7594f60839b364232ec567
parentb9e9636e7436608b16d50b41f4a2e6efb431ee62
netdev: octeon_mgmt: Cleanup and modernize MAC address handling.

Use eth_mac_addr(), and generate a random address if none is otherwise
assigned.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Patchwork: https://patchwork.linux-mips.org/patch/4287/
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/net/ethernet/octeon/octeon_mgmt.c