diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-11 19:04:25 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-20 22:39:10 +0100 |
commit | c4b8762f11d337e6a9d90c227b2871d65d372469 (patch) | |
tree | 5079ad627d9dba3d460276bba36a7f26de35bd06 /drivers/net/bcm570x_lm.h | |
parent | d3f871482f06f6a4eaf4a3fafde84846bad87b4f (diff) | |
download | u-boot-imx-c4b8762f11d337e6a9d90c227b2871d65d372469.zip u-boot-imx-c4b8762f11d337e6a9d90c227b2871d65d372469.tar.gz u-boot-imx-c4b8762f11d337e6a9d90c227b2871d65d372469.tar.bz2 |
bcm570x: get mac address from environment
The environment is the canonical storage location of the mac address, so
we're killing off the global data location and moving everything to
querying the env directly.
Since the address is in the PLM_DEVICE_BLOCK structure already, there is
no need to pass the NodeAddress as a second parameter. So drop the second
argument to the LM_SetMacAddress() function (and update the tigon3 driver
accordingly).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/bcm570x_lm.h')
-rw-r--r-- | drivers/net/bcm570x_lm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bcm570x_lm.h b/drivers/net/bcm570x_lm.h index 2ea6ca8..c07b767 100644 --- a/drivers/net/bcm570x_lm.h +++ b/drivers/net/bcm570x_lm.h @@ -371,7 +371,7 @@ LM_STATUS LM_Abort (PLM_DEVICE_BLOCK pDevice); LM_STATUS LM_MulticastAdd (PLM_DEVICE_BLOCK pDevice, PLM_UINT8 pMcAddress); LM_STATUS LM_MulticastDel (PLM_DEVICE_BLOCK pDevice, PLM_UINT8 pMcAddress); LM_STATUS LM_MulticastClear (PLM_DEVICE_BLOCK pDevice); -LM_STATUS LM_SetMacAddress (PLM_DEVICE_BLOCK pDevice, PLM_UINT8 pMacAddress); +LM_STATUS LM_SetMacAddress (PLM_DEVICE_BLOCK pDevice); LM_STATUS LM_LoopbackAddress (PLM_DEVICE_BLOCK pDevice, PLM_UINT8 pAddress); LM_UINT32 LM_GetCrcCounter (PLM_DEVICE_BLOCK pDevice); |