]> git.baikalelectronics.ru Git - kernel.git/commit
dm9000: Support MAC address setting through platform data.
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Wed, 23 Jul 2008 15:41:52 +0000 (17:41 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 7 Aug 2008 06:22:54 +0000 (02:22 -0400)
commitbbf59bc9cf097bc0d38c10af8807c0bbab433568
treed775ad642b3bed42659956f2ddac3f8e382c6c35
parent3ce8656e969c56ef4bd0b1b9148775243521993a
dm9000: Support MAC address setting through platform data.

The dm9000 driver reads the chip's MAC address from the attached EEPROM. When
no EEPROM is present, or when the MAC address is invalid, it falls back to
reading the address from the chip.

This patch lets platform code set the desired MAC address through platform
data.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/dm9000.c
include/linux/dm9000.h