]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
Staging: octeon-ethernet: Assign proper MAC addresses.
authorDavid Daney <ddaney@caviumnetworks.com>
Mon, 12 Oct 2009 19:04:32 +0000 (12:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Nov 2009 18:55:34 +0000 (18:55 +0000)
commit13c5939e42dc11da61e00fef7f6cca2a6824a59f
tree39cbaab85b46754c4971ed5d39d80a7ee0b67b2c
parentaabb89d6fa4c70d77fe180ee794f857decde4010
Staging: octeon-ethernet: Assign proper MAC addresses.

Allocate MAC addresses using the same method as the bootloader.  This
avoids changing the MAC between bootloader and kernel operation as
well as avoiding duplicates and use of addresses outside of the
assigned range.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/staging/octeon/ethernet.c