diff options
author | Laurent Pinchart <laurentp@cse-semaphore.com> | 2008-07-23 17:41:52 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-08-07 02:22:54 -0400 |
commit | fe414248551e2880fe8913577699003ff145ab9d (patch) | |
tree | d775ad642b3bed42659956f2ddac3f8e382c6c35 /include/linux/dm9000.h | |
parent | 9a5d3414202a21ed4b053657345ea0fd492d513a (diff) | |
download | blackbird-op-linux-fe414248551e2880fe8913577699003ff145ab9d.tar.gz blackbird-op-linux-fe414248551e2880fe8913577699003ff145ab9d.zip |
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>
Diffstat (limited to 'include/linux/dm9000.h')
-rw-r--r-- | include/linux/dm9000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dm9000.h b/include/linux/dm9000.h index fc82446b6425..c30879cf93bc 100644 --- a/include/linux/dm9000.h +++ b/include/linux/dm9000.h @@ -27,6 +27,7 @@ struct dm9000_plat_data { unsigned int flags; + unsigned char dev_addr[6]; /* allow replacement IO routines */ |