]> git.baikalelectronics.ru Git - kernel.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)
commit34366fb0d05334225fd0b246d589b465c847ce1a
tree39cbaab85b46754c4971ed5d39d80a7ee0b67b2c
parentb4995d2db76d3fc2a0b879fd416f7ea5ca212fe6
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