diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2009-01-27 06:51:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-01 00:37:22 -0800 |
commit | 31f4574774e98aa275aeeee94f41ce042285ed8e (patch) | |
tree | b7e843691852eb3efd2b2409e791f7b77bf6ebb9 /lib/kasprintf.c | |
parent | d23f028a4ddce8b783c212bfe911d1d307ff3617 (diff) |
smsc911x: allow mac address to be saved before device reset
Some platforms (for example pcm037) do not have an EEPROM fitted,
instead storing their mac address somewhere else. The bootloader
fetches this and configures the ethernet adapter before the kernel is
started.
This patch allows a platform to indicate to the driver via the
SMSC911X_SAVE_MAC_ADDRESS flag that the mac address has already been
configured via such a mechanism, and should be saved before resetting
the chip.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions