commit | c527ce92511cbf723c2ca77bee1cf9ecf83dac81 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Wed Feb 11 19:14:09 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Fri Mar 20 22:39:11 2009 +0100 |
tree | 90a981552d474d6e7d24f1ace37751ea21e004cf | |
parent | 0a5238cea90665c230297a8fd77bb0b3b61ca177 [diff] |
sh_eth: 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. The sh_eth driver can also be simplified a bit by using enetaddr member of the eth_device structure. Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Carlos Munoz <carlos@kenati.com> CC: Ben Warren <biggerbadderben@gmail.com>