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)
committerDavid Daney <david.daney@cavium.com>
Fri, 31 Aug 2012 18:49:54 +0000 (11:49 -0700)
commitf321238b17040ce9ba671d5aff7ad540c6c6ace4
tree022122d6886e3bb8b78fe58a3c0e3703bf913d12
parent052958e347a0219313730ee7c437edfab0611ec1
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>
Acked-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/octeon/octeon_mgmt.c